[GIT PULL 00/10] perf/urgent fixes
From: Arnaldo Carvalho de Melo
Date: Thu May 12 2016 - 16:04:42 EST
Hi Ingo,
Please consider pulling, test built on:
alldeps-fedora-rawhide: Ok
alldeps-ubuntu-14.04: Ok
alldeps-ubuntu-16.04: Ok
alldeps-fedora-20: Ok
alldeps-ubuntu-12.04: Ok
minimal-debian-experimental-x-mips64: Ok
minimal-debian-experimental-x-mips64el: Ok
minimal-debian-experimental-x-mipsel: Ok
minimal-ubuntu-x-arm: Ok
minimal-ubuntu-x-arm64: Ok
minimal-ubuntu-x-ppc64: Ok
minimal-ubuntu-x-ppc64el: Ok
alldeps-debian: Ok
alldeps-mageia: Ok
alldeps-rhel7: Ok
alldeps-centos: Ok
alldeps-opensuse: Ok
- Arnaldo
The following changes since commit 9f448cd3cbcec8995935e60b27802ae56aac8cc0:
perf/core: Disable the event on a truncated AUX record (2016-05-12 14:46:11 +0200)
are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git tags/perf-urgent-for-mingo-20160512
for you to fetch changes up to 42ef8a78c1f49f53f29f0f3a6f9a5bcbc653233e:
perf stat: Fallback to user only counters when perf_event_paranoid > 1 (2016-05-12 16:25:18 -0300)
----------------------------------------------------------------
perf/urgent fixes:
User visible:
- Fallback to usermode only counters when perf_event_paranoid > 1, which
is the case now (Arnaldo Carvalho de Melo)
- Do not reassign parg after collapse_tree() in libtraceevent, which
may cause tool crashes (Steven Rostedt)
Build fixes:
- Fix the build on Fedora Rawhide, where readdir_r() is deprecated and
also wrt -Werror=unused-const-variable= + x86_32_regoffset_table on
!x86_64 (Arnaldo Carvalho de Melo)
- Fix the build on Ubuntu 12.04.5, where dwarf_getlocations() isn't
available, i.e. libdw-dev < 0.157 (Arnaldo Carvalho de Melo)
Signed-off-by: Arnaldo Carvalho de Melo <acme@xxxxxxxxxx>
----------------------------------------------------------------
Arnaldo Carvalho de Melo (9):
perf tools: Use readdir() instead of deprecated readdir_r()
perf script: Use readdir() instead of deprecated readdir_r()
perf thread_map: Use readdir() instead of deprecated readdir_r()
perf tools: Use readdir() instead of deprecated readdir_r()
perf dwarf: Guard !x86_64 definitions under #ifdef else clause
perf probe: Check if dwarf_getlocations() is available
perf evsel: Improve EPERM error handling in open_strerror()
perf evsel: Handle EACCESS + perf_event_paranoid=2 in fallback()
perf stat: Fallback to user only counters when perf_event_paranoid > 1
Steven Rostedt (1):
tools lib traceevent: Do not reassign parg after collapse_tree()
tools/build/Makefile.feature | 2 +
tools/build/feature/Makefile | 4 ++
tools/build/feature/test-all.c | 5 ++
tools/build/feature/test-dwarf_getlocations.c | 12 +++++
tools/lib/traceevent/parse-filter.c | 4 +-
tools/perf/arch/x86/util/dwarf-regs.c | 8 +--
tools/perf/builtin-script.c | 70 +++++++++++++--------------
tools/perf/builtin-stat.c | 7 ++-
tools/perf/config/Makefile | 6 +++
tools/perf/util/dwarf-aux.c | 9 ++++
tools/perf/util/event.c | 12 ++---
tools/perf/util/evsel.c | 23 ++++++++-
tools/perf/util/parse-events.c | 60 +++++++++++------------
tools/perf/util/thread_map.c | 8 +--
14 files changed, 145 insertions(+), 85 deletions(-)
create mode 100644 tools/build/feature/test-dwarf_getlocations.c