diff options
| author | Arnaldo Carvalho de Melo <[email protected]> | 2011-01-11 17:16:52 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2011-01-11 18:56:16 +0000 |
| commit | cc841580aa58ad7498b23e282859d07f8b721e24 (patch) | |
| tree | 978472344a1ac34c202d07fd6afa9598b2063297 /net/unix/af_unix.c | |
| parent | perf evsel: Fix order of event list deletion (diff) | |
| download | kernel-cc841580aa58ad7498b23e282859d07f8b721e24.tar.gz kernel-cc841580aa58ad7498b23e282859d07f8b721e24.zip | |
perf top: Fix annotate segv
Before we had sym_counter, it was initialized to zero and we used that
as an index in the global attrs variable, now we have a list of evsel
entries, and sym_counter became sym_evsel, that remained initialized to
zero (NULL): b00m.
Fix it by initializing it to the first entry in the evsel list.
Bug-introduced: 69aad6f
Reported-by: Kirill Smelkov <[email protected]>
Tested-by: Kirill Smelkov <[email protected]>
Cc: Frederic Weisbecker <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Kirill Smelkov <[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: <new-submission>
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
