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:07:16 +0000
committerArnaldo Carvalho de Melo <[email protected]>2022-03-12 13:49:13 +0000
commit073a15c3512f6b8d36c0c05992cf31e845f4dfe0 (patch)
tree8faeb752c72bc90de45cc70bf9a53eeb99801912 /tools/perf/util/scripting-engines/trace-event-perl.c
parentperf parse-events: Fix NULL check against wrong variable (diff)
downloadkernel-073a15c3512f6b8d36c0c05992cf31e845f4dfe0.tar.gz
kernel-073a15c3512f6b8d36c0c05992cf31e845f4dfe0.zip
perf bench: Fix NULL check against wrong variable
We did a NULL check after "epollfdp = calloc(...)", but we checked "epollfd" instead of "epollfdp". Signed-off-by: Weiguo Li <[email protected]> Acked-by: Davidlohr Bueso <[email protected]> Cc: Alexander Shishkin <[email protected]> Cc: Davidlohr Bueso <[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