aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorHisao Tanabe <[email protected]>2018-08-25 00:45:56 +0900
committerArnaldo Carvalho de Melo <[email protected]>2018-08-30 14:49:25 -0300
commitfd8d2702791a970c751f8b526a17d8e725a05b46 (patch)
tree2f0b990e3a6909a7185ae5d80274af542409d642 /tools/perf/scripts/python/export-to-sqlite.py
parent5ab1de932e2923f490645ad017a689c5b58dc433 (diff)
perf evsel: Fix potential null pointer dereference in perf_evsel__new_idx()
If evsel is NULL, we should return NULL to avoid a NULL pointer dereference a bit later in the code. Signed-off-by: Hisao Tanabe <[email protected]> Acked-by: Namhyung Kim <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Wang Nan <[email protected]> Fixes: 03e0a7df3efd ("perf tools: Introduce bpf-output event") LPU-Reference: [email protected] Link: https://lkml.kernel.org/n/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions