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

From: Ingo Molnar
Date: Tue Feb 21 2017 - 03:08:33 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 0c8967c9df230d2c4dde6649f410b62e01806c22:
>
> Merge tag 'perf-core-for-mingo-4.11-20170215' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/core (2017-02-16 20:53:13 +0100)
>
> 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.11-20170220
>
> for you to fetch changes up to 68ba32352d51474d163d58e084b62a12bb610b21:
>
> perf record: Honor --quiet option properly (2017-02-20 11:50:36 -0300)
>
> ----------------------------------------------------------------
> perf/core improvements and fixes:
>
> New features:
>
> - Make -a/--all-cpus be the default target in 'perf record' and 'perf stat',
> just like it is with 'perf trace' (Jiri Olsa)
>
> - Introduce -q/--quiet to the 'annotate', 'diff' and 'report', fix up
> its behaviour in 'record'. This makes the output more compact by
> elliminating headers, leaving just the histogram lines (Namhyung Kim)
>
> Fixes:
>
> - Handle offline/absent CPUs (Jan Stancek)
>
> Infrastructure:
>
> - Filter out -specs=/a/b/c from CC options when building the python
> support, allowing that feature to be built with clang (Arnaldo Carvalho de Melo)
>
> - Fix DEBUG=1 build with clang (Arnaldo Carvalho de Melo)
>
> Trivial:
>
> - Fix spelling of 'preempt' in a libtraceevent function name (Steven Rostedt)
>
> Signed-off-by: Arnaldo Carvalho de Melo <acme@xxxxxxxxxx>
>
> ----------------------------------------------------------------
> Arnaldo Carvalho de Melo (3):
> tools perf scripting python: clang doesn't have -spec, remove it
> perf python: Filter out -specs=/a/b/c from the python binding cc options
> perf session: Fix DEBUG=1 build with clang
>
> Jan Stancek (3):
> perf cpumap: Add cpu__max_present_cpu()
> perf header: Make build_cpu_topology skip offline/absent CPUs
> perf tools: Replace _SC_NPROCESSORS_CONF with max_present_cpu in cpu_topology_map
>
> Jiri Olsa (5):
> perf build: Add special fixdep cleaning rule
> perf tools: Move new_term arguments into struct parse_events_term template
> perf tools: Fail on using multiple bits long terms without value
> perf stat: Add -a as default target
> perf record: Add -a as default target
>
> Namhyung Kim (6):
> perf utils: Add perf_quiet_option()
> perf utils: Check verbose flag properly
> perf report: Add -q/--quiet option
> perf diff: Add -q/--quiet option
> perf annotate: Add -q/--quiet option
> perf record: Honor --quiet option properly
>
> Steven Rostedt (VMware) (1):
> tools lib traceevent: It's preempt not prempt
>
> tools/build/Makefile | 4 +-
> tools/build/Makefile.include | 3 +
> tools/lib/traceevent/event-parse.c | 4 +-
> tools/lib/traceevent/event-parse.h | 2 +-
> tools/perf/Documentation/perf-annotate.txt | 4 ++
> tools/perf/Documentation/perf-diff.txt | 4 ++
> tools/perf/Documentation/perf-record.txt | 2 +-
> tools/perf/Documentation/perf-report.txt | 4 ++
> tools/perf/Documentation/perf-stat.txt | 2 +-
> tools/perf/Makefile.config | 7 +++
> tools/perf/Makefile.perf | 4 +-
> tools/perf/builtin-annotate.c | 4 ++
> tools/perf/builtin-diff.c | 14 +++--
> tools/perf/builtin-mem.c | 4 +-
> tools/perf/builtin-record.c | 8 ++-
> tools/perf/builtin-report.c | 21 +++++--
> tools/perf/builtin-sched.c | 12 ++--
> tools/perf/builtin-stat.c | 11 ++--
> tools/perf/builtin-top.c | 2 +-
> tools/perf/builtin-trace.c | 6 +-
> tools/perf/pmu-events/json.c | 2 +-
> tools/perf/tests/attr.c | 2 +-
> tools/perf/tests/builtin-test.c | 2 +-
> tools/perf/tests/code-reading.c | 2 +-
> tools/perf/tests/fdarray.c | 2 +-
> tools/perf/tests/llvm.c | 2 +-
> tools/perf/tests/parse-events.c | 2 +-
> tools/perf/tests/perf-record.c | 4 +-
> tools/perf/tests/python-use.c | 2 +-
> tools/perf/tests/thread-map.c | 6 +-
> tools/perf/tests/topology.c | 4 +-
> tools/perf/tests/vmlinux-kallsyms.c | 2 +-
> tools/perf/ui/browsers/map.c | 6 +-
> tools/perf/ui/hist.c | 2 +-
> tools/perf/util/annotate.c | 2 +-
> tools/perf/util/cpumap.c | 22 +++++++
> tools/perf/util/cpumap.h | 1 +
> tools/perf/util/debug.c | 17 ++++++
> tools/perf/util/debug.h | 1 +
> tools/perf/util/dso.c | 2 +-
> tools/perf/util/env.c | 2 +-
> tools/perf/util/header.c | 33 ++++++----
> tools/perf/util/hist.c | 6 +-
> tools/perf/util/parse-events.c | 71 +++++++++++++---------
> tools/perf/util/parse-events.h | 2 +
> tools/perf/util/parse-events.y | 14 ++---
> tools/perf/util/pmu.c | 21 +++++--
> tools/perf/util/probe-event.c | 2 +-
> .../util/scripting-engines/trace-event-python.c | 4 +-
> tools/perf/util/session.c | 2 +-
> tools/perf/util/setup.py | 9 ++-
> tools/perf/util/sort.c | 8 +--
> tools/perf/util/stat.c | 2 +-
> tools/perf/util/symbol-elf.c | 2 +-
> 54 files changed, 256 insertions(+), 129 deletions(-)

Pulled, thanks a lot Arnaldo!

Ingo