Bug 2101571 - Various bpftrace scripts and commands don't work because of errors
Summary: Various bpftrace scripts and commands don't work because of errors
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: bpftrace
Version: 36
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Augusto Caringi
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-06-27 20:41 UTC by Chris Siebenmann
Modified: 2022-09-15 01:54 UTC (History)
5 users (show)

Fixed In Version: bpftrace-0.16.0-1.fc36
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-09-15 01:54:19 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github iovisor bpftrace issues 2222 0 None open Join broken by LLVM 14 2022-06-27 20:41:03 UTC

Description Chris Siebenmann 2022-06-27 20:41:03 UTC
Description of problem:
Apparently any bpftrace script or argument that uses join() doesn't work. This is apparently an underlying LLVM 14 issue and is known upstream in https://github.com/iovisor/bpftrace/issues/2222


Version-Release number of selected component (if applicable):
bpftrace-0.14.1-1.fc36.x86_64
llvm-14.0.0-1.fc36.x86_64

How reproducible:
100%

Steps to Reproduce:
1. Run /usr/share/bpftrace/tools/execsnoop.bt
2. alternately run: bpftrace -e 'tracepoint:syscalls:sys_enter_execve { join(args->argv); }'

Actual results:

Attaching 3 probes...
ERROR: Error loading program: tracepoint:syscalls:sys_enter_execve (try -v)

(the bpftrace -e gets 'Attaching 1 probe' but the same error.)

Expected results:
Reports of exec system calls happening.

Comment 1 Fedora Update System 2022-09-06 22:35:14 UTC
FEDORA-2022-bb2c022f99 has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2022-bb2c022f99

Comment 2 Fedora Update System 2022-09-07 10:51:02 UTC
FEDORA-2022-bb2c022f99 has been pushed to the Fedora 36 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2022-bb2c022f99`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-bb2c022f99

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 3 Fedora Update System 2022-09-15 01:54:19 UTC
FEDORA-2022-bb2c022f99 has been pushed to the Fedora 36 stable repository.
If problem still persists, please make note of it in this bug report.


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