From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754138AbbGXB7b (ORCPT ); Thu, 23 Jul 2015 21:59:31 -0400 Received: from casper.infradead.org ([85.118.1.10]:39789 "EHLO casper.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752899AbbGXB71 (ORCPT ); Thu, 23 Jul 2015 21:59:27 -0400 From: Arnaldo Carvalho de Melo To: Ingo Molnar Cc: linux-kernel@vger.kernel.org, Arnaldo Carvalho de Melo , Adrian Hunter , Andi Kleen , Borislav Petkov , David Ahern , Frederic Weisbecker , Jiri Olsa , Mathieu Poirier , Namhyung Kim , Pawel Moll , Peter Zijlstra , Stephane Eranian , Steven Rostedt , Thomas Gleixner , Arnaldo Carvalho de Melo Subject: [GIT PULL 00/18] perf/core improvements and fixes Date: Thu, 23 Jul 2015 22:58:13 -0300 Message-Id: <1437703111-4930-1-git-send-email-acme@kernel.org> X-Mailer: git-send-email 2.1.0 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, - Arnaldo The following changes since commit a11c51acc52822754d66a11c15f6f6edd4d23c55: Merge tag 'perf-core-for-mingo' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/core (2015-07-21 07:58:06 +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 7c14898ba9386ee5c939bb418643ac6baff52840: perf script: Add option --show-switch-events (2015-07-23 22:51:14 -0300) ---------------------------------------------------------------- perf/core improvements and fixes: New features: - Introduce PERF_RECORD_SWITCH(_CPU_WIDE) and use it in 'record' to ask for context switches, allowing non priviledged tasks to know when they are switched in and out, which wasn't possible with the other context switch tracepoint and software events, see the patch description for a comprehensive justification (Adrian Hunter) - Stop collecting /proc/kallsyms in perf.data files, saving about 4.5MB on a typical x86-64 system, use the symbol resolution routines used in all the other tools (report, top, etc) now that we can ask libtraceevent to use perf's symbol resolution code. (Arnaldo Carvalho de Melo) User visible fixes: - Expose perf's symbol resolver to libtraceecent, so that its plugins can resolve tracepoint fields to kernel functions, like the 'function' field in the "timer:hrtimer_start tracepoint" (Arnaldo Carvalho de Melo) Infrastructure: - Map propagation of thread and cpu maps improvements, prep work for 'perf stat' new features (Jiri Olsa) Signed-off-by: Arnaldo Carvalho de Melo ---------------------------------------------------------------- Adrian Hunter (5): perf: Add PERF_RECORD_SWITCH to indicate context switches perf tools: Add new PERF_RECORD_SWITCH event perf record: Add option --switch-events to select PERF_RECORD_SWITCH events perf script: Don't assume evsel position of tracking events perf script: Add option --show-switch-events Arnaldo Carvalho de Melo (8): perf symbols: Add front end cache for DSO symbol lookup perf symbols: Introduce map__is_(kernel,kmodule)() tools lib traceevent: Allow setting an alternative symbol resolver perf symbols: Provide libtraceevent callback to resolve kernel symbols perf trace: Provide libtracevent with a kernel symbol resolver perf script: Switch from perf.data's kallsyms to perf's symbol resolver perf tools: Stop reading the kallsyms data from perf.data perf tools: Stop copying kallsyms into the perf.data file header Jiri Olsa (5): perf test: Check for refcnt in thread_map test perf evlist: Force perf_evlist__set_maps to propagate maps through events perf evlist: Use bool instead of target argument in propagate_maps() perf evlist: Tolerate NULL maps in propagate_maps perf header: Use argv style storage for cmdline feature data include/uapi/linux/perf_event.h | 31 +++++++++- kernel/events/core.c | 103 +++++++++++++++++++++++++++++++ tools/lib/traceevent/event-parse.c | 68 +++++++++++++++++++- tools/lib/traceevent/event-parse.h | 8 +++ tools/perf/Documentation/perf-record.txt | 4 ++ tools/perf/Documentation/perf-script.txt | 4 ++ tools/perf/builtin-inject.c | 1 + tools/perf/builtin-record.c | 7 +++ tools/perf/builtin-script.c | 48 ++++++++++++-- tools/perf/builtin-trace.c | 3 + tools/perf/perf.h | 1 + tools/perf/tests/thread-map.c | 4 ++ tools/perf/util/dso.h | 4 ++ tools/perf/util/event.c | 28 +++++++++ tools/perf/util/event.h | 12 ++++ tools/perf/util/evlist.c | 28 +++++++-- tools/perf/util/evlist.h | 12 ++-- tools/perf/util/evsel.c | 4 ++ tools/perf/util/header.c | 35 ++++++----- tools/perf/util/header.h | 1 + tools/perf/util/machine.c | 25 ++++++++ tools/perf/util/machine.h | 6 ++ tools/perf/util/map.c | 14 +++++ tools/perf/util/map.h | 7 +++ tools/perf/util/record.c | 10 +++ tools/perf/util/session.c | 21 +++++++ tools/perf/util/symbol.c | 7 ++- tools/perf/util/tool.h | 1 + tools/perf/util/trace-event-info.c | 22 +++---- tools/perf/util/trace-event-parse.c | 30 --------- tools/perf/util/trace-event-read.c | 28 ++++----- tools/perf/util/trace-event.c | 45 +++++++++----- tools/perf/util/trace-event.h | 1 + 33 files changed, 513 insertions(+), 110 deletions(-)