I'm using the "perf" tool from the "linux-perf-4.9" package. However, it contains a bug (https://lkml.org/lkml/2016/12/20/599) that was fixed in December 2016. As far as I can understand the fix has been in Mainline kernel since 4.9.2 and in the Rasbian kernel (atl least) since 4.9.24. But the perf tool in Rasbian (version 4.9.53) still has the bug.
The strange thing is that if I build the package from source:
And then run the resulting program, it works! So somehow the packaged version of perf still gets the bug.
Code: Select all
$ apt-get source linux-perf-4.9 $ make -C linux-4.9-4.9.51/tools/perf/perf
Could anyone try to explain this? Thanks!