lkml.org 
[lkml]   [2013]   [Nov]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectperf 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


\
 
 \ /
  Last update: 2013-11-13 00:41    [W:0.126 / U:1.300 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site