Replies: 1 comment 2 replies
-
|
Probably emitted from https://github.com/torvalds/linux/blob/5472d60c129f75282d94ae5ad072ee6dfb7c7246/kernel/trace/trace.c#L4388-L4389 I think the general course of action is to increase buffer size and/or to make sure that event draining can keep up with event creation (and vice versa), as lost events would likely be the result of ring buffer overrun. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Trying to find out where in a BPF program certain tracelogs are coming from, as I'm not sure how to start.
While watching the output of
bpftool prog tracelog, and only while my program that uses libbpf-rs is running, the following appears repeatedly for a subset of my CPUs every few seconds:The BPF programs are here and here, but I can't even tell which one specifically is generating the events that are being lost.
I presume these
CPU:XX [LOST ... EVENTS]messages are coming from the eBPF VM or the kernel.Not seeing any obvious drops from either the perf event buffers or ring buffers we've set up via bpftool examination of the running programs.
How can I dig deeper?
Beta Was this translation helpful? Give feedback.
All reactions