Bug 2121037

Summary: kernelshark unable to read trace.dat
Product: [Fedora] Fedora Reporter: Bruno Wolff III <bruno>
Component: libtracecmdAssignee: Zamir SUN <sztsian>
Status: CLOSED ERRATA QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: jmarchan, skozina, sztsian
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: libtracecmd-1.1.3-3.fc38 libtracecmd-1.1.3-4.fc37 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-09-08 15:00:28 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 Bruno Wolff III 2022-08-24 10:32:19 UTC
Description of problem:
I was unable to get kernelshark to read trace.dat from a dump of mac80211.

Version-Release number of selected component (if applicable):

kernelshark-2.1.0-2.fc37.x86_64

How reproducible:
On that file it happened repeatably.

Steps to Reproduce:
1. trace-cmd record -e mac80211 (as root)
2. kernelshark (as normal user with read access to trace.dat)
3.

Actual results:
[bruno@laptop1 ~]$ kernelshark
loading plugin "sched_events" from /usr/lib64/kernelshark/plugins/plugin-sched_events.so
loading plugin "event_field_plot" from /usr/lib64/kernelshark/plugins/plugin-event_field_plot.so
loading plugin "latency_plot" from /usr/lib64/kernelshark/plugins/plugin-latency_plot.so
loading plugin "kvm_combo" from /usr/lib64/kernelshark/plugins/plugin-kvm_combo.so
loading plugin "missed_events" from /usr/lib64/kernelshark/plugins/plugin-missed_events.so
Loading  "trace.dat"
version = 7
libtracecmd: No such file or directory
  Unsupported file compression zstd 1.5.2
ERROR: -17 while opening file  "trace.dat"
ERROR: File trace.dat contains no data.


Expected results:


Additional info:
libtracecmd is installed.

Comment 1 Fedora Update System 2022-09-08 14:57:24 UTC
FEDORA-2022-2ffb2d1bdd has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2022-2ffb2d1bdd

Comment 2 Fedora Update System 2022-09-08 15:00:28 UTC
FEDORA-2022-2ffb2d1bdd has been pushed to the Fedora 38 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 3 Fedora Update System 2022-09-08 15:26:51 UTC
FEDORA-2022-e222b2c80a has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2022-e222b2c80a

Comment 4 Fedora Update System 2022-09-09 10:09:01 UTC
FEDORA-2022-e222b2c80a has been pushed to the Fedora 37 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-e222b2c80a`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-e222b2c80a

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

Comment 5 Fedora Update System 2022-09-14 00:21:48 UTC
FEDORA-2022-e222b2c80a has been pushed to the Fedora 37 stable repository.
If problem still persists, please make note of it in this bug report.