Description of problem: "perf record" can't find symbols for any kernel modules. Version-Release number of selected component (if applicable): kernel-3.17.3-300.fc21.x86_64 How reproducible: Always reproducible, at least if you get a sample in any module. I'll use glxgears below to make sure at least the gpu modules are active. Steps to Reproduce: 1. perf record timeout 5 glxgears Actual results: [ perf record: Woken up 1 times to write data ] [ perf record: Captured and wrote 0.025 MB perf.data (~1074 samples) ] [i915] with build id 9f166b3cb543517df3925301cf6576b3a6e12a03 not found, continuing without symbols [drm] with build id babca98f71e2f3096913c68ac09f2903fd7090b8 not found, continuing without symbols Expected results: No "continuing without symbols". Additional info: Starting in F21, modules are compressed by the "zipmodules" flag in kernel.spec. All modules in the rpm package are now xz compressed, named like "foo.ko.xz". I confirmed that if I manually uncompress them, perf is fine. find /lib/modules/$(uname -r) -name \*.ko.xz -exec xz -d -k {} \;
*********** MASS BUG UPDATE ************** We apologize for the inconvenience. There are a large number of bugs to go through and several of them have gone stale. Due to this, we are doing a mass bug update across all of the Fedora 21 kernel bugs. Fedora 21 has now been rebased to 3.18.3-201.fc21. Please test this kernel update (or newer) and let us know if you issue has been resolved or if it is still present with the newer kernel. If you experience different issues, please open a new bug report for those.
Still present: $ uname -r 3.18.3-201.fc21.x86_64 $ rpm -q perf perf-3.18.3-201.fc21.x86_64 $ perf record timeout 5 glxgears Running synchronized to the vertical refresh. The framerate should be approximately the same as the monitor refresh rate. [ perf record: Woken up 1 times to write data ] [ perf record: Captured and wrote 0.022 MB perf.data (~973 samples) ] [i915] with build id d8d6cd063a249cb7728321ca9073943fa37223af not found, continuing without symbols [drm] with build id 12b17d384c83956085bb428c7131efde5388b2e8 not found, continuing without symbols
posted upstream: http://marc.info/?l=linux-kernel&m=142539661524455&w=2
*********** MASS BUG UPDATE ************** We apologize for the inconvenience. There is a large number of bugs to go through and several of them have gone stale. Due to this, we are doing a mass bug update across all of the Fedora 21 kernel bugs. Fedora 21 has now been rebased to 3.19.5-200.fc21. Please test this kernel update (or newer) and let us know if you issue has been resolved or if it is still present with the newer kernel. If you have moved on to Fedora 22, and are still experiencing this issue, please change the version to Fedora 22. If you experience different issues, please open a new bug report for those.
This should be fixed with 4.1.
I missed testing 4.1, but it doesn't look right on 4.2: $ uname -r 4.2.3-200.fc22.x86_64 $ rpm -q perf perf-4.2.3-200.fc22.x86_64 $ perf record timeout 5 glxgears Running synchronized to the vertical refresh. The framerate should be approximately the same as the monitor refresh rate. [ perf record: Woken up 1 times to write data ] [i915] with build id abf25e5c7c81d8d27299db3b96fea5661620544b not found, continuing without symbols [drm] with build id b1e9407faa0c8a262b6526160da334851465d1f7 not found, continuing without symbols [ perf record: Captured and wrote 0.037 MB perf.data (603 samples) ]
Aha, just updated to F23, and it does work there. It appears the f23 and master branches of dist-git have added xz-devel to BuildRequires, but not in f22 or f21.
(In reply to Josh Stone from comment #7) > Aha, just updated to F23, and it does work there. It appears the f23 and > master branches of dist-git have added xz-devel to BuildRequires, but not in > f22 or f21. So the spec file for F22 needs the update? Could we assign this to the master who fixed this for F23? I've never touched Fedora's kernel spec file.. ;-) thanks
Justin fixed it last night in Fedora git on f22. I'll get to f21 today. Feel free to assign it to me if you want.
Yes, it's just a spec update. Thanks guys!
kernel-4.1.13-100.fc21 has been submitted as an update to Fedora 21. https://bodhi.fedoraproject.org/updates/FEDORA-2015-f2c534bc12
kernel-4.1.13-100.fc21 has been pushed to the Fedora 21 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with $ su -c 'dnf --enablerepo=updates-testing update kernel' You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-f2c534bc12
kernel-4.1.13-100.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report.