Bug 2121037 - kernelshark unable to read trace.dat
Summary: kernelshark unable to read trace.dat
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: libtracecmd
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Zamir SUN
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-08-24 10:32 UTC by Bruno Wolff III
Modified: 2022-09-14 00:21 UTC (History)
3 users (show)

Fixed In Version: libtracecmd-1.1.3-3.fc38 libtracecmd-1.1.3-4.fc37
Clone Of:
Environment:
Last Closed: 2022-09-08 15:00:28 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


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