From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758594AbcC2Xnq (ORCPT ); Tue, 29 Mar 2016 19:43:46 -0400 Received: from bombadil.infradead.org ([198.137.202.9]:35568 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932373AbcC2Xlq (ORCPT ); Tue, 29 Mar 2016 19:41:46 -0400 From: Arnaldo Carvalho de Melo To: Ingo Molnar Cc: linux-kernel@vger.kernel.org, Arnaldo Carvalho de Melo , Adrian Hunter , Andi Kleen , Clark Williams , David Ahern , Dima Kogan , Jiri Olsa , Namhyung Kim , Peter Zijlstra , Stephane Eranian , Taeung Song , Wang Nan , Arnaldo Carvalho de Melo Subject: [GIT PULL 00/11] perf/core improvements and fixes Date: Tue, 29 Mar 2016 20:41:18 -0300 Message-Id: <1459294889-12148-1-git-send-email-acme@kernel.org> X-Mailer: git-send-email 2.5.5 X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Ingo, Please consider pulling, this is on top of my previously submitted acme/perf/urgent, so that we can test Andi's udis86 work on 'perf script'. This is now test built in several more docker images, including minimal feature cross-compiler builds ones: # dm minimal-debian-experimental-x-mips64: Ok minimal-debian-experimental-x-mips64el: Ok minimal-debian-experimental-x-mipsel: Ok minimal-ubuntu-x-arm: Ok minimal-ubuntu-x-arm64: Ok minimal-ubuntu-x-ppc64: Ok minimal-ubuntu-x-ppc64el: Ok alldeps-debian: Ok alldeps-mageia: Ok alldeps-rhel7: Ok alldeps-centos: Ok alldeps-opensuse: Ok alldeps-ubuntu: Ok # Those x-arch cross docker images already allow me to avoid introducing bugs like the powerpc one Sukadev spotted. I need to figure out how to install more devel packages for things like libelf-devel:arch in debian/ubuntu, I almost got there with 'dpkg --add-architecture arch', but I still need to figure out how to find the list of multilib enabled devel packages to allow me to have devel packages for other arches than the native one... - Arnaldo The following changes since commit 3ea223adcb0c5893a6dc8ed3a84dce264cbb61d6: perf tools: Add missing initialization of perf_sample.cpumode in synthesized samples (2016-03-29 20:03:56 -0300) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git tags/perf-core-for-mingo-20160329 for you to fetch changes up to 7c2927ccf0daf630cf66570f061c860c73df23c7: perf script: Add support for printing assembler (2016-03-29 20:15:16 -0300) ---------------------------------------------------------------- perf/core improvements and fixes: User visible: - Add support for printing assembler using the udis86 library (Andi Kleen) E.g.: # perf record -e intel_pt// true # perf script -F ip,sym,asm ffffffff8106399d native_write_msr_safe ret ffffffff81013728 pt_config ret $0x5b81 ffffffff810139e0 pt_event_start ret ffffffff810144c3 pt_event_add jnz 0x81014489 ffffffff81014491 pt_event_add ret ffffffff8119df62 event_sched_in.isra.93 jz 0x8119df69 ffffffff8119df78 event_sched_in.isra.93 jz event_sched_in.isra.93+506 ffffffff8119e069 event_sched_in.isra.93 call 0x81c29600 - Add support for skipping itrace instructions, useful to fast forward processor trace (Intel PT, BTS) to right after initialization code at the start of a workload (Andi Kleen) - Add support for backtraces in perl 'perf script's (Dima Kogan) - Add -U/-K (--all-user/--all-kernel) options to 'perf mem' (Jiri Olsa) - Make -f/--force option documentation consistent across tools (Jiri Olsa) Infrastructure: - Add 'perf test' to check for event times (Jiri Olsa) - 'perf config' cleanups (Taeung Song) Signed-off-by: Arnaldo Carvalho de Melo ---------------------------------------------------------------- Andi Kleen (3): perf tools: Add support for skipping itrace instructions perf tools: Add probing for udev86 library perf script: Add support for printing assembler Dima Kogan (1): perf script perl: Perl scripts now get a backtrace, like the python ones Jiri Olsa (4): perf mem: Add -U/-K (--all-user/--all-kernel) options perf tools: Make hists__collapse_insert_entry static perf tools: Make -f/--force option documentation consistent across tools perf tests: Add test to check for event times Taeung Song (3): perf config: Remove duplicated set_buildid_dir calls perf config: Rework buildid_dir_command_config to perf_buildid_config perf config: Rename 'v' to 'home' in set_buildid_dir() tools/build/Makefile.feature | 6 +- tools/build/feature/Makefile | 8 +- tools/build/feature/test-all.c | 5 + tools/build/feature/test-udis86.c | 8 + tools/perf/Documentation/intel-pt.txt | 7 + tools/perf/Documentation/itrace.txt | 8 + tools/perf/Documentation/perf-annotate.txt | 2 +- tools/perf/Documentation/perf-diff.txt | 2 +- tools/perf/Documentation/perf-mem.txt | 8 + tools/perf/Documentation/perf-report.txt | 2 +- tools/perf/Documentation/perf-script.txt | 8 +- tools/perf/builtin-mem.c | 11 +- tools/perf/builtin-script.c | 107 +++++++++- tools/perf/config/Makefile | 5 + tools/perf/perf.c | 3 +- tools/perf/tests/Build | 1 + tools/perf/tests/builtin-test.c | 4 + tools/perf/tests/event-times.c | 236 +++++++++++++++++++++ tools/perf/tests/tests.h | 1 + tools/perf/util/auxtrace.c | 7 + tools/perf/util/auxtrace.h | 2 + tools/perf/util/config.c | 57 ++--- tools/perf/util/hist.c | 5 +- tools/perf/util/hist.h | 2 - tools/perf/util/intel-bts.c | 5 + tools/perf/util/intel-pt.c | 22 +- .../perf/util/scripting-engines/trace-event-perl.c | 114 +++++++++- 27 files changed, 581 insertions(+), 65 deletions(-) create mode 100644 tools/build/feature/test-udis86.c create mode 100644 tools/perf/tests/event-times.c