[GIT PULL 0/9] perf/core improvements and fixes

From: Arnaldo Carvalho de Melo
Date: Mon Aug 10 2015 - 16:58:06 EST


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
<SNIP>
# 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 <acme@xxxxxxxxxx>

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