Re: [GIT PULL 0/9] perf/urgent fixes

From: Ingo Molnar
Date: Wed Sep 13 2017 - 03:26:15 EST



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

> Hi Ingo,
>
> So here it is the fixes in perf-core-for-mingo-4.14-20170912, as
> requested, plus one last minute fix from Milian Wolff that helps with
> using perf as an AppImage[1].
>
> - Arnaldo
>
> [1] http://appimage.org/
>
> Test results at the end of this message, as usual.
>
> The following changes since commit 770e96125515daf1c7bc179323f2e0d488dfe6ac:
>
> Merge tag 'perf-core-for-mingo-4.14-20170901' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/urgent (2017-09-05 07:14:28 +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-4.14-20170912
>
> for you to fetch changes up to dfc9eec7716cc0a9f7eb743c703d74cd2d6085a0:
>
> perf stat: Wait for the correct child (2017-09-12 12:49:13 -0300)
>
> ----------------------------------------------------------------
> perf/urgent fixes:
>
> - Fix TUI progress bar when delta from new total from that of the
> previous update is greater than the progress "step" (screen width
> progress bar block)) (Jiri Olsa)
>
> - Make tools/lib/api make DEBUG=1 build use -D_FORTIFY_SOURCE=2 not
> to cripple debuginfo, just like tools/perf/ does (Jiri Olsa)
>
> - Avoid leaking the 'perf.data' file to workloads started from the
> 'perf record' command line by using the O_CLOEXEC open flag (Jiri Olsa)
>
> - Fix building when libunwind's 'unwind.h' file is present in the
> include path, clashing with tools/perf/util/unwind.h (Milian Wolff)
>
> - Check per .perfconfig section entry flag, not just per section (Taeung Song)
>
> - Support running perf binaries with a dash in their name, needed to
> run perf as an AppImage (Milian Wolff)
>
> - Wait for the right child by using waitpid() when running workloads
> from 'perf stat', also to fix using perf as an AppImage (Milian Wolff)
>
> Signed-off-by: Arnaldo Carvalho de Melo <acme@xxxxxxxxxx>
>
> ----------------------------------------------------------------
> Arnaldo Carvalho de Melo (1):
> tools include linux: Guard against redefinition of some macros
>
> Jiri Olsa (4):
> tools lib api: Fix make DEBUG=1 build
> perf tools: Open perf.data with O_CLOEXEC flag
> perf ui progress: Make sure we always define step value
> perf ui progress: Fix progress update
>
> Milian Wolff (3):
> perf tests: Fix compile when libunwind's unwind.h is available
> perf tools: Support running perf binaries with a dash in their name
> perf stat: Wait for the correct child
>
> Taeung Song (1):
> perf config: Check not only section->from_system_config but also item's
>
> tools/include/linux/compiler-gcc.h | 9 ++++++---
> tools/lib/api/Makefile | 8 +++++++-
> tools/perf/builtin-config.c | 2 +-
> tools/perf/builtin-stat.c | 2 +-
> tools/perf/perf.c | 14 ++++++++++----
> tools/perf/tests/dwarf-unwind.c | 2 +-
> tools/perf/ui/progress.c | 9 +++++++--
> tools/perf/util/data.c | 13 ++++++++++++-
> 8 files changed, 45 insertions(+), 14 deletions(-)

Pulled, thanks a lot Arnaldo!

Ingo