From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756539AbbHZP6e (ORCPT ); Wed, 26 Aug 2015 11:58:34 -0400 Received: from casper.infradead.org ([85.118.1.10]:42795 "EHLO casper.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756377AbbHZP6c (ORCPT ); Wed, 26 Aug 2015 11:58:32 -0400 From: Arnaldo Carvalho de Melo To: Ingo Molnar Cc: linux-kernel@vger.kernel.org, Arnaldo Carvalho de Melo , Adrian Hunter , Borislav Petkov , David Ahern , Frederic Weisbecker , Jiri Olsa , Masami Hiramatsu , Namhyung Kim , pi3orama@163.com, Stephane Eranian , Steven Rostedt , Sukadev Bhattiprolu , Wang Nan , Zefan Li , Arnaldo Carvalho de Melo Subject: [GIT PULL 00/22] perf/core improvements and fixes Date: Wed, 26 Aug 2015 12:57:50 -0300 Message-Id: <1440604692-26918-1-git-send-email-acme@kernel.org> X-Mailer: git-send-email 2.1.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-SRS-Rewrite: SMTP reverse-path rewritten from by casper.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 replaces the previous perf-core-for-mingo pull req, replacing the last patch in that series and adding a few more fixes from Jiri and Wang, Thanks, - Arnaldo The following changes since commit 0e53909a1cf0153736fb52c216558a65530d8c40: Merge tag 'perf-core-for-mingo' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/core (2015-08-22 08:45:46 +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 a2fb3382edbea83c6f2bf6ac15e3673b2e254aad: tracing/uprobes: Do not print '0x (null)' when offset is 0 (2015-08-26 10:43:01 -0300) ---------------------------------------------------------------- perf/core improvements and fixes: User visible: - Add support for using several Intel PT features (CYC, MTC packets), the relevant documentation was updated: tools/perf/Documentation/intel-pt.txt, briefly describing those packets, its purposes, how to configure them in the event config terms and relevant external documentation for further reading. (Adrian Hunter) - Introduce support for probing at an absolute address, for user and kernel 'perf probe's, useful when one have the symbol maps on a developer machine but not on an embedded system (Wang Nan) - Fix 'perf probe' list results when a symbol can't be found or the address is zero and when an offset is provided without a function (Wang Nan) - Do not print '0x (null)' in uprobes when offset is zero (Wang Nan) - Clear the progress bar at the end of a ordered_events flush, fixing an UI artifact when, after ordering the events the screen doesn't get completely redraw, for instance, when an error window covers just the center of the screen and waits for user input. (Arnaldo Carvalho de Melo) - Fix 'annotate' segfault by resetting the dso find_symbol cache when removing symbols (Arnaldo Carvalho de Melo) Infrastructure: - Allow duplicate objects in the object list, just like it is possible to have things like this, in the kernel: (Jiri Olsa) drivers/Makefile:obj-$(CONFIG_PCI) += usb/ drivers/Makefile:obj-$(CONFIG_USB_GADGET) += usb/ - Fix Intel PT 'instructions' sample period (Adrian Hunter) - Prevent segfault when reading probe point with absolute address (Wang Nan) Build fixes: - Fix tarball build broken by pt/bts (Adrian Hunter) - Remove export.h from MANIFEST, fixing the perf tarball make target (Jiri Olsa) Signed-off-by: Arnaldo Carvalho de Melo ---------------------------------------------------------------- Adrian Hunter (11): perf tools: Fix tarball build broken by pt/bts perf tools: Fix Intel PT 'instructions' sample period perf tools: Add Intel PT support for PSB periods perf tools: Add new Intel PT packet definitions perf tools: Pass Intel PT information for decoding MTC and CYC perf tools: Add Intel PT support for decoding MTC packets perf tools: Add Intel PT support for using MTC packets perf tools: Add Intel PT support for decoding CYC packets perf tools: Add Intel PT support for using CYC packets perf tools: Add Intel PT support for decoding TRACESTOP packets perf tools: Update Intel PT documentation Arnaldo Carvalho de Melo (3): perf annotate: Reset the dso find_symbol cache when removing symbols perf ui tui progress: Implement the ui_progress_ops->finish() method perf ordered_events: Clear the progress bar at the end of a flush Jiri Olsa (2): perf tools: Remove export.h from MANIFEST tools build: Allow duplicate objects in the object list Wang Nan (6): perf probe: Prevent segfault when reading probe point with absolute address perf probe: Fix list result when symbol can't be found perf probe: Fix list result when address is zero perf probe: Fix error reported when offset without function perf probe: Support probing at absolute address tracing/uprobes: Do not print '0x (null)' when offset is 0 kernel/trace/trace_uprobe.c | 17 +- tools/build/Documentation/Build.txt | 1 + tools/build/Makefile.build | 2 +- tools/build/tests/ex/Build | 1 + tools/perf/Documentation/intel-pt.txt | 194 ++++++- tools/perf/MANIFEST | 1 - tools/perf/arch/x86/util/intel-pt.c | 271 +++++++++- tools/perf/builtin-annotate.c | 1 + tools/perf/ui/tui/progress.c | 19 +- tools/perf/util/dso.h | 2 + tools/perf/util/intel-pt-decoder/inat.c | 2 +- tools/perf/util/intel-pt-decoder/inat.h | 2 +- tools/perf/util/intel-pt-decoder/inat_types.h | 29 ++ tools/perf/util/intel-pt-decoder/insn.c | 4 +- tools/perf/util/intel-pt-decoder/insn.h | 2 +- .../perf/util/intel-pt-decoder/intel-pt-decoder.c | 555 ++++++++++++++++++++- .../perf/util/intel-pt-decoder/intel-pt-decoder.h | 5 + .../util/intel-pt-decoder/intel-pt-insn-decoder.c | 2 +- .../util/intel-pt-decoder/intel-pt-pkt-decoder.c | 142 +++++- .../util/intel-pt-decoder/intel-pt-pkt-decoder.h | 6 + tools/perf/util/intel-pt.c | 67 ++- tools/perf/util/intel-pt.h | 5 + tools/perf/util/ordered-events.c | 3 + tools/perf/util/probe-event.c | 210 +++++++- tools/perf/util/probe-event.h | 4 + tools/perf/util/probe-finder.c | 21 +- tools/perf/util/symbol.c | 10 + 27 files changed, 1481 insertions(+), 97 deletions(-) create mode 100644 tools/perf/util/intel-pt-decoder/inat_types.h