[GIT PULL] perf tools fixes for v5.11

From: Arnaldo Carvalho de Melo
Date: Sun Jan 17 2021 - 16:10:59 EST


Hi Linus,

Please consider pulling,

Best regards,

- Arnaldo

The following changes since commit f4e087c666f54559cb4e530af1fbfc9967e14a15:

Merge tag 'acpi-5.11-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm (2021-01-15 10:55:33 -0800)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git tags/perf-tools-fixes-2021-01-17

for you to fetch changes up to 648b054a4647cd62e13ba79f398b8b97a7c82b19:

perf inject: Correct event attribute sizes (2021-01-15 17:28:28 -0300)

----------------------------------------------------------------
perf tools fixes for 5.11:

- Fix 'CPU too large' error in Intel PT.

- Correct event attribute sizes in 'perf inject'.

- Sync build_bug.h and kvm.h kernel copies.

- Fix bpf.h header include directive in 5sec.c 'perf trace' bpf example.

- libbpf tests fixes.

- Fix shadow stat 'perf test' for non-bash shells.

- Take cgroups into account for shadow stats in 'perf stat'.

Signed-off-by: Arnaldo Carvalho de Melo <acme@xxxxxxxxxx>

Test results in the signed tag at:

https://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git/tag/?h=perf-tools-fixes-2021-01-17

----------------------------------------------------------------
Adrian Hunter (1):
perf intel-pt: Fix 'CPU too large' error

Al Grant (1):
perf inject: Correct event attribute sizes

Arnaldo Carvalho de Melo (3):
perf bpf examples: Fix bpf.h header include directive in 5sec.c example
tools headers UAPI: Sync kvm.h headers with the kernel sources
tools headers: Syncronize linux/build_bug.h with the kernel sources

Ian Rogers (3):
libperf tests: Avoid uninitialized variable warning
libperf tests: If a test fails return non-zero
libperf tests: Fail when failing to get a tracepoint id

Namhyung Kim (3):
perf test: Fix shadow stat test for non-bash shells
perf stat: Introduce struct runtime_stat_data
perf stat: Take cgroups into account for shadow stats

tools/include/linux/build_bug.h | 5 -
tools/include/uapi/linux/kvm.h | 2 +
tools/lib/perf/tests/test-cpumap.c | 2 +-
tools/lib/perf/tests/test-evlist.c | 7 +-
tools/lib/perf/tests/test-evsel.c | 2 +-
tools/lib/perf/tests/test-threadmap.c | 2 +-
tools/perf/examples/bpf/5sec.c | 2 +-
tools/perf/tests/shell/stat+shadow_stat.sh | 30 ++-
tools/perf/util/header.c | 8 +
tools/perf/util/machine.c | 4 +-
tools/perf/util/session.c | 2 +-
tools/perf/util/stat-shadow.c | 366 +++++++++++++++--------------
12 files changed, 224 insertions(+), 208 deletions(-)