aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/bench
diff options
context:
space:
mode:
authorWeiguo Li <liwg06@foxmail.com>2022-03-11 21:06:57 +0800
committerArnaldo Carvalho de Melo <acme@redhat.com>2022-03-12 10:47:52 -0300
commita7a72631f62445e3671b7cab5ad01f856c1aa90d (patch)
treefb64c72074bd0676a2f934d69c43a28a2e6e3fd5 /tools/perf/bench
parenttools headers cpufeatures: Sync with the kernel sources (diff)
downloadlinux-dev-a7a72631f62445e3671b7cab5ad01f856c1aa90d.tar.xz
linux-dev-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 <john.garry@huawei.com> Signed-off-by: Weiguo Li <liwg06@foxmail.com> Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com> Cc: Ingo Molnar <mingo@redhat.com> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Mark Rutland <mark.rutland@arm.com> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Peter Zijlstra <peterz@infradead.org> Link: https://lore.kernel.org/r/tencent_DF39269807EC9425E24787E6DB632441A405@qq.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/bench')
0 files changed, 0 insertions, 0 deletions