[PATCH 0/5] perf bpf: Allow BPF programs attach to tracepoints

From: Wang Nan
Date: Wed Jul 13 2016 - 06:44:55 EST


This patch set allows BPF program attach to tracepoints, which is
supported by commit 98b5c2c65c29 ("perf, bpf: allow bpf programs
attach to tracepoints").

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 <wangnan0@xxxxxxxxxx>
Cc: Arnaldo Carvalho de Melo <acme@xxxxxxxxxx>
Cc: Alexei Starovoitov <ast@xxxxxxxxxx>
Cc: Li Zefan <lizefan@xxxxxxxxxx>
Cc: Jiri Olsa <jolsa@xxxxxxxxxx>
--
1.8.3.4