]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
perf tools: Make perf aware of tracefs
authorSteven Rostedt (Red Hat) <rostedt@goodmis.org>
Mon, 2 Feb 2015 19:35:07 +0000 (14:35 -0500)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 11 Feb 2015 15:37:08 +0000 (12:37 -0300)
commit23773ca18b399051eb94f98b689cf7a9173c795b
tree17629936892375049fd68b096389e8c24bc07a4a
parentdd6dda27a8be563eaebb3f38b1d1d50920bb7991
perf tools: Make perf aware of tracefs

As tracefs may be mounted instead of debugfs to get to the event
directories, have perf know about tracefs, and use that file system over
debugfs if it is present.

Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Acked-by: Jiri Olsa <jolsa@kernel.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Link: http://lkml.kernel.org/r/20150202193553.340946602@goodmis.org
[ Fixed up error messages about tracefs pointed out by Namhyung ]
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/tests/open-syscall-all-cpus.c
tools/perf/tests/open-syscall.c
tools/perf/tests/parse-events.c
tools/perf/util/cache.h
tools/perf/util/evlist.c
tools/perf/util/parse-events.h
tools/perf/util/probe-event.c
tools/perf/util/util.c
tools/perf/util/util.h