Reputation: 949
I got two RedHat Linux machine with the same OS version, but for the command perf list
, it produces different outputs.
The first machine:
cat /proc/version
Linux version 2.6.32-279.11.1.el6.x86_64 ([email protected]) (gcc version 4.4.6 20120305 (Red Hat 4.4.6-4) (GCC) ) #1 SMP Tue Oct 16 08:03:36 PDT 2012
perf --version
perf version 3.0.36-300.17.1.el6uek.x86_64
On this machine, perf list
couldn't list out any tracepoint events.
The second machine:
cat /proc/version
Linux version 2.6.32-279.11.1.el6.x86_64 ([email protected]) (gcc version 4.4.6 20120305 (Red Hat 4.4.6-4) (GCC) ) #1 SMP Tue Oct 16 08:03:36 PDT 2012
perf --version
perf version 3.0.36-300.17.1.el6uek.x86_64
On this machine, perf list
could list out all events
Upvotes: 1
Views: 107
Reputation: 3244
May be the first machine has no tracepoint support.
For the tracepoint events you will need to have debugfs mounted first, e.g.
mount -t debugfs none /dbg
And you might also need ftrace enabled in kernel.
Upvotes: 1