aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/annotate.c
diff options
context:
space:
mode:
authorBo YU <[email protected]>2019-04-22 08:01:38 +0000
committerArnaldo Carvalho de Melo <[email protected]>2019-05-02 20:00:19 +0000
commit2e712675ffd1331bb527dfc851b0e98cd684c2f1 (patch)
tree585732c478fbf4b217ebd11d4f1373a6219279c2 /tools/perf/util/annotate.c
parentMAINTAINERS: Include vendor specific files under arch/*/events/* (diff)
downloadkernel-2e712675ffd1331bb527dfc851b0e98cd684c2f1.tar.gz
kernel-2e712675ffd1331bb527dfc851b0e98cd684c2f1.zip
perf bpf: Return value with unlocking in perf_env__find_btf()
In perf_env__find_btf(), we're returning without unlocking "env->bpf_progs.lock". There may be cause lockdep issue. Detected by CoversityScan, CID# 1444762:(program hangs(LOCK)) Signed-off-by: Bo YU <[email protected]> Acked-by: Jiri Olsa <[email protected]> Cc: Adrian Hunter <[email protected]> Cc: Alexander Shishkin <[email protected]> Cc: Alexei Starovoitov <[email protected]> Cc: Daniel Borkmann <[email protected]> Cc: Martin KaFai Lau <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Song Liu <[email protected]> Cc: Yonghong Song <[email protected]> Cc: [email protected] Cc: [email protected] Fixes: 2db7b1e0bd49d: (perf bpf: Return NULL when RB tree lookup fails in perf_env__find_btf()) Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/util/annotate.c')
0 files changed, 0 insertions, 0 deletions