Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756193Ab3EQOWz (ORCPT ); Fri, 17 May 2013 10:22:55 -0400 Received: from mx1.redhat.com ([209.132.183.28]:27082 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755317Ab3EQOWy (ORCPT ); Fri, 17 May 2013 10:22:54 -0400 Date: Fri, 17 May 2013 16:22:29 +0200 From: Jiri Olsa To: Namhyung Kim Cc: Arnaldo Carvalho de Melo , Peter Zijlstra , Paul Mackerras , Ingo Molnar , Namhyung Kim , LKML , David Ahern , Stephane Eranian Subject: Re: [PATCH 2/9] perf top: Fix percent output when no samples collected Message-ID: <20130517142229.GC3848@krava.brq.redhat.com> References: <1368497347-9628-1-git-send-email-namhyung@kernel.org> <1368497347-9628-3-git-send-email-namhyung@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1368497347-9628-3-git-send-email-namhyung@kernel.org> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 665 Lines: 20 On Tue, May 14, 2013 at 11:09:00AM +0900, Namhyung Kim wrote: > From: Namhyung Kim > > If there's no sample, kernel and exact percent output at the header > looked like "-nan%". > > Signed-off-by: Namhyung Kim > --- > tools/perf/util/top.c | 23 +++++++++++++++++------ > 1 file changed, 17 insertions(+), 6 deletions(-) > Tested-by: Jiri Olsa jirka -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/