Skip to content

Commit

Permalink
fix: SKIP_FRAMES back to 0
Browse files Browse the repository at this point in the history
  • Loading branch information
tanelpoder committed Jul 12, 2024
1 parent 33fde0f commit d880ea5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/xcapture-bpf.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
// don't need EIP value for basic stack trace analysis (deduplicate some stackids)
// unfortunately SKIP_FRAMES 1 "skips" both the EIP value and one stack frame...
// #define SKIP_FRAMES (1 & BPF_F_SKIP_FIELD_MASK)
#define SKIP_FRAMES 1
#define SKIP_FRAMES 0

// need to test if using BPF_STACK_TRACE_BUILDID would optimize things
// (apparently need separate stackmaps for ustacks & kstacks then)
Expand Down

0 comments on commit d880ea5

Please sign in to comment.