diff options
| author | Weiguo Li <[email protected]> | 2022-03-11 21:06:57 +0800 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2022-03-12 10:47:52 -0300 |
| commit | a7a72631f62445e3671b7cab5ad01f856c1aa90d (patch) | |
| tree | fb64c72074bd0676a2f934d69c43a28a2e6e3fd5 /tools/perf/util/scripting-engines/trace-event-python.c | |
| parent | ec9d50ace39925f7fd0302bf0fad640e2c9826ea (diff) | |
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-python.c')
0 files changed, 0 insertions, 0 deletions