From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965863AbbJ1NEf (ORCPT ); Wed, 28 Oct 2015 09:04:35 -0400 Received: from mx1.redhat.com ([209.132.183.28]:35524 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965098AbbJ1NEc (ORCPT ); Wed, 28 Oct 2015 09:04:32 -0400 Date: Wed, 28 Oct 2015 14:04:28 +0100 From: Jiri Olsa To: Arnaldo Carvalho de Melo Cc: Jiri Olsa , lkml , David Ahern , Ingo Molnar , Namhyung Kim , Peter Zijlstra , "Liang, Kan" Subject: Re: [PATCH 31/52] perf stat record: Synthesize stat record data Message-ID: <20151028130428.GB5216@krava.brq.redhat.com> References: <1445784728-21732-1-git-send-email-jolsa@kernel.org> <1445784728-21732-32-git-send-email-jolsa@kernel.org> <20151027144244.GE9405@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20151027144244.GE9405@kernel.org> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Oct 27, 2015 at 11:42:44AM -0300, Arnaldo Carvalho de Melo wrote: SNIP > This is confusing... > > Anyway, now the perf.data file doesn't produce that many confusing > messages, just one, and the error reporting continues needing a > newline, oops just noticed another problem: > > [root@zoo linux]# perf stat record usleep 1 > > Performance counter stats for 'usleep 1': > > 0.520959 task-clock (msec) # 0.504 CPUs utilized > 1 context-switches # 0.002 M/sec > 0 cpu-migrations # 0.000 K/sec > 51 page-faults # 0.098 M/sec > 929738 cycles # 1.785 GHz > 625885 stalled-cycles-frontend # 67.32% frontend cycles idle > stalled-cycles-backend > 634514 instructions # 0.68 insns per cycle > # 0.99 stalled cycles per insn > 128859 branches # 247.350 M/sec > 7602 branch-misses # 5.90% of all branches > > 0.001034675 seconds time elapsed > > [root@zoo linux]# perf evlist > non matching sample_type[root@zoo linux]# will check, thanks, jirka