Skip to content

Commit 839ccb7

Browse files
committed
allow parallel tracing via per-tracer maps
- implement parallel tracing by installing a ringbuf and missed_event counter per tracer these are indexed by tracer pid in a map-of-maps. - added missed event output file.
1 parent 8cdd8fe commit 839ccb7

7 files changed

Lines changed: 295 additions & 150 deletions

File tree

build.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,14 +39,13 @@ fn main() -> Result<(), Box<dyn Error>> {
3939
arch
4040
}
4141
);
42-
4342
let include_flag = format!("-I/usr/include/{}-linux-gnu", arch);
4443
SkeletonBuilder::new()
4544
.source("src/bpf/hs_trace.bpf.c")
4645
.debug(true)
4746
.clang("clang")
4847
.clang_args([
49-
"-D __BPF_TRACING__",
48+
"-D__BPF_TRACING__",
5049
&arch_flag,
5150
&target_arch_flag,
5251
"-Wall",

0 commit comments

Comments
 (0)