[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1455654896-14205-1-git-send-email-acme@kernel.org>
Date: Tue, 16 Feb 2016 17:34:46 -0300
From: Arnaldo Carvalho de Melo <acme@...nel.org>
To: Ingo Molnar <mingo@...nel.org>
Cc: linux-kernel@...r.kernel.org,
Arnaldo Carvalho de Melo <acme@...nel.org>,
Adrian Hunter <adrian.hunter@...el.com>,
Andi Kleen <ak@...ux.intel.com>,
David Ahern <dsahern@...il.com>, Jiri Olsa <jolsa@...hat.com>,
Kan Liang <kan.liang@...el.com>,
Namhyung Kim <namhyung@...nel.org>,
Peter Zijlstra <peterz@...radead.org>,
Stephane Eranian <eranian@...gle.com>,
Wang Nan <wangnan0@...wei.com>,
Arnaldo Carvalho de Melo <acme@...hat.com>
Subject: [GIT PULL 00/10] perf/core improvements and fixes
Hi Ingo,
Please consider pulling,
- Arnaldo
The following changes since commit fe7a2eaa71c55aadbf95d01d32df8dccc0db0646:
Merge tag 'perf-core-for-mingo' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/core (2016-02-16 08:45:56 +0100)
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 cb110f471025f3278978aaccb18f3164ea2b8189:
perf stat: Move noise/running printing into printout (2016-02-16 17:13:02 -0300)
----------------------------------------------------------------
perf/core improvements and fixes:
User visible:
- Make 'perf record' collect CPU cache info in the perf.data file header:
$ perf record usleep 1
[ perf record: Woken up 1 times to write data ]
[ perf record: Captured and wrote 0.017 MB perf.data (7 samples) ]
$ perf report --header-only -I | tail -10 | head -8
# CPU cache info:
# L1 Data 32K [0-1]
# L1 Instruction 32K [0-1]
# L1 Data 32K [2-3]
# L1 Instruction 32K [2-3]
# L2 Unified 256K [0-1]
# L2 Unified 256K [2-3]
# L3 Unified 4096K [0-3]
$
Will be used in 'perf c2c' and eventually in 'perf diff' to allow, for instance
running the same workload in multiple machines and then when using 'diff' show
the hardware difference. (Jiri Olsa)
- 'perf stat' now shows shadow metrics (insn per cycle, etc) in
interval mode too. E.g:
# perf stat -I 1000 -e instructions,cycles sleep 1
# time counts unit events
1.000215928 519,620 instructions # 0.69 insn per cycle
1.000215928 752,003 cycles
<SNIP>
Infrastructure:
- libapi now can also use pr_{warning,info,debug}() and that can be
set by tools using it (Jiri Olsa)
- libapi adopts filename__read_str() from perf, adds sysfs__read_str() (Jiri Olsa)
- Add check for java alternatives cmd in jvmti Makefile, so that it manages
to automatically find the right path for the JDK devel files in Ubuntu like
systems in addition to Fedora like ones (Stephane Eranian)
Signed-off-by: Arnaldo Carvalho de Melo <acme@...hat.com>
----------------------------------------------------------------
Andi Kleen (3):
perf stat: Abstract stat metrics printing
perf stat: Add support for metrics in interval mode
perf stat: Move noise/running printing into printout
Arnaldo Carvalho de Melo (1):
perf debug: Rename __eprintf(va_list args) to veprintf
Jiri Olsa (5):
tools lib api: Add debug output support
tools lib api fs: Adopt filename__read_str from perf
tools lib api fs: Add sysfs__read_str function
perf tools: Initialize libapi debug output
perf tools: Add perf data cache feature
Stephane Eranian (1):
perf jvmti: Add check for java alternatives cmd in Makefile
tools/lib/api/Build | 1 +
tools/lib/api/Makefile | 1 +
tools/lib/api/debug-internal.h | 20 +++
tools/lib/api/debug.c | 28 +++++
tools/lib/api/debug.h | 10 ++
tools/lib/api/fs/fs.c | 64 ++++++++++
tools/lib/api/fs/fs.h | 3 +
tools/perf/builtin-stat.c | 202 +++++++++++++++---------------
tools/perf/jvmti/Makefile | 6 +-
tools/perf/perf.c | 2 +
tools/perf/util/debug.c | 36 ++++--
tools/perf/util/debug.h | 1 +
tools/perf/util/env.c | 13 ++
tools/perf/util/env.h | 15 +++
tools/perf/util/header.c | 270 +++++++++++++++++++++++++++++++++++++++++
tools/perf/util/header.h | 1 +
tools/perf/util/stat-shadow.c | 211 +++++++++++++++++---------------
tools/perf/util/stat.h | 15 ++-
tools/perf/util/trace-event.c | 1 +
tools/perf/util/util.c | 48 --------
tools/perf/util/util.h | 1 -
21 files changed, 694 insertions(+), 255 deletions(-)
create mode 100644 tools/lib/api/debug-internal.h
create mode 100644 tools/lib/api/debug.c
create mode 100644 tools/lib/api/debug.h
Powered by blists - more mailing lists