Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1657857

Summary: Please, backport periodic.stp from current upstream aacee6563.
Product: Red Hat Enterprise Linux 8 Reporter: Martin Cermak <mcermak>
Component: systemtapAssignee: Frank Ch. Eigler <fche>
Status: CLOSED CURRENTRELEASE QA Contact: Martin Cermak <mcermak>
Severity: low Docs Contact:
Priority: low    
Version: 8.0CC: lberk, mcermak, mjw, wcohen
Target Milestone: rcFlags: pm-rhel: mirror+
Target Release: 8.0   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: systemtap-4.0-6 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-06-14 02:06: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 2018-12-10 15:38:33 UTC
The version of periodic.stp packaged in systemtap-4.0-5.el8 fails to pass through the parsing phase:

=======
 8.0 Server x86_64 # stap -vp2  /usr/share/systemtap/examples/profiling/periodic.stp
Pass 1: parsed user script and 475 library scripts using 185560virt/76884res/8864shr/67664data kb, in 420usr/60sys/475real ms.
semantic error: while processing probe kernel.trace("timer_expire_entry")

semantic error: unable to find member 'data' for struct timer_list (alternatives: flags, entry, expires, function): operator '->' at /usr/share/systemtap/examples/profiling/periodic.stp:20:26
        source:     data[$timer] = $timer->data
                                         ^

semantic error: unable to find member 'data' for struct timer_list (alternatives: flags, entry, expires, function): operator '->' at :20:26
        source:     data[$timer] = $timer->data
                                         ^

semantic error: unable to find member 'data' for struct timer_list (alternatives: flags, entry, expires, function): operator '->' at :20:26
        source:     data[$timer] = $timer->data
                                         ^

Pass 2: analyzed script: 3 probes, 12 functions, 5 embeds, 4 globals using 348524virt/241132res/10348shr/230628data kb, in 2160usr/1140sys/3332real ms.
Pass 2: analysis failed.  [man error::pass2]
(1)  8.0 Server x86_64 # rpm -q systemtap
systemtap-4.0-5.el8.x86_64
 8.0 Server x86_64 # 
=======

The bz1012133 shows user interest in periodic.stp.  The current upstream version aacee65 of that script looks fine.  Please, backport it.

Comment 1 Martin Cermak 2018-12-10 15:41:48 UTC
err ... s/parsing phase/elaboration phase/ ...

Comment 2 William Cohen 2018-12-10 16:54:03 UTC
Fix for periodic.stp should be in systemtap-4.0-6

Comment 4 Martin Cermak 2019-02-11 15:23:41 UTC
Fixed in systemtap-4.0-7.el8 .