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

From: Ingo Molnar
Date: Tue Sep 29 2015 - 03:47:54 EST



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

> Hi Ingo,
>
> Please consider pulling,
>
> - Arnaldo
>
> The following changes since commit 18ab2cd3ee9d52dc64c5ae984146a261a328c4e8:
>
> perf/core, perf/x86: Change needlessly global functions and a variable to static (2015-09-28 08:09:52 +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
>
> for you to fetch changes up to e637d17757a10732fa5d573c18f20b3cd4d31245:
>
> perf tools: Enable event_config terms to tracepoint events (2015-09-28 17:30:07 -0300)
>
> ----------------------------------------------------------------
> perf/core improvements and fixes:
>
> - Accept a zero --itrace period, meaning "as often as possible". In the case
> of Intel PT that is the same as a period of 1 and a unit of 'instructions'
> (i.e. --itrace=i1i). (Adrian Hunter)
>
> - Harmonise itrace's synthesized callchains with the existing --max-stack
> tool option (Adrian Hunter)
>
> - Allow time to be displayed in nanoseconds in 'perf script' (Adrian Hunter)
>
> - Fix potential loop forever when handling Intel PT timestamps (Adrian Hunter)
>
> - Slighly improve Intel PT debug logging (Adrian Hunter)
>
> - Warn when AUX data has been lost, just like when processing PERF_RECORD_LOST
> (Adrian Hunter)
>
> - Further document export-to-postgresql.py script (Adrian Hunter)
>
> - Add option to synthesize branch stack from auxtrace data (Adrian Hunter)
>
> - Use equivalent logic to avoid using dso->kernel (Arnaldo Carvalho de Melo)
>
> - Show proper error messages when parsing bad terms for hw/sw events (He Kuang)
>
> - Tracepoint event parsing improvements (He Kuang)
>
> - Store tracing mountpoint for better error message (Jiri Olsa)
>
> - Add fixdep to tools/build, bringing it closer to the kernel counterpart, from
> where it is being lifted (Jiri Olsa)
>
> Signed-off-by: Arnaldo Carvalho de Melo <acme@xxxxxxxxxx>
>
> ----------------------------------------------------------------
> Adrian Hunter (24):
> perf auxtrace: Fix 'instructions' period of zero
> perf report: Fix sample type validation for synthesized callchains
> perf intel-pt: Fix potential loop forever
> perf intel-pt: Make logging slightly more efficient
> perf script: Allow time to be displayed in nanoseconds
> perf session: Warn when AUX data has been lost
> perf tools: Add more documentation to export-to-postgresql.py script
> perf auxtrace: Add option to synthesize branch stacks on samples
> perf report: Adjust sample type validation for synthesized branch stacks
> perf report: Also do default setup for synthesized branch stacks
> perf report: Skip events with null branch stacks
> perf inject: Set branch stack feature flag when synthesizing branch stacks
> perf intel-pt: Move branch filter logic
> perf intel-pt: Support generating branch stack
> perf report: Make max_stack value allow for synthesized callchains
> perf hists: Allow for max_stack greater than PERF_MAX_STACK_DEPTH
> perf script: Add a setting for maximum stack depth
> perf scripting python: Allow for max_stack greater than PERF_MAX_STACK_DEPTH
> perf script: Make scripting_max_stack value allow for synthesized callchains
> perf evlist: Add perf_evlist__id2evsel_strict()
> perf evlist: Add perf_evlist__remove()
> perf inject: Remove more aux-related stuff when processing instruction traces
> perf inject: Add --strip option to strip out non-synthesized events
> perf intel-pt: Add mispred-all config option to aid use with autofdo
>
> Arnaldo Carvalho de Melo (3):
> perf top: Filter symbols based on __map__is_kernel(map)
> perf hists browser: Use the map to determine if a DSO is being used as a kernel
> perf tools: Use __map__is_kernel() when synthesizing kernel module mmap records
>
> He Kuang (4):
> perf tools: Adds the config_term callback for different type events
> perf tools: Show proper error message for wrong terms of hw/sw events
> perf tools: Adds the tracepoint name parsing support
> perf tools: Enable event_config terms to tracepoint events
>
> Jiri Olsa (8):
> tools lib api fs: Store tracing mountpoint for better error message
> tools build: Add Makefile.include
> tools build: Add test for missing include
> tools build: Add fixdep dependency helper
> tools build: Move dependency copy into function
> tools build: Make the fixdep helper part of the build process
> perf tools: Rename the 'single_dep' target to 'prepare'
> tools build: Build fixdep helper from perf and basic libs
>
> tools/build/Build | 1 +
> tools/build/Build.include | 17 +-
> tools/build/Documentation/Build.txt | 52 +++--
> tools/build/Makefile | 43 ++++
> tools/build/Makefile.build | 7 +
> tools/build/Makefile.include | 6 +
> tools/build/fixdep.c | 168 ++++++++++++++++
> tools/build/tests/ex/Build | 1 +
> tools/build/tests/ex/Makefile | 13 +-
> tools/build/tests/ex/ex.c | 2 +
> tools/build/tests/ex/inc.c | 8 +
> tools/build/tests/run.sh | 27 +++
> tools/lib/api/Makefile | 6 +-
> tools/lib/api/fs/tracing_path.c | 13 +-
> tools/lib/bpf/Makefile | 6 +-
> tools/lib/lockdep/Makefile | 6 +-
> tools/perf/Documentation/intel-pt.txt | 44 ++++
> tools/perf/Documentation/itrace.txt | 4 +
> tools/perf/Documentation/perf-inject.txt | 3 +
> tools/perf/Documentation/perf-script.txt | 3 +
> tools/perf/Makefile.perf | 32 +--
> tools/perf/builtin-inject.c | 127 +++++++++++-
> tools/perf/builtin-report.c | 31 ++-
> tools/perf/builtin-script.c | 18 +-
> tools/perf/builtin-top.c | 2 +-
> tools/perf/scripts/python/export-to-postgresql.py | 221 +++++++++++++++++++++
> tools/perf/ui/browsers/hists.c | 24 ++-
> tools/perf/util/auxtrace.c | 24 ++-
> tools/perf/util/auxtrace.h | 4 +
> tools/perf/util/event.c | 2 +-
> tools/perf/util/event.h | 1 +
> tools/perf/util/evlist.c | 22 ++
> tools/perf/util/evlist.h | 3 +
> tools/perf/util/hist.c | 6 +-
> tools/perf/util/hist.h | 1 +
> .../perf/util/intel-pt-decoder/intel-pt-decoder.c | 4 +-
> tools/perf/util/intel-pt-decoder/intel-pt-log.c | 21 +-
> tools/perf/util/intel-pt-decoder/intel-pt-log.h | 38 +++-
> tools/perf/util/intel-pt.c | 135 ++++++++++++-
> tools/perf/util/parse-events.c | 151 +++++++++++---
> tools/perf/util/parse-events.h | 4 +-
> tools/perf/util/parse-events.l | 2 +-
> tools/perf/util/parse-events.y | 51 +++--
> tools/perf/util/pmu.c | 37 ++--
> .../util/scripting-engines/trace-event-python.c | 2 +-
> tools/perf/util/session.c | 12 +-
> tools/perf/util/trace-event.h | 2 +
> 47 files changed, 1240 insertions(+), 167 deletions(-)
> create mode 100644 tools/build/Build
> create mode 100644 tools/build/Makefile
> create mode 100644 tools/build/Makefile.include
> create mode 100644 tools/build/fixdep.c
> create mode 100644 tools/build/tests/ex/inc.c

Pulled, thanks a lot Arnaldo!

Ingo
--
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/