Bug 1963037

Summary: sd_init_command() visible to perf, but not stap (rhel8, rhel9 / aarch64)
Product: Red Hat Enterprise Linux 8 Reporter: Martin Cermak <mcermak>
Component: systemtapAssignee: Frank Ch. Eigler <fche>
systemtap sub component: system-version QA Contact: qe-baseos-tools-bugs
Status: CLOSED DUPLICATE Docs Contact:
Severity: unspecified    
Priority: unspecified CC: lberk, mcermak, mjw
Version: 8.5   
Target Milestone: beta   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-05-21 16:53:22 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Martin Cermak 2021-05-21 08:45:37 UTC
On rhel8 (4.18.0-304.7.el8.kpq1.aarch64, systemtap-4.5-1.el8.aarch64) and rhel9 (5.12.0-1.el9.aarch64, systemtap-4.5-2.el9.aarch64) aarch64 only, kernel.function("sd_init_command") is visible to perf, but not to stap:

# perf probe --add sd_init_command
Added new event:
  probe:sd_init_command (on sd_init_command)

You can now use it in all perf tools, such as:

        perf record -e probe:sd_init_command -aR sleep 1

# stap -L 'kernel.function("sd_init_command")'
#

Comment 2 Martin Cermak 2021-05-21 12:38:23 UTC
One important addendum:  This only happens when using debuginfod.

Comment 5 Martin Cermak 2021-05-21 16:53:22 UTC

*** This bug has been marked as a duplicate of bug 1891509 ***