[PATCH] perf list: Show error if tracepoints not available

2013-10-15 Thread Pekka Enberg
Tracepoints are not visible in "perf list" on Fedora 19 because regular users have no permission to /sys/kernel/debug by default. Show an error message so that the user knows about it instead of assuming that tracepoints are not supported on the system. Cc: Arnaldo Carvalho de Melo Cc: Ingo

[PATCH] perf list: Show error if tracepoints not available

2013-10-15 Thread Pekka Enberg
Tracepoints are not visible in perf list on Fedora 19 because regular users have no permission to /sys/kernel/debug by default. Show an error message so that the user knows about it instead of assuming that tracepoints are not supported on the system. Cc: Arnaldo Carvalho de Melo a...@redhat.com