[GIT PULL] perf tools fixes for v5.9

From: Arnaldo Carvalho de Melo
Date: Tue Sep 01 2020 - 18:42:08 EST


Hi Linus,

Please consider pulling,

Best regards,

- Arnaldo

The following changes since commit da2968ff879b9e74688cdc658f646971991d2c56:

Merge tag 'pci-v5.9-fixes-1' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci (2020-08-20 14:17:03 -0700)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git tags/perf-tools-fixes-for-v5.9-2020-09-01

for you to fetch changes up to 977f739b7126bf98b5202e243f60cbc0a1ec2c3b:

perf report: Disable ordered_events for raw dump (2020-09-01 12:20:25 -0300)

----------------------------------------------------------------
perf tools fixes for v5.9:

- Fix infinite loop in the TUI for grouped events in 'perf top/record', for
instance when using "perf top -e '{cycles,instructions,cache-misses}'.

- Fix segfault by skipping side-band event setup if HAVE_LIBBPF_SUPPORT is not set.

- Fix synthesized branch stacks generated from CoreSight ETM trace and Intel PT
hardware traces.

- Fix error when synthesizing events from ARM SPE hardware trace.

- The SNOOPX and REMOTE offsets in the data_src bitmask in perf records were
were both 37, SNOOPX is 38, fix it.

- Fix use of CPU list with summary option in 'perf sched timehist'.

- Avoid an uninitialized read when using fake PMUs.

- Set perf_event_attr.exclude_guest=1 for user-space counting.

- Don't order events when doing a 'perf report -D' raw dump of perf.data records.

- Set NULL sentinel in pmu_events table in "Parse and process metrics" 'perf test'

- Fix basic bpf filtering 'perf test' on s390x.

- Fix out of bounds array access in the 'perf stat' print_counters() evlist method.

- Add mwait_idle_with_hints.constprop.0 to the list of idle symbols.

- Use %zd for size_t printf formats on 32-bit.

- Correct the help info of "perf record --no-bpf-event" option.

- Add entries for CoreSight and Arm SPE tooling to MAINTAINERS.

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

Al Grant (3):
perf cs-etm: Fix corrupt data after perf inject from
perf intel-pt: Fix corrupt data after perf inject from
perf tools: Correct SNOOPX field offset

Arnaldo Carvalho de Melo (2):
perf symbols: Add mwait_idle_with_hints.constprop.0 to the list of idle symbols
perf top/report: Fix infinite loop in the TUI for grouped events

Chris Wilson (1):
perf tools: Use %zd for size_t printf formats on 32-bit

David Ahern (1):
perf sched timehist: Fix use of CPU list with summary option

Ian Rogers (1):
perf parse-events: Avoid an uninitialized read when using fake PMUs

Jin Yao (1):
perf parse-events: Set exclude_guest=1 for user-space counting

Jiri Olsa (1):
perf report: Disable ordered_events for raw dump

Mathieu Poirier (1):
MAINTAINERS: Add entries for CoreSight and Arm SPE tooling

Sumanth Korikkar (1):
perf test: Fix basic bpf filtering test

Thomas Richter (2):
perf test: Set NULL sentinel in pmu_events table in "Parse and process metrics" test
perf stat: Fix out of bounds array access in the print_counters() evlist method

Tiezhu Yang (1):
perf top: Skip side-band event setup if HAVE_LIBBPF_SUPPORT is not set

Wei Li (2):
perf: arm-spe: Fix check error when synthesizing events
perf record: Correct the help info of option "--no-bpf-event"

MAINTAINERS | 8 ++++-
tools/include/uapi/linux/perf_event.h | 2 +-
tools/perf/builtin-record.c | 2 +-
tools/perf/builtin-report.c | 3 ++
tools/perf/builtin-sched.c | 6 +++-
tools/perf/builtin-top.c | 2 ++
tools/perf/tests/bpf.c | 2 +-
tools/perf/tests/parse-events.c | 4 +--
tools/perf/tests/parse-metric.c | 3 ++
tools/perf/ui/browsers/hists.c | 3 +-
.../util/arm-spe-decoder/arm-spe-decoder.c | 6 ++--
tools/perf/util/cs-etm.c | 9 +++++-
tools/perf/util/intel-pt.c | 9 +++++-
tools/perf/util/parse-events.c | 31 ++++++++++++-------
tools/perf/util/session.c | 2 +-
tools/perf/util/stat-display.c | 2 +-
tools/perf/util/symbol.c | 1 +
tools/perf/util/zstd.c | 2 +-
18 files changed, 69 insertions(+), 28 deletions(-)

--
2.26.2