Re: [GIT PULL 00/10] perf/core improvements and fixes

From: Ingo Molnar
Date: Wed May 03 2017 - 13:30:21 EST



* Arnaldo Carvalho de Melo <acme@xxxxxxxxxx> wrote:

> Hi Ingo,
>
> Please consider pulling,
>
> - Arnaldo
>
> Test results at the end of this message, as usual.
>
> The following changes since commit fd7647979a3948dae4fc6f25dbbdf9ba269bed78:
>
> Merge tag 'perf-core-for-mingo-4.12-20170424' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/core (2017-04-24 23:31:35 +0200)
>
> are available in the git repository at:
>
> git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git tags/perf-core-for-mingo-4.12-20170503
>
> for you to fetch changes up to 4341ec6b3db4c3e903d6c44958722918baec1e59:
>
> perf config: Refactor a duplicated code for obtaining config file name (2017-05-02 18:23:12 -0300)
>
> ----------------------------------------------------------------
> perf/core improvements and fixes:
>
> Fixes:
>
> - Support setting probes in versioned user space symbols, such as
> pthread_create@@GLIBC_2.1, picking the default one, more work
> needed to make it possible to set it on the other versions, as
> the 'perf probe' syntax already uses @ for other purposes.
> (Paul Clarke)
>
> - Do not special case address zero as an error for routines that
> return addresses (symbol lookup), instead use the return as the
> success/error indication and pass a pointer to return the address,
> fixing 'perf test vmlinux' (the one that compares address between
> vmlinux and kallsyms) on s/390, where the '_text' address is equal
> to zero (Arnaldo Carvalho de Melo)
>
> Infrastructure:
>
> - More header sanitization, moving stuff out of util.h into
> more appropriate headers and objects and sometimes creating
> new ones (Arnaldo Carvalho de Melo)
>
> - Refactor a duplicated code for obtaining config file name (Taeung Song)
>
> Signed-off-by: Arnaldo Carvalho de Melo <acme@xxxxxxxxxx>
>
> ----------------------------------------------------------------
> Arnaldo Carvalho de Melo (8):
> perf buildid: Move prototypes from util.h to build-id.h
> perf tools: Move event prototypes from util.h to event.h
> perf memswap: Split the byteswap memory range wrappers from util.[ch]
> perf tools: Move HAS_BOOL define to where perl headers are used
> perf ui gtk: Move gtk .so name to the only place where it is used
> perf units: Move parse_tag_value() to units.[ch]
> tools lib string: Adopt prefixcmp() from perf and subcmd
> perf symbols: Accept symbols starting at address 0
>
> Paul Clarke (1):
> perf symbols: Allow user probes on versioned symbols
>
> Taeung Song (1):
> perf config: Refactor a duplicated code for obtaining config file name
>
> tools/include/linux/string.h | 2 +
> tools/lib/string.c | 9 +++
> tools/lib/subcmd/help.c | 1 +
> tools/lib/subcmd/parse-options.c | 1 +
> tools/lib/subcmd/subcmd-util.h | 9 ---
> tools/perf/arch/powerpc/util/sym-handling.c | 12 ++++
> tools/perf/builtin-buildid-cache.c | 13 ++--
> tools/perf/builtin-c2c.c | 1 +
> tools/perf/builtin-config.c | 19 +++---
> tools/perf/builtin-top.c | 2 +-
> tools/perf/builtin-trace.c | 1 +
> tools/perf/perf.c | 1 +
> tools/perf/tests/hists_cumulate.c | 1 +
> tools/perf/tests/hists_filter.c | 1 +
> tools/perf/tests/hists_output.c | 1 +
> tools/perf/tests/sdt.c | 1 -
> tools/perf/ui/setup.c | 3 +
> tools/perf/util/Build | 1 +
> tools/perf/util/build-id.h | 4 ++
> tools/perf/util/event.c | 10 +--
> tools/perf/util/event.h | 12 +++-
> tools/perf/util/evsel.c | 1 +
> tools/perf/util/header.c | 1 +
> tools/perf/util/intel-pt.c | 1 +
> tools/perf/util/machine.c | 28 +++++----
> tools/perf/util/map.c | 5 --
> tools/perf/util/map.h | 5 +-
> tools/perf/util/memswap.c | 24 ++++++++
> tools/perf/util/memswap.h | 7 +++
> .../perf/util/scripting-engines/trace-event-perl.c | 4 +-
> tools/perf/util/session.c | 1 +
> tools/perf/util/strbuf.c | 9 ---
> tools/perf/util/symbol.c | 72 ++++++++++++++++------
> tools/perf/util/symbol.h | 11 ++++
> tools/perf/util/units.c | 29 +++++++++
> tools/perf/util/units.h | 7 +++
> tools/perf/util/util.c | 49 ---------------
> tools/perf/util/util.h | 26 --------
> 38 files changed, 230 insertions(+), 155 deletions(-)
> create mode 100644 tools/perf/util/memswap.c
> create mode 100644 tools/perf/util/memswap.h

Pulled, thanks a lot Arnaldo!

Ingo