linux/tools/perf
Andi Kleen 9175ce1f12 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>
2012-10-28 11:29:52 -02:00
..
Documentation perf stat: Add --pre and --post command 2012-10-26 11:22:25 -02:00
arch perf tools: Try to find cross-built objdump path 2012-10-24 14:20:11 -02:00
bench perf tools: Use __maybe_used for unused variables 2012-09-11 12:19:15 -03:00
config perf tools: Always show CHK message when doing try-cc 2012-10-26 11:22:24 -02:00
python perf python: Use attr.watermark in twatch.py 2012-01-30 18:38:23 -02:00
scripts perf scripts: Add event_analyzing_sample-record/report 2012-09-17 13:11:15 -03:00
ui Merge branch 'perf/urgent' into perf/core 2012-10-24 10:20:57 +02:00
util perf tools: Move parse_events error printing to parse_events_options 2012-10-28 11:29:52 -02:00
.gitignore perf tools: Ignore compiled python binaries 2012-09-07 12:10:58 -03:00
CREDITS perf_counter tools: Add CREDITS file for Git contributors 2009-06-24 19:54:29 +02:00
MANIFEST perf kvm: Events analysis tool 2012-09-21 12:51:22 -03:00
Makefile perf tools: Fix LIBELF_MMAP checking 2012-10-26 11:22:24 -02:00
bash_completion perf tools: Complete tracepoint event names 2012-10-04 12:44:52 -03:00
builtin-annotate.c perf tools: Try to find cross-built objdump path 2012-10-24 14:20:11 -02:00
builtin-bench.c perf tools: Use __maybe_used for unused variables 2012-09-11 12:19:15 -03:00
builtin-buildid-cache.c perf buildid-cache: Don't use globals where not needed to 2012-10-02 18:36:35 -03:00
builtin-buildid-list.c perf buildid-list: Don't use globals where not needed to 2012-10-02 18:36:36 -03:00
builtin-diff.c perf event: No need to create a thread when handling PERF_RECORD_EXIT 2012-10-06 16:33:45 -03:00
builtin-evlist.c perf evlist: Don't use globals where not needed to 2012-10-02 18:36:39 -03:00
builtin-help.c perf help: Fix --help for builtins 2012-10-22 12:35:49 -02:00
builtin-inject.c perf inject: Mark a dso if it's used 2012-10-26 11:22:25 -02:00
builtin-kmem.c perf kmem: Don't use globals where not needed to 2012-10-02 18:36:32 -03:00
builtin-kvm.c perf kvm: Add braces around multi-line statements 2012-10-08 17:15:54 -03:00
builtin-list.c perf tools: Use __maybe_used for unused variables 2012-09-11 12:19:15 -03:00
builtin-lock.c perf lock: Don't use globals where not needed to 2012-10-02 18:36:33 -03:00
builtin-probe.c perf probe: Don't use globals where not needed to 2012-10-02 18:36:37 -03:00
builtin-record.c perf tools: Give user better message if precise is not supported 2012-10-24 14:20:11 -02:00
builtin-report.c perf tools: Try to find cross-built objdump path 2012-10-24 14:20:11 -02:00
builtin-sched.c perf sched: Handle PERF_RECORD_EXIT events 2012-10-06 16:34:03 -03:00
builtin-script.c perf event: No need to create a thread when handling PERF_RECORD_EXIT 2012-10-06 16:33:45 -03:00
builtin-stat.c perf stat: Add --pre and --post command 2012-10-26 11:22:25 -02:00
builtin-test.c perf test: Align the 'Ok'/'FAILED!' test results 2012-10-24 15:44:41 -02:00
builtin-timechart.c perf timechart: Don't use globals where not needed to 2012-10-02 18:36:34 -03:00
builtin-top.c perf tools: Give user better message if precise is not supported 2012-10-24 14:20:11 -02:00
builtin-trace.c perf trace: Use sched:sched_stat_runtime to provide a thread summary 2012-10-25 10:57:43 -02:00
builtin.h perf trace: New tool 2012-09-26 20:42:23 -03:00
command-list.txt perf trace: New tool 2012-09-26 20:42:23 -03:00
design.txt perf tools: Update ioctl documentation for PERF_IOC_FLAG_GROUP 2012-05-31 11:38:42 -03:00
perf-archive.sh perf archive: Make 'f' the last parameter for tar 2012-09-17 13:10:42 -03:00
perf.c perf tools: Have the page size value available for all tools 2012-10-06 16:33:14 -03:00
perf.h perf/urgent fixes: 2012-10-20 02:40:26 +02:00