Re: [PATCH] perf bpf: Return NULL when RB tree lookup fails in perf_env__find_btf()
From: Arnaldo Carvalho de Melo
Date: Wed Apr 17 2019 - 13:37:37 EST
Em Wed, Apr 17, 2019 at 04:49:13PM +0000, Song Liu escreveu:
> > On Apr 17, 2019, at 7:55 AM, Jiri Olsa <jolsa@xxxxxxxxxx> wrote:
> >
> > We currently don't return NULL in case we don't find the
> > bpf_prog_info_node, fixing that.
> >
> > Signed-off-by: Jiri Olsa <jolsa@xxxxxxxxxx>
> > Cc: Alexander Shishkin <alexander.shishkin@xxxxxxxxxxxxxxx>
> > Cc: Namhyung Kim <namhyung@xxxxxxxxxx>
> > Cc: Peter Zijlstra <peterz@xxxxxxxxxxxxx>
> > Cc: Song Liu <songliubraving@xxxxxx>
> > Fixes: 3792cb2ff43b ("perf bpf: Save BTF in a rbtree in perf_env")
> > Link: http://lkml.kernel.org/n/tip-99g9rg4p20a1o99vr0nkjhq8@xxxxxxxxxxxxxx
> > Signed-off-by: Arnaldo Carvalho de Melo <acme@xxxxxxxxxx>
>
> Acked-by: Song Liu <songliubraving@xxxxxx>
Thanks, applied.
- Arnaldo