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

From: Ingo Molnar
Date: Thu Aug 17 2017 - 03:45:29 EST



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

> From: Arnaldo Carvalho de Melo <acme@xxxxxxxxxx>
>
> Hi Ingo,
>
> Please consider pulling,
>
> - Arnaldo
>
> Test results at the end of this message, as usual.
>
> The following changes since commit cf31b7dd51b542f9a9b2d0de416b5524dfdb1cf2:
>
> Merge tag 'perf-core-for-mingo-4.14-20170814' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/core (2017-08-14 19:38:40 +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.14-20170816
>
> for you to fetch changes up to 35435cd06081d7db96bc617b65ba556f8e24340e:
>
> perf test shell: Replace '|&' with '2>&1 |' to work with more shells (2017-08-16 16:23:26 -0300)
>
> ----------------------------------------------------------------
> perf core improvements and fixes:
>
> New features:
>
> - Support exporting Intel PT data to sqlite3 with python perf scripts,
> this is in addition to the postgresql support that was already there (Adrian Hunter)
>
> Infrastructure:
>
> - Handle perf tool builds with less features in perf shell tests, such
> as those with NO_LIBDWARF=1 or even without 'perf probe' (Arnaldo Carvalho de Melo)
>
> - Replace '|&' with '2>&1 |' to work with more shells in the just
> introduced perf test shell harness (Kim Phillips)
>
> Architecture related fixes:
>
> - Fix endianness problem when loading parameters in the BPF prologue
> generated by perf, noticed using 'perf test BPF' in s390x systems (Wang Nan, Thomas Richter)
>
> Signed-off-by: Arnaldo Carvalho de Melo <acme@xxxxxxxxxx>
>
> ----------------------------------------------------------------
> Adrian Hunter (5):
> perf scripts python: Fix missing call_path_id in export-to-postgresql script
> perf scripts python: Fix query in call-graph-from-postgresql.py
> perf script python: Add support for exporting to sqlite3
> perf script python: Rename call-graph-from-postgresql.py to call-graph-from-sql.py
> perf script python: Add support for sqlite3 to call-graph-from-sql.py
>
> Arnaldo Carvalho de Melo (3):
> perf tests shell: Remove duplicate skip_if_no_debuginfo() function
> perf test shell: Check if 'perf probe' is available, skip tests if not
> perf test shell vfs_getname: Skip for tools built with NO_LIBDWARF=1
>
> Kim Phillips (1):
> perf test shell: Replace '|&' with '2>&1 |' to work with more shells
>
> Wang Nan (1):
> perf bpf: Fix endianness problem when loading parameters in prologue
>
> tools/perf/Documentation/intel-pt.txt | 6 +-
> .../scripts/python/bin/export-to-sqlite-record | 8 +
> .../scripts/python/bin/export-to-sqlite-report | 29 ++
> ...h-from-postgresql.py => call-graph-from-sql.py} | 70 ++--
> tools/perf/scripts/python/export-to-postgresql.py | 5 +-
> tools/perf/scripts/python/export-to-sqlite.py | 451 +++++++++++++++++++++
> tools/perf/tests/bpf-script-test-prologue.c | 4 +-
> tools/perf/tests/shell/lib/probe.sh | 6 +
> tools/perf/tests/shell/lib/probe_vfs_getname.sh | 13 +-
> tools/perf/tests/shell/probe_vfs_getname.sh | 4 +
> .../tests/shell/record+script_probe_vfs_getname.sh | 4 +
> .../perf/tests/shell/trace+probe_libc_inet_pton.sh | 5 +-
> tools/perf/tests/shell/trace+probe_vfs_getname.sh | 4 +
> tools/perf/util/bpf-prologue.c | 49 ++-
> 14 files changed, 611 insertions(+), 47 deletions(-)
> create mode 100644 tools/perf/scripts/python/bin/export-to-sqlite-record
> create mode 100644 tools/perf/scripts/python/bin/export-to-sqlite-report
> rename tools/perf/scripts/python/{call-graph-from-postgresql.py => call-graph-from-sql.py} (87%)
> create mode 100644 tools/perf/scripts/python/export-to-sqlite.py
> create mode 100644 tools/perf/tests/shell/lib/probe.sh

Pulled, thanks a lot Arnaldo!

Ingo