aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/scripting-engines/trace-event-perl.c
diff options
context:
space:
mode:
authorWeiguo Li <[email protected]>2022-03-11 13:06:57 +0000
committerArnaldo Carvalho de Melo <[email protected]>2022-03-12 13:47:52 +0000
commita7a72631f62445e3671b7cab5ad01f856c1aa90d (patch)
treefb64c72074bd0676a2f934d69c43a28a2e6e3fd5 /tools/perf/util/scripting-engines/trace-event-perl.c
parenttools headers cpufeatures: Sync with the kernel sources (diff)
downloadkernel-a7a72631f62445e3671b7cab5ad01f856c1aa90d.tar.gz
kernel-a7a72631f62445e3671b7cab5ad01f856c1aa90d.zip
perf parse-events: Fix NULL check against wrong variable
We did a null check after "tmp->symbol = strdup(...)", but we checked "list->symbol" other than "tmp->symbol". Reviewed-by: John Garry <[email protected]> Signed-off-by: Weiguo Li <[email protected]> Cc: Alexander Shishkin <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Mark Rutland <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Peter Zijlstra <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-perl.c')
0 files changed, 0 insertions, 0 deletions