[PATCH v4 00/16] perf tools: BPF related update and other improvements

Wang Nan
2015-12-08T02:29:23Z

Hi Arnaldo,

Glad to see you start processing patches again. This patch set
contains all BPF related patches and two other patches in my local
tree. I have rebased them onto your newest perf/core. Please review
them when you have time.

This patch set is based on perf/core.

Compare with v3:

- Rebase on newest perf/core

- Small commit message improvements

- Fetch map names from correct strtab (2/16)

- Patch 15-16 are not related to BPF. Send them together because they
stay in my local tree for sereval days.

He Kuang (2):
perf tools: Support perf event alias name
perf record: Support custom vmlinux path

Wang Nan (14):
tools lib bpf: Check return value of strdup when reading map names
tools lib bpf: Fetch map names from correct strtab
perf tools: Add API to config maps in bpf object
perf tools: Enable BPF object configure syntax
perf record: Apply config to BPF objects before recording
perf tools: Enable passing event to BPF object
perf tools: Support setting different slots in a BPF map separately
perf tools: Enable indices setting syntax for BPF maps
perf tools: Introduce bpf-output event
perf data: Add u32_hex data type
perf data: Support converting data from bpf_perf_event_output()
perf tools: Always give options even it not compiled
perf script: Add support for PERF_TYPE_BREAKPOINT
perf tools: Clear struct machine during machine__init()

tools/lib/bpf/libbpf.c | 24 +-
tools/perf/Documentation/perf-record.txt | 10 +-
tools/perf/builtin-probe.c | 15 +-
tools/perf/builtin-record.c | 36 +-
tools/perf/builtin-script.c | 14 +
tools/perf/util/bpf-loader.c | 700 +++++++++++++++++++++++++++++++
tools/perf/util/bpf-loader.h | 59 +++
tools/perf/util/data-convert-bt.c | 117 +++++-
tools/perf/util/evlist.c | 16 +
tools/perf/util/evlist.h | 4 +
tools/perf/util/evsel.c | 7 +
tools/perf/util/evsel.h | 1 +
tools/perf/util/machine.c | 1 +
tools/perf/util/parse-events.c | 125 +++++-
tools/perf/util/parse-events.h | 20 +-
tools/perf/util/parse-events.l | 16 +-
tools/perf/util/parse-events.y | 123 +++++-
tools/perf/util/parse-options.c | 113 ++++-
tools/perf/util/parse-options.h | 5 +
19 files changed, 1369 insertions(+), 37 deletions(-)

--
1.8.3.4