aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gcc-plugins/cyc_complexity_plugin.c
diff options
context:
space:
mode:
authorJiri Olsa <[email protected]>2019-04-17 14:55:39 +0000
committerArnaldo Carvalho de Melo <[email protected]>2019-04-17 17:30:23 +0000
commit2db7b1e0bd49d2b0e7d16949e167b1cfaf5c07cf (patch)
tree3c6a3e0735cd8cbc8eb83dc2209b22646fbf154a /scripts/gcc-plugins/cyc_complexity_plugin.c
parentperf tools: Fix map reference counting (diff)
downloadkernel-2db7b1e0bd49d2b0e7d16949e167b1cfaf5c07cf.tar.gz
kernel-2db7b1e0bd49d2b0e7d16949e167b1cfaf5c07cf.zip
perf bpf: Return NULL when RB tree lookup fails in perf_env__find_btf()
We don't return NULL when we don't find the bpf_prog_info_node, fix that. Signed-off-by: Jiri Olsa <[email protected]> Reported-by: Song Liu <[email protected]> Acked-by: Song Liu <[email protected]> Cc: Alexander Shishkin <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Peter Zijlstra <[email protected]> Fixes: 3792cb2ff43b ("perf bpf: Save BTF in a rbtree in perf_env") Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions