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

2020-12-09 Thread Song Liu
> On Dec 9, 2020, at 9:03 AM, Jiri Olsa wrote: > > On Tue, Dec 08, 2020 at 10:16:45AM -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

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

2020-12-09 Thread Jiri Olsa
On Tue, Dec 08, 2020 at 10:16:45AM -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 d

[PATCH v3 1/2] perf: support build BPF skeletons with perf

2020-12-08 Thread Song Liu
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. Signed-off-by: Song Liu --- tools/bpf/bpfto