[GIT PULL 0/5] perf/urgent fixes

From: Arnaldo Carvalho de Melo
Date: Thu Sep 17 2015 - 14:56:28 EST


Hi Ingo,

Please consider pulling,

- Arnaldo

The following changes since commit f6cf87f748ff9480f97ff9c5caf6d6faacf52aa1:

Merge tag 'perf-urgent-for-mingo' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/urgent (2015-09-16 09:06:54 +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

for you to fetch changes up to bf6445631c6f00882b25516a174d5073ce0c6f81:

perf tools: Bool functions shouldn't return -1 (2015-09-17 15:31:52 -0300)

----------------------------------------------------------------
perf/urgent fixes:

User visible:

- When handling perf_event_open() returning EBUSY and not being able to opendir
the procfs mount point we would tell the user that the oprofile daemon was
found by returning -1 on as the return for a bool function, oops, fix it,
found with Coccinelle (Peter Senna Tschudin).

- Fix per-pkg event reporting bug in 'perf stat' (Stephane Eranian)

Developer visible:

- Fix missing prototype for function provided when it isn't present in the
libelf present, fixing the build on RHEL/CentOS 5.1 systems, for instance
(Arnaldo Carvalho de Melo)

- Detect if the gcc and libnuma have the features needed to avoid requiring
the use of NO_LIBNUMA and/or NO_AUXTRACE to build on older systems
(Arnaldo Carvalho de Melo)

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

----------------------------------------------------------------
Arnaldo Carvalho de Melo (3):
Revert "perf symbols: Fix mismatched declarations for elf_getphdrnum"
tools build: Add test for presence of numa_num_possible_cpus() in libnuma
tools build: Add test for presence of __get_cpuid() gcc builtin

Peter Senna Tschudin (1):
perf tools: Bool functions shouldn't return -1

Stephane Eranian (1):
perf stat: Fix per-pkg event reporting bug

tools/build/Makefile.feature | 8 ++++++--
tools/build/feature/Makefile | 10 +++++++++-
tools/build/feature/test-all.c | 10 ++++++++++
tools/build/feature/test-get_cpuid.c | 7 +++++++
tools/build/feature/test-numa_num_possible_cpus.c | 6 ++++++
tools/perf/config/Makefile | 20 +++++++++++++++-----
tools/perf/util/stat.c | 16 ++++++++++++++--
tools/perf/util/symbol-elf.c | 2 +-
tools/perf/util/util.c | 2 +-
9 files changed, 69 insertions(+), 12 deletions(-)
create mode 100644 tools/build/feature/test-get_cpuid.c
create mode 100644 tools/build/feature/test-numa_num_possible_cpus.c
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/