Hi,
I am trying to track the scheduling events of a particular process using the static tracepoint: sched_switch. A map entry is updated for each context switch, which is working fine, however some of the events are missed while printing the value using bpf_trace_printk() (Each context switch updates the value by '1', however sometimes the output printed is not continuous). What could be the reason? Why is it given that PERF_OUTPUT is better than bpf_trace_printk? Is there any way to use PERF_OUTPUT with static tracepoints? Many Thanks, Reena
_______________________________________________ iovisor-dev mailing list iovisor-dev@lists.iovisor.org https://lists.iovisor.org/mailman/listinfo/iovisor-dev