Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757911AbZFYPGB (ORCPT ); Thu, 25 Jun 2009 11:06:01 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752858AbZFYPFy (ORCPT ); Thu, 25 Jun 2009 11:05:54 -0400 Received: from sj-iport-6.cisco.com ([171.71.176.117]:26372 "EHLO sj-iport-6.cisco.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752747AbZFYPFx (ORCPT ); Thu, 25 Jun 2009 11:05:53 -0400 X-IronPort-AV: E=Sophos;i="4.42,290,1243814400"; d="scan'208";a="331665954" From: Roland Dreier To: Jaswinder Singh Rajput Cc: Thomas Gleixner , Ingo Molnar , Peter Zijlstra , LKML Subject: Re: [PATCH -tip] perf_counter tools: shorten names for events References: <1245760130.3776.6.camel@localhost.localdomain> <20090623195656.GC8777@elte.hu> <1245876060.3038.7.camel@localhost.localdomain> <20090625092409.GC23547@elte.hu> <1245936216.5308.43.camel@hpdv5.satnam> X-Message-Flag: Warning: May contain useful information Date: Thu, 25 Jun 2009 08:05:55 -0700 In-Reply-To: <1245936216.5308.43.camel@hpdv5.satnam> (Jaswinder Singh Rajput's message of "Thu, 25 Jun 2009 18:53:36 +0530") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.91 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-OriginalArrivalTime: 25 Jun 2009 15:05:56.0077 (UTC) FILETIME=[70B0A1D0:01C9F5A6] Authentication-Results: sj-dkim-4; header.From=rdreier@cisco.com; dkim=pass ( sig from cisco.com/sjdkim4002 verified; ); Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1092 Lines: 24 > This still looks ugly and lines are again long check for > 'L1-dcache-prefetch-misses' and does not solve the purpose : > > Performance counter stats for 'ls -lR /usr/include/': > > 254259235 L1-dcache-loads (scaled from 22.69%) > 1129360 L1-dcache-load-misses (scaled from 23.05%) > 151929 L1-dcache-stores (scaled from 22.94%) > 395089 L1-dcache-prefetches (scaled from 23.30%) > 273699 L1-dcache-prefetch-misses (scaled from 23.19%) > 253780608 L1-icache-loads (scaled from 23.07%) > 4014781 L1-icache-load-misses (scaled from 23.16%) But even the longest line there (dcache-prefetch-misses) is only 64 columns long, so you could just align the "(scaled" part a little further to the right and keep the output under, say, 72 columns. - R. -- 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/