Re: [RFC 1/2] perf: support build BPF skeletons with perf

From: Song Liu
Date: Tue Nov 24 2020 - 18:53:21 EST




> On Nov 22, 2020, at 3:35 PM, Jiri Olsa <jolsa@xxxxxxxxxx> wrote:
>
> On Wed, Nov 18, 2020 at 08:50:45PM -0800, Song Liu wrote:
>> BPF programs are useful in perf to profile BPF programs. BPF skeleton is
>> by far the easiest way to write BPF tools. Enable building BPF skeletons
>> in util/bpf_skel. A dummy bpf skeleton is added. More bpf skeletons will
>> be added for different use cases.
>
> I was just in a place adding bpf program to perf as well,
> so this will save me some time ;-) thanks!

I'd love to learn about your plan. Maybe we have some similar ideas,
and could collaborate on them.

Thanks,
Song