summaryrefslogtreecommitdiffstats
path: root/tools/perf/util/parse-events.h
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2012-06-12 18:55:13 +0200
committerArnaldo Carvalho de Melo <acme@redhat.com>2012-06-19 18:06:21 +0200
commit22c8b84320ecf9ecbb6587d46a259b828e9ece5e (patch)
tree73b58508b4f6beecf8e5308ff48764e68d00c2aa /tools/perf/util/parse-events.h
parentperf script: Replace __event_name uses with perf_evsel__name (diff)
downloadlinux-22c8b84320ecf9ecbb6587d46a259b828e9ece5e.tar.xz
linux-22c8b84320ecf9ecbb6587d46a259b828e9ece5e.zip
perf tools: Don't access evsel->name directly
One needs to use perf_evsel__name() so that if needed the name gets synthesized and stored in evsel->name, from where perf_evsel__name() will serve from them on. Cc: David Ahern <dsahern@gmail.com> Cc: Frederic Weisbecker <fweisbec@gmail.com> Cc: Jiri Olsa <jolsa@redhat.com> Cc: Mike Galbraith <efault@gmx.de> Cc: Namhyung Kim <namhyung@gmail.com> Cc: Paul Mackerras <paulus@samba.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Stephane Eranian <eranian@google.com> Link: http://lkml.kernel.org/n/tip-ml7zbenjmri9bghmrea0jm0d@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/parse-events.h')
0 files changed, 0 insertions, 0 deletions