I've installed most recent debuginfo on a recent fedora for perfing especially for kernel vars.
Am at the end of my tether. I must me doing something stupidly wrong, since checking around I saw no further complaints for most recent stable debug kernel out.
[root@fedora24 ~]# uname -r
4.9.7-101.fc24.x86_64+debug
This is what am mainly up to, injecting VAR probes. Looks a little convoluted, but have to point to vmlinux since of some perf path resolution bug.
[root@fedora24 ~]# perf probe -k /usr/lib/debug/usr/lib/modules/4.9.7-101.fc24.x86_64/vmlinux --add 'tc_modify_qdisc:20 clid'
Failed to find the path for kernel: Mismatching build id
Error: Failed to add events.
It's true:
[root@fedora24 ~]# perf buildid-list
d9e7ab1e71c82e23838ff6ef39adc891854b343e [kernel.kallsyms]
b33e1cebcbc9a01bf21fd788196dd38dac8cbef1 [vdso]
and for running kernel:
[root@fedora24 ~]# perf buildid-list -k
da80db1851d800a19338964a22f0d2d58ab45ec3
The ids do differ. But that's no surprise to me, and I've installed all that from main upstream fedora repo. Are they really offering differing code for debuginfo pkgs and their debug-kernel. That'd be odd!
I've tried purging pkgs and ignoring Build-Ids without success.
Really strange, and every input appreciated!
BR