kernel_optimize_test/tools/perf/util
Arnaldo Carvalho de Melo ad7f4e3f7b perf tools: Fix tracepoint id to string perf.data header table
It was broken by f006d25 that passed just the event name, not the complete
sys:event that it expected to open the /sys/.../sys/sys:event/id file to get
the id.

Fix it by moving it to after parse_events in cmd_record, as at that point
we can just traverse the evsel_list and use evsel->attr.config +
event_name(evsel) instead of re-opening the /id file.

Reported-by: Franck Bui-Huu <vagabon.xyz@gmail.com>
Cc: Franck Bui-Huu <vagabon.xyz@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Han Pingtian <phan@redhat.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Cc: Tom Zanussi <tzanussi@gmail.com>
LKML-Reference: <20110117202801.GG2085@ghostprotocols.net>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2011-01-17 18:28:13 -02:00
..
include
scripting-engines
ui
abspath.c
alias.c
bitmap.c
build-id.c perf session: Parse sample earlier 2010-12-04 23:05:19 -02:00
build-id.h
cache.h
callchain.c
callchain.h
color.c
color.h
config.c
cpumap.c perf tools: Refactor cpumap to hold nr and the map 2011-01-04 00:23:55 -02:00
cpumap.h perf tools: Refactor cpumap to hold nr and the map 2011-01-04 00:23:55 -02:00
ctype.c
debug.c
debug.h
debugfs.c
debugfs.h
environment.c
event.c perf symbols: Improve kallsyms symbol end addr calculation 2010-12-22 20:31:45 -02:00
event.h perf session: Consolidate the dump code 2010-12-09 11:18:06 -02:00
evsel.c perf evsel: Support perf_evsel__open(cpus > 1 && threads > 1) 2011-01-10 22:03:26 -02:00
evsel.h perf tools: Pass whole attr to event selectors 2011-01-07 01:44:36 -02:00
exec_cmd.c
exec_cmd.h
generate-cmdlist.sh
header.c Merge branch 'perf/test' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux-2.6 into perf/core 2011-01-04 08:10:28 +01:00
header.h perf tools: Introduce event selectors 2011-01-03 16:39:04 -02:00
help.c
help.h
hist.c Merge commit 'v2.6.37' into perf/core 2011-01-05 14:22:10 +01:00
hist.h perf session: Parse sample earlier 2010-12-04 23:05:19 -02:00
hweight.c
levenshtein.c
levenshtein.h
map.c
map.h
pager.c
parse-events.c perf tools: Fix tracepoint id to string perf.data header table 2011-01-17 18:28:13 -02:00
parse-events.h perf tools: Fix perf_event.h header usage 2011-01-05 14:52:54 -02:00
parse-options.c
parse-options.h perf options: add OPT_CALLBACK_DEFAULT_NOOPT 2010-12-06 15:33:29 -02:00
path.c
PERF-VERSION-GEN
probe-event.c Merge commit 'v2.6.37-rc8' into perf/core 2011-01-04 08:08:54 +01:00
probe-event.h
probe-finder.c Merge commit 'v2.6.37-rc8' into perf/core 2011-01-04 08:08:54 +01:00
probe-finder.h
pstack.c
pstack.h
quote.c
quote.h
run-command.c
run-command.h
session.c perf session: Fix infinite loop in __perf_session__process_events 2011-01-10 22:23:08 -02:00
session.h perf util: Move do_read from session to util 2011-01-03 16:50:55 -02:00
sigchain.c
sigchain.h
sort.c perf hist: Better displaying of unresolved DSOs and symbols 2010-12-06 15:12:34 -02:00
sort.h
strbuf.c
strbuf.h
string.c perf tools: Fix lazy wildcard matching 2010-12-21 19:15:42 -02:00
strlist.c
strlist.h
svghelper.c
svghelper.h
symbol.c Merge commit 'v2.6.37-rc8' into perf/core 2011-01-04 08:08:54 +01:00
symbol.h Merge commit 'v2.6.37-rc8' into perf/core 2011-01-04 08:08:54 +01:00
thread.c perf tools: Refactor all_tids to hold nr and the map 2011-01-04 00:24:16 -02:00
thread.h perf tools: Refactor all_tids to hold nr and the map 2011-01-04 00:24:16 -02:00
trace-event-info.c perf tools: Introduce event selectors 2011-01-03 16:39:04 -02:00
trace-event-parse.c
trace-event-read.c
trace-event-scripting.c
trace-event.h perf tools: Introduce event selectors 2011-01-03 16:39:04 -02:00
types.h
usage.c
util.c perf util: Move do_read from session to util 2011-01-03 16:50:55 -02:00
util.h perf util: Move do_read from session to util 2011-01-03 16:50:55 -02:00
values.c
values.h
wrapper.c
xyarray.c perf tools: Introduce event selectors 2011-01-03 16:39:04 -02:00
xyarray.h perf tools: Introduce event selectors 2011-01-03 16:39:04 -02:00