diff options
| author | Thomas Gleixner <[email protected]> | 2010-12-07 12:48:42 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2010-12-09 13:15:07 +0000 |
| commit | 3835bc00c5b2d8e337a6e9d7b44f47e02760dba3 (patch) | |
| tree | c93ec68b81e3c44c0d6e42d9e2bdeebf38657205 /tools/perf/scripts/python/netdev-times.py | |
| parent | perf report: Allow user to specify path to kallsyms file (diff) | |
| download | kernel-3835bc00c5b2d8e337a6e9d7b44f47e02760dba3.tar.gz kernel-3835bc00c5b2d8e337a6e9d7b44f47e02760dba3.zip | |
perf event: Prevent unbound event__name array access
event__name[] is missing an entry for PERF_RECORD_FINISHED_ROUND, but we
happily access the array from the dump code.
Make event__name[] static and provide an accessor function, fix up all
callers and add the missing string.
Cc: Frederic Weisbecker <[email protected]>
Cc: Ian Munsie <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Peter Zijlstra <[email protected]>
LKML-Reference: <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions
