diff options
| author | Adrian Hunter <[email protected]> | 2015-05-19 16:05:44 +0300 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2015-05-27 12:21:43 -0300 |
| commit | a6ced2be06c302402c52dedba97d169d22cce99c (patch) | |
| tree | e03776dd304df329ea7f376028e7a44bf38f6796 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | bb78ce7d0598fb277290f8ee2443b8f4e0eb7cb2 (diff) | |
perf tools: Fix parse_events_error dereferences
Parse errors can be reported in struct parse_events_error but the
pointer passed is optional and can be NULL. Ensure it is not NULL
before dereferencing it.
Signed-off-by: Adrian Hunter <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Namhyung Kim <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions