1
0
Files
linux/tools/perf/util
Namhyung Kim e7c93f09b8 perf util: Use evsel->name to get tracepoint_paths
Most tracepoint events already have their system and event name in
->name field so that searching whole event tracing directory for each
evsel to match given id is suboptimal.

Factor out this routine into tracepoint_name_to_path().  In case of en
invalid name, it'll try to find path using id again.

Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Cc: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Stephane Eranian <eranian@google.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Link: http://lkml.kernel.org/r/1372230862-15861-3-git-send-email-namhyung@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2013-07-12 13:46:02 -03:00
..
2011-02-16 13:30:48 +01:00
2013-03-25 16:13:26 -03:00
2012-02-13 23:17:40 -02:00
2012-12-09 08:46:07 -03:00
2013-07-08 17:59:07 -03:00
2013-07-08 17:59:07 -03:00
2013-01-30 10:40:05 -03:00
2013-03-15 14:01:26 -03:00
2013-05-28 16:24:01 +03:00
2012-10-02 18:36:24 -03:00
2012-08-03 10:37:21 -03:00
2013-05-28 16:24:04 +03:00
2013-03-13 17:00:33 -03:00
2012-05-17 12:32:54 -03:00
2013-05-28 16:24:01 +03:00
2013-07-08 17:59:07 -03:00