Skip to content

Commit

Permalink
remove bpf_printk
Browse files Browse the repository at this point in the history
  • Loading branch information
YoannGh committed Nov 18, 2022
1 parent 672ca14 commit 610cba4
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion ebpf/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ struct sound_note {
};

long __attribute__((always_inline)) push_sound_note(void *ctx, struct sound_note *n) {
bpf_printk("pushing note to perf buffer\n");
u32 cpu = bpf_get_smp_processor_id();
return bpf_perf_event_output(ctx, &notes, cpu, n, sizeof(*n));
}
Expand Down

0 comments on commit 610cba4

Please sign in to comment.