summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-11-10 11:47:26 -0300
committerGabriel Schneider <[email protected]>2026-11-10 11:47:39 -0300
commitf15f4670991110829dcf123625c049224eba9838 (patch)
treeffdbf217f2e91060c2f299b0088d5bef3ade1fd5
parent5f1f95098611b077bd7e0ca27283fa0e02d1adbc (diff)
downloadcomputeranim-f15f4670991110829dcf123625c049224eba9838.tar.gz
computeranim-f15f4670991110829dcf123625c049224eba9838.zip
canim is a package of its own, anim/: ztrace builds without sketchbook and pardes
-rw-r--r--README.md4
-rw-r--r--build.zig1
-rw-r--r--build/anim.zig5
3 files changed, 3 insertions, 7 deletions
diff --git a/README.md b/README.md
index ec54259..38c7658 100644
--- a/README.md
+++ b/README.md
@@ -10,6 +10,7 @@ Two things that meet at a file:
```sh
zig build # zig-out/bin/ztrace
zig build test # everything; test-<area> for one
+zig build bench-store # what a recording costs a moment
ztrace record -o fib.ztrace -- ./fib 10 # under ptrace, an instruction a moment
ztrace record --syscalls -- ls / # ... or a syscall a moment
ztrace run --preload libztrace-agent.so -- ./prog # in-process, no ptrace
@@ -28,7 +29,8 @@ ztrace dump fib.ztrace
| `src/agent/` | the in-process backend: a library preloaded or linked into the target |
| `llvm/` | compiler instrumentation and its runtime |
| `src/trace/kernel*` | perf events and BPF |
-| `src/anim/`, `scenes/` | the animation library and its scenes |
+| `anim/` | canim, a package of its own (it needs sketchbook and pardes; ztrace does not): the animation library and its scenes |
+| `design/` | the visual system the animations follow, with mock frames |
| `src/cli/` | the `ztrace` command, a file a subcommand |
| `targets/` | programs to trace |
| `build/` | each area's part of the build |
diff --git a/build.zig b/build.zig
index c740c5b..e49bb65 100644
--- a/build.zig
+++ b/build.zig
@@ -93,5 +93,4 @@ pub fn build(b: *std.Build) void {
@import("build/agent.zig").add(ctx);
@import("build/llvm.zig").add(ctx);
@import("build/kernel.zig").add(ctx);
- @import("build/anim.zig").add(ctx);
}
diff --git a/build/anim.zig b/build/anim.zig
deleted file mode 100644
index d3c7eb3..0000000
--- a/build/anim.zig
+++ /dev/null
@@ -1,5 +0,0 @@
-const Ctx = @import("../build.zig").Ctx;
-
-pub fn add(ctx: Ctx) void {
- _ = ctx;
-}