Messages in this thread | | | Date | Wed, 13 Nov 2013 00:22:49 +0100 | From | Ingo Molnar <> | Subject | perf top -u <uid> does not seem to be working |
| |
Hm, this is unexpected I think:
hubble:~> perf top --stdio -u mingo Error: You may not have permission to collect stats. Consider tweaking /proc/sys/kernel/perf_event_paranoid: -1 - Not paranoid at all 0 - Disallow raw tracepoint access for unpriv 1 - Disallow cpu events for unpriv 2 - Disallow kernel profiling for unpriv
hubble:~> cat /proc/sys/kernel/perf_event_paranoid -1
hubble:~> perf top --stdio -u Error: switch `u' requires a value
usage: perf top [<options>]
-u, --uid <user> user to profile
(perf is the latest version from tip:perf/core)
Thanks,
Ingo
| |