original_kernel/tools/perf/util
Corey Ashford 4c635a4e04 perf tools: fix event parsing of comma-separated tracepoint events
There are number of issues that prevent the use of multiple tracepoint events
being specified in a -e/--event switch, separated by commas.

For example, perf stat -e irq:irq_handler_entry,irq:irq_handler_exit ...  fails
because the tracepoint event parsing code doesn't recognize the comma separator
properly.

This patch corrects those issues.

Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Julia Lawall <julia@diku.dk>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Reported-by: Michael Ellerman <michaele@au1.ibm.com>
LKML-Reference: <1291156021-17711-1-git-send-email-cjashfor@linux.vnet.ibm.com>
Signed-off-by: Corey Ashford <cjashfor@linux.vnet.ibm.com>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2010-11-30 23:04:39 -02:00
..
include
scripting-engines
ui perf tools: Fix lost and unknown events handling 2010-11-27 02:41:01 -02:00
PERF-VERSION-GEN
abspath.c
alias.c
bitmap.c
build-id.c
build-id.h
cache.h
callchain.c
callchain.h
color.c
color.h
config.c
cpumap.c
cpumap.h
ctype.c
debug.c perf debug: Simplify trace_event 2010-11-30 20:58:42 -02:00
debug.h perf tools: Fix lost and unknown events handling 2010-11-27 02:41:01 -02:00
debugfs.c
debugfs.h
environment.c
event.c perf symbols: Correct final kernel map guesses 2010-11-27 01:32:53 -02:00
event.h
exec_cmd.c
exec_cmd.h
generate-cmdlist.sh
header.c
header.h
help.c
help.h
hist.c
hist.h
hweight.c
levenshtein.c
levenshtein.h
map.c
map.h
pager.c
parse-events.c perf tools: fix event parsing of comma-separated tracepoint events 2010-11-30 23:04:39 -02:00
parse-events.h
parse-options.c
parse-options.h
path.c
probe-event.c
probe-event.h
probe-finder.c
probe-finder.h
pstack.c
pstack.h
quote.c
quote.h
run-command.c
run-command.h
session.c perf session: Allocate chunks of sample objects 2010-11-30 20:05:25 -02:00
session.h perf session: Allocate chunks of sample objects 2010-11-30 20:05:25 -02:00
sigchain.c
sigchain.h
sort.c
sort.h
strbuf.c
strbuf.h
string.c
strlist.c
strlist.h
svghelper.c
svghelper.h
symbol.c perf symbols: Correct final kernel map guesses 2010-11-27 01:32:53 -02:00
symbol.h
thread.c
thread.h
trace-event-info.c
trace-event-parse.c
trace-event-read.c
trace-event-scripting.c
trace-event.h
types.h
usage.c
util.c
util.h
values.c
values.h
wrapper.c