[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20131112232249.GA31384@gmail.com>
Date: Wed, 13 Nov 2013 00:22:49 +0100
From: Ingo Molnar <mingo@...nel.org>
To: Arnaldo Carvalho de Melo <acme@...radead.org>
Cc: linux-kernel@...r.kernel.org, David Ahern <dsahern@...il.com>,
Namhyung Kim <namhyung@...nel.org>,
Jiri Olsa <jolsa@...hat.com>,
Adrian Hunter <adrian.hunter@...el.com>,
Frédéric Weisbecker <fweisbec@...il.com>
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists