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 - Please, backport periodic.stp from current upstream aacee6563.
Summary: Please, backport periodic.stp from current upstream aacee6563.
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: systemtap
Version: 8.0
Hardware: Unspecified
OS: Linux
low
low
Target Milestone: rc
: 8.0
Assignee: Frank Ch. Eigler
QA Contact: Martin Cermak
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-12-10 15:38 UTC by Martin Cermak
Modified: 2019-06-14 02:06 UTC (History)
4 users (show)

Fixed In Version: systemtap-4.0-6
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-06-14 02:06:22 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

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 .


Note You need to log in before you can comment on or make changes to this bug.