All of lore.kernel.org
 help / color / mirror / Atom feed
* perf: remount of tracefs required
@ 2015-08-04 14:44 Milian Wolff
  2015-08-04 15:27 ` Arnaldo Carvalho de Melo
  0 siblings, 1 reply; 4+ messages in thread
From: Milian Wolff @ 2015-08-04 14:44 UTC (permalink / raw)
  To: linux-perf-users

Hey all,

on ArchLinux with Linux 4.1.3, perf 4.1.0, I get:

$ perf trace
Error:  No permissions to read 
/sys/kernel/debug/tracing/events/raw_syscalls/sys_(enter|exit)
Hint:   Try 'sudo mount -o remount,mode=755 /sys/kernel/debug'
$ sudo mount -o remount,mode=755 /sys/kernel/debug
$ perf trace
Error:  No permissions to read 
/sys/kernel/debug/tracing/events/raw_syscalls/sys_(enter|exit)
Hint:   Try 'sudo mount -o remount,mode=755 /sys/kernel/debug'

This is b/c Arch uses tracefs, and running

$ sudo mount -o remount,mode=755 /sys/kernel/debug/tracefs

fixes the issue for me. Could someone please amend the error message? Do I 
also need to remount debugfs, or is tracefs sufficient for using more advanced 
perf tools?

Thanks

-- 
Milian Wolff
mail@milianw.de
http://milianw.de

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

end of thread, other threads:[~2015-08-05 14:35 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-04 14:44 perf: remount of tracefs required Milian Wolff
2015-08-04 15:27 ` Arnaldo Carvalho de Melo
2015-08-05 14:17   ` Milian Wolff
2015-08-05 14:35     ` 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.