From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932945AbbHJU6D (ORCPT ); Mon, 10 Aug 2015 16:58:03 -0400 Received: from bombadil.infradead.org ([198.137.202.9]:60125 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932717AbbHJU56 (ORCPT ); Mon, 10 Aug 2015 16:57:58 -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 , Kan Liang , Namhyung Kim , Peter Zijlstra , Stephane Eranian , Arnaldo Carvalho de Melo Subject: [GIT PULL 0/9] perf/core improvements and fixes Date: Mon, 10 Aug 2015 17:56:24 -0300 Message-Id: <1439240193-31520-1-git-send-email-acme@kernel.org> X-Mailer: git-send-email 2.1.0 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, - Arnaldo The following changes since commit f1d800bf615b84ca253af372d2dac8cdef743a20: Merge tag 'perf-ebpf-for-mingo' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/core (2015-08-08 10:05:17 +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 4605bb55b91449a1a953a51f0334d3bc02351adb: perf evlist: Be more specific on -F/--freq (2015-08-10 17:20:26 -0300) ---------------------------------------------------------------- perf/core improvements and fixes: User visible: - Introduce 'srcfile' sort key: (Andi Kleen) # perf record -F 10000 usleep 1 # perf report --stdio --dsos '[kernel.vmlinux]' -s srcfile # Overhead Source File 26.49% copy_page_64.S 5.49% signal.c 0.51% msr.h # It can be combined with other fields, for instance, experiment with '-s srcfile,symbol'. There are some oddities in some distros and with some specific DSOs, being investigated, so your mileage may vary. - Update the column width for the "srcline" sort key (Arnaldo Carvalho de Melo) - Support per-event 'freq' term: (Namhyung Kim) $ perf record -e 'cpu/instructions,freq=1234/',cycles -c 1000 sleep 1 $ perf evlist -F cpu/instructions,freq=1234/: sample_freq=1234 cycles: sample_period=1000 $ Infrastructure: - Move perf_counts struct and functions into separate object (Jiri Olsa) - Unset perf_event_attr::freq when period term is set (Jiri Olsa) - Move callchain option parsing code to util.c (Kan Liang) Signed-off-by: Arnaldo Carvalho de Melo ---------------------------------------------------------------- Andi Kleen (2): perf tools: Support full source file paths for srcline perf report: Add support for srcfile sort key Arnaldo Carvalho de Melo (2): perf hists: hist_entry__cmp() may use he_tmp.hists, initialize it perf hists: Update the column width for the "srcline" sort key Jiri Olsa (2): perf stat: Move perf_counts struct and functions into separate object perf tools: Unset perf_event_attr::freq when period term is set Kan Liang (1): perf callchain: Move option parsing code to util.c Namhyung Kim (2): perf record: Support per-event freq term perf evlist: Be more specific on -F/--freq tools/perf/Documentation/perf-record.txt | 1 + tools/perf/Documentation/perf-report.txt | 4 ++ tools/perf/Documentation/perf-script.txt | 3 ++ tools/perf/builtin-report.c | 2 + tools/perf/builtin-script.c | 2 + tools/perf/builtin-stat.c | 1 + tools/perf/util/Build | 1 + tools/perf/util/callchain.c | 89 +------------------------------ tools/perf/util/callchain.h | 1 + tools/perf/util/counts.c | 52 ++++++++++++++++++ tools/perf/util/counts.h | 37 +++++++++++++ tools/perf/util/evsel.c | 14 ++++- tools/perf/util/evsel.h | 4 +- tools/perf/util/hist.c | 9 ++++ tools/perf/util/hist.h | 1 + tools/perf/util/parse-events.c | 6 +++ tools/perf/util/parse-events.h | 1 + tools/perf/util/parse-events.l | 1 + tools/perf/util/pmu.c | 2 +- tools/perf/util/python-ext-sources | 2 +- tools/perf/util/sort.c | 52 ++++++++++++++++++ tools/perf/util/sort.h | 2 + tools/perf/util/srcline.c | 6 ++- tools/perf/util/stat.c | 49 ----------------- tools/perf/util/stat.h | 30 ----------- tools/perf/util/util.c | 90 ++++++++++++++++++++++++++++++++ tools/perf/util/util.h | 3 ++ 27 files changed, 292 insertions(+), 173 deletions(-) create mode 100644 tools/perf/util/counts.c create mode 100644 tools/perf/util/counts.h