aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/builtin-test.c
diff options
context:
space:
mode:
authorNamhyung Kim <namhyung.kim@lge.com>2012-09-06 11:10:46 +0900
committerArnaldo Carvalho de Melo <acme@redhat.com>2012-09-06 10:51:02 -0300
commit831394bdd9dd3ac1661336505c7cbdfd786d8cd4 (patch)
tree08ce81df572942ce33ab84a2161a95127cd35ea4 /tools/perf/builtin-test.c
parentperf header: Fix a typo on evsel (diff)
downloadlinux-dev-831394bdd9dd3ac1661336505c7cbdfd786d8cd4.tar.xz
linux-dev-831394bdd9dd3ac1661336505c7cbdfd786d8cd4.zip
perf header: Prepare tracepoint events regardless of name
Current perf_evlist__set_tracepoint_names is a misnomer because it finds and sets correspoding event_format in addition to the name. So skipping it when a event has set name already caused a trouble. Rename it and set name only a event doesn't have one. Reported-by: David Ahern <dsahern@gmail.com> Signed-off-by: Namhyung Kim <namhyung@kernel.org> Cc: David Ahern <dsahern@gmail.com> Cc: Ingo Molnar <mingo@kernel.org> Cc: Paul Mackerras <paulus@samba.org> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Link: http://lkml.kernel.org/r/1346897446-16569-2-git-send-email-namhyung@kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/builtin-test.c')
0 files changed, 0 insertions, 0 deletions