[GIT PULL] perf tools fixes for v5.10: 4th batch

From: Arnaldo Carvalho de Melo
Date: Sat Nov 28 2020 - 17:00:00 EST


Hi Linus,

Please consider pulling,

Best regards,

- Arnaldo

The following changes since commit 85a2c56cb4454c73f56d3099d96942e7919b292f:

Merge tag 'pm-5.10-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm (2020-11-26 11:17:37 -0800)

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.10-2020-11-28

for you to fetch changes up to a9ffd0484eb4426e6befd07e7be6c01108716302:

perf probe: Change function definition check due to broken DWARF (2020-11-27 14:36:15 -0300)

----------------------------------------------------------------
perf tools for v5.10: 4th batch

- Fix die_entrypc() when DW_AT_ranges DWARF attribute not available.

- Cope with broken DWARF (missing DW_AT_declaration) generated by some recent
gcc versions.

- Do not generate CGROUP metadata events when not asked to in 'perf record'.

- Use proper CPU for shadow stats in 'perf stat'.

- Update copy of libbpf's hashmap.c, silencing tools/perf build warning.

- Fix return value in 'perf diff'.

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

https://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git/tag/?h=perf-tools-fixes-for-v5.10-2020-11-28

----------------------------------------------------------------
Arnaldo Carvalho de Melo (1):
perf tools: Update copy of libbpf's hashmap.c

Masami Hiramatsu (2):
perf probe: Fix to die_entrypc() returns error correctly
perf probe: Change function definition check due to broken DWARF

Namhyung Kim (2):
perf record: Synthesize cgroup events only if needed
perf stat: Use proper cpu for shadow stats

Zhen Lei (1):
perf diff: Fix error return value in __cmd_diff()

tools/perf/builtin-diff.c | 4 +++-
tools/perf/util/dwarf-aux.c | 28 ++++++++++++++++++++++++++--
tools/perf/util/hashmap.h | 15 +++++++++------
tools/perf/util/probe-finder.c | 3 +--
tools/perf/util/stat-display.c | 5 +----
tools/perf/util/synthetic-events.c | 3 +++
6 files changed, 43 insertions(+), 15 deletions(-)