Em Wed, Jul 13, 2016 at 10:44:00AM +0000, Wang Nan escreveu: > This patch set allows BPF program attach to tracepoints, which is > supported by commit 98b5c2c65c29 ("perf, bpf: allow bpf programs > attach to tracepoints").
Thanks, tested and applied, - Arnaldo > Wang Nan (5): > tools lib bpf: New API to adjust type of a BPF program > tools lib bpf: Report error when kernel doesn't support program type > perf tools: event parser: Add const qualifier to evt_name and sys_name > perf bpf: Rename bpf__foreach_tev() to bpf__foreach_event() > perf bpf: Support BPF program attach to tracepoints > > tools/lib/bpf/libbpf.c | 80 > ++++++++++++++++++++++++++++++++++-------- > tools/lib/bpf/libbpf.h | 10 ++++++ > tools/perf/util/bpf-loader.c | 73 +++++++++++++++++++++++++++++++++----- > tools/perf/util/bpf-loader.h | 12 +++---- > tools/perf/util/parse-events.c | 28 +++++++-------- > tools/perf/util/parse-events.h | 2 +- > 6 files changed, 161 insertions(+), 44 deletions(-) > > Signed-off-by: Wang Nan <wangn...@huawei.com> > Cc: Arnaldo Carvalho de Melo <a...@redhat.com> > Cc: Alexei Starovoitov <a...@kernel.org> > Cc: Li Zefan <lize...@huawei.com> > Cc: Jiri Olsa <jo...@kernel.org> > -- > 1.8.3.4