-
Epic
-
Resolution: Unresolved
-
Undefined
-
None
-
None
-
None
-
perf: kernel Rust support
-
rhel-kernel-tracing-perf
-
None
-
False
-
False
-
-
None
-
None
-
None
-
None
-
Unspecified
-
Unspecified
-
Unspecified
This epic is to track work and tasks necessary on either RHEL or upstream side to support monitoring of Rust kernel functions using perf.
At the moment, this support is very much limited. Perf contains basic support for Rust symbol demangling.
One of the main issues is that while Rust functions are present (in a mangled form) in /proc/kallsyms, they are not listed in /sys/kernel/tracing/available_filter_functions and seem to be marked as "notrace". This prevents attaching to them via kprobes using perf events (attempt to create a kprobe fails with "Could not probe notrace function ...").