aboutsummaryrefslogtreecommitdiffstats
path: root/fs/proc/array.c
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <[email protected]>2011-01-17 20:28:13 +0000
committerArnaldo Carvalho de Melo <[email protected]>2011-01-17 20:28:13 +0000
commitad7f4e3f7b966ac09c8f98dbc5024813a1685775 (patch)
treee5138e0e578670007744bd822ca40bf670ea995e /fs/proc/array.c
parentperf tools: Fix handling of wildcards in tracepoint event selectors (diff)
downloadkernel-ad7f4e3f7b966ac09c8f98dbc5024813a1685775.tar.gz
kernel-ad7f4e3f7b966ac09c8f98dbc5024813a1685775.zip
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 <[email protected]> Cc: Franck Bui-Huu <[email protected]> Cc: Frederic Weisbecker <[email protected]> Cc: Han Pingtian <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Mike Galbraith <[email protected]> Cc: Paul Mackerras <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Stephane Eranian <[email protected]> Cc: Tom Zanussi <[email protected]> LKML-Reference: <[email protected]> Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'fs/proc/array.c')
0 files changed, 0 insertions, 0 deletions