5–7 Oct 2026
Europe/Prague timezone

Probe events with typecast using BTF

Not scheduled
20m
Tracing MC Tracing MC

Speaker

Mr Masami Hiramatsu (Google)

Description

BTF fetcharg has been introduced since v6.5 for fprobe and kprobe events for fetching function parameters by name, and now we intrdouced typecast feature for BTF. This typecast feature is not only casting type, but also, the series supports nested typecasts, container_of(), this_cpu_ptr(), and "current" task structure access. With these features, we can access more context local data from dynamic trace events.
I would like to show how you can use these features and discuss what features we can provide with BTF, what limitations we have now etc.

Author

Mr Masami Hiramatsu (Google)

Presentation materials

There are no materials yet.