linux-perf-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* perf tracepoints for regular user?
@ 2016-01-15 21:05 Benjamin King
  2016-01-17 21:20 ` Milian Wolff
  0 siblings, 1 reply; 8+ messages in thread
From: Benjamin King @ 2016-01-15 21:05 UTC (permalink / raw)
  To: Linux perf users

Hi,

I am trying to use 'perf stat -e uprobes:xyz' on a tracepoint that I have
previously set, but with no success.
I thought that I should be able to do that when allowing my user access to
debugfs, but this is what I get:

$ id -u;id -g
1001
1001
$ mount|grep debug
none on /sys/kernel/debug type debugfs (rw,uid=1001,gid=1001)
$ ls /sys/kernel/debug
acpi  bluetooth  cleancache  dell_laptop  dri extfrag ...
$ ls /sys/kernel/debug/tracing/
ls: cannot open directory /sys/kernel/debug/tracing/: Permission denied

So, my user can't look in the tracing subdirectory and perf list doesn't show
the uprobes either.

I have also tried to ´sudo setcap cap_sys_admin+eip $(which perf)´, also
without success.

Any ideas?
Thanks,
  Benjamin King

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

end of thread, other threads:[~2016-01-25 15:43 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-15 21:05 perf tracepoints for regular user? Benjamin King
2016-01-17 21:20 ` Milian Wolff
2016-01-17 21:56   ` Milian Wolff
2016-01-19  5:02   ` Benjamin King
2016-01-19 22:18     ` Arnaldo Carvalho de Melo
2016-01-20 11:50       ` Aw: " Benjamin King
2016-01-21 14:05         ` Arnaldo Carvalho de Melo
2016-01-25 15:43           ` Benjamin King

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).