From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965146AbcBQHjn (ORCPT ); Wed, 17 Feb 2016 02:39:43 -0500 Received: from mail-wm0-f52.google.com ([74.125.82.52]:37637 "EHLO mail-wm0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965096AbcBQHjl (ORCPT ); Wed, 17 Feb 2016 02:39:41 -0500 Date: Wed, 17 Feb 2016 08:39:37 +0100 From: Ingo Molnar To: Arnaldo Carvalho de Melo Cc: linux-kernel@vger.kernel.org, Adrian Hunter , Andi Kleen , David Ahern , Jiri Olsa , Kan Liang , Namhyung Kim , Peter Zijlstra , Stephane Eranian , Wang Nan , Arnaldo Carvalho de Melo Subject: Re: [GIT PULL 00/10] perf/core improvements and fixes Message-ID: <20160217073937.GA1566@gmail.com> References: <1455654896-14205-1-git-send-email-acme@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1455654896-14205-1-git-send-email-acme@kernel.org> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Arnaldo Carvalho de Melo wrote: > 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 > > > 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 > > ---------------------------------------------------------------- > 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 Pulled, thanks a lot Arnaldo! Ingo