Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-118555

Support monitoring Rust functions with perf

Linking RHIVOS CVEs to...Migration: Automation ...SWIFT: POC ConversionSync from "Extern...XMLWordPrintable

    • None
    • perf: kernel Rust support
    • rhel-kernel-tracing-perf
    • None
    • False
    • False
    • Hide

      None

      Show
      None
    • 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 ...").

              mpetlan@redhat.com Michael Petlan
              vmalik@redhat.com Viktor MalĂ­k
              Michael Petlan Michael Petlan
              Qiao Zhao Qiao Zhao
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated: