diff options
author | Adrian Hunter <[email protected]> | 2013-07-04 16:20:29 +0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2013-07-08 17:46:39 -0300 |
commit | 7e0d6fc90fc6f9faea63a2b67233ae767903573c (patch) | |
tree | ba3a94ef06f776f05119878c73f58230e3481af8 | |
parent | 4be8be6b430611def94bcd583b7b302d197a9520 (diff) |
perf tools: Update symbol_conf.nr_events when processing attribute events
Signed-off-by: Adrian Hunter <[email protected]>
Cc: David Ahern <[email protected]>
Cc: Frederic Weisbecker <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Mike Galbraith <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Stephane Eranian <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
-rw-r--r-- | tools/perf/util/header.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/perf/util/header.c b/tools/perf/util/header.c index 93dd31573fb5..a4dafbee2511 100644 --- a/tools/perf/util/header.c +++ b/tools/perf/util/header.c @@ -2956,6 +2956,8 @@ int perf_event__process_attr(union perf_event *event, perf_evlist__id_add(evlist, evsel, 0, i, event->attr.id[i]); } + symbol_conf.nr_events = evlist->nr_entries; + return 0; } |