On Fri, Jun 9, 2023 at 12:36 PM Song Liu <song@xxxxxxxxxx> wrote: > > On Thu, Jun 8, 2023 at 4:14 PM Andrii Nakryiko > <andrii.nakryiko@xxxxxxxxx> wrote: > > > > On Thu, Jun 8, 2023 at 3:35 AM Yafang Shao <laoar.shao@xxxxxxxxx> wrote: > > > > > > Add libbpf API to get generic perf event name. > > > > > > Signed-off-by: Yafang Shao <laoar.shao@xxxxxxxxx> > > > --- > > > > I don't think this belongs in libbpf and shouldn't be exposed as > > public API. Please move it into bpftool and make it internal (if > > Quentin is fine with this in the first place). > > Or maybe it belongs to libperf? I prefer to move it into libperf. Then it may be reused by other tools. -- Regards Yafang