emit BTF data using -g flag

This commit is contained in:
Pragyansh Chaturvedi
2025-09-07 17:22:24 +05:30
parent acfb8b4424
commit 734a49b295
2 changed files with 5 additions and 5 deletions

View File

@ -11,7 +11,7 @@ struct {
__type(value, u64);
} last SEC(".maps");
SEC("kprobe/YOUR_PROBE_POINT") // Replace with actual probe point
SEC("kprobe/sys_clone") // Replace with actual probe point
int do_trace(struct pt_regs *ctx) {
u64 ts, *tsp, delta, key = 0;