Back To Schedule
Wednesday, October 28 • 17:30 - 17:40
Lightning Talk: Unravelling the Linux Kernel Using BPF Raw Tracepoints - Abhijit Singh, Uber

Sign up or log in to save this to your schedule, view media, leave feedback and see who's attending!

Feedback form is now closed.
This talk aims at presenting the potential of BPF raw tracepoints. In a static tracepoints present in the Linux kernel, a dynamic tracer like ftrace or kprobe+bpf, might not get desired information about arguments passed in the tracepoint(e.g. many fields related to the task_switch struct aren't accessible such as nvcsw and nivcsw in the sched_switch tracepoint). With the introduction of BPF raw tracepoints, we can create a BPF program which can investigate each argument being passed to the tracepoint upon its invocation. The talk will commence with the rationale to introduce a raw BPF tracepoint. It would then present the signature of the BPF_RAW_TRACEPOINT api. It would also present a couple of example BPF programs which use raw tracepoints. 1) a program which prints the arguments being passed to the openat system call 2) a program which calculates total involuntary context switches, voluntary context switches over time for a system The talk would also highlight the low performance overhead of raw tracepoint as compared to other tracing infrastructure like kprobe+bpf.

avatar for Abhijit Singh

Abhijit Singh

Software Engineer, Uber
I'm a software engineer, currently working in Uber. Previously, I used to work as a Performance Engineer at Azul Systems where I conducted thorough performance analysis of JVM applications and the underlying systems. I'm a keen systems performance enthusiast and follow Linux kernel... Read More →

Wednesday October 28, 2020 17:30 - 17:40 GMT
Linux Systems Theater
  Linux Systems, Tracing