summaryrefslogtreecommitdiff
path: root/src/trace/root.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/trace/root.zig')
-rw-r--r--src/trace/root.zig24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/trace/root.zig b/src/trace/root.zig
new file mode 100644
index 0000000..62a9fa7
--- /dev/null
+++ b/src/trace/root.zig
@@ -0,0 +1,24 @@
+//! ztrace: one event format, many ways to produce it, one recording.
+pub const event = @import("event.zig");
+pub const Event = event.Event;
+pub const Kind = event.Kind;
+pub const Regs = event.Regs;
+pub const Sink = event.Sink;
+pub const Ring = @import("Ring.zig");
+pub const store = @import("store.zig");
+pub const Recorder = store.Recorder;
+pub const Trace = store.Trace;
+pub const ptrace = @import("ptrace.zig");
+/// Inside the target: the ring it was handed.
+pub const client = @import("client.zig");
+/// Inside the tracer: a target running with a ring.
+pub const host = @import("host.zig");
+
+test {
+ _ = event;
+ _ = Ring;
+ _ = store;
+ _ = ptrace;
+ _ = client;
+ _ = host;
+}