summaryrefslogtreecommitdiff
path: root/tools/perf/util/header.c
diff options
context:
space:
mode:
authorAndi Kleen <ak@linux.intel.com>2012-10-27 00:30:06 +0400
committerArnaldo Carvalho de Melo <acme@redhat.com>2012-10-28 17:29:52 +0400
commit9175ce1f1244edd9f4d39605aa06ce5b0a50b8e0 (patch)
tree1b988361153dfd19909e1130ee02545509927461 /tools/perf/util/header.c
parent9db55064940db1447976945d07402a923e818962 (diff)
downloadlinux-9175ce1f1244edd9f4d39605aa06ce5b0a50b8e0.tar.xz
perf tools: Move parse_events error printing to parse_events_options
The callers of parse_events usually have their own error handling. Move the fprintf for a bad event to parse_events_options, which is the only one who should need it. Signed-off-by: Andi Kleen <ak@linux.intel.com> Acked-by: Jiri Olsa <jolsa@redhat.com> Cc: Ingo Molnar <mingo@kernel.org> Cc: Jiri Olsa <jolsa@redhat.com> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Stephane Eranian <eranian@google.com> Link: http://lkml.kernel.org/r/1351283415-13170-25-git-send-email-andi@firstfloor.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/header.c')
0 files changed, 0 insertions, 0 deletions