On Thu, Jun 25, 2020 at 4:47 PM Jiri Olsa <jolsa@xxxxxxxxxx> wrote: > > This way the ID is resolved during compile time, > and we can remove the runtime name search. > > Signed-off-by: Jiri Olsa <jolsa@xxxxxxxxxx> > --- This is a good improvement, but I was thinking about actually simplifying btf_get_prog_ctx_type() logic itself (it also does all this BTF ID resolution). But this is a nice first step, so: Acked-by: Andrii Nakryiko <andriin@xxxxxx> [...]