All of lore.kernel.org
 help / color / mirror / Atom feed
* perf top -u <uid> does not seem to be working
@ 2013-11-12 23:22 Ingo Molnar
  2013-11-12 23:26 ` Ingo Molnar
  2013-11-13 17:59 ` perf top -u <uid> does not seem to be working Arnaldo Carvalho de Melo
  0 siblings, 2 replies; 4+ messages in thread
From: Ingo Molnar @ 2013-11-12 23:22 UTC (permalink / raw)
  To: Arnaldo Carvalho de Melo
  Cc: linux-kernel, David Ahern, Namhyung Kim, Jiri Olsa, Adrian Hunter,
	Frédéric Weisbecker


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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-11-15  7:25 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-12 23:22 perf top -u <uid> does not seem to be working Ingo Molnar
2013-11-12 23:26 ` Ingo Molnar
2013-11-15  7:24   ` [tip:perf/urgent] perf top: Add missing newline if the 'uid' is invalid tip-bot for Ingo Molnar
2013-11-13 17:59 ` perf top -u <uid> does not seem to be working Arnaldo Carvalho de Melo

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.