lkml.org 
[lkml]   [2020]   [Nov]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC 1/2] perf: support build BPF skeletons with perf
On Tue, Nov 24, 2020 at 11:52:43PM +0000, Song Liu wrote:
>
>
> > On Nov 22, 2020, at 3:35 PM, Jiri Olsa <jolsa@redhat.com> 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.

the plan was to use skeleton as you did, because I agree it's the best
way to include bpf program in perf

I'm now using your patch and adding my bpf program on top of that ;-)

thanks,
jirka

\
 
 \ /
  Last update: 2020-11-25 17:43    [W:0.191 / U:1.380 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site