Messages in this thread | | | From | Jiri Olsa <> | Date | Fri, 18 Aug 2023 14:20:29 +0200 | Subject | Re: [PATCH bpf-next v5] selftests/bpf: trace_helpers.c: optimize kallsyms cache |
| |
On Fri, Aug 18, 2023 at 09:39:32AM +0800, Rong Tao wrote: > Hi, Jiri. Thanks for your reply. > > libbpf_ensure_mem() is in libbpf_internal.h, samples/bpf/ can't see it, do we > reposition the function declaration?
I see, I had no idea trace_helpers.[ch] is included in samples/bpf
but it seems to have libbpf linked statically.. so you could just include libbpf_internal.h and it should work, right? like we do in selftests
jirka
> > Good Day > Rong Tao >
| |