From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754228AbbE1SHM (ORCPT ); Thu, 28 May 2015 14:07:12 -0400 Received: from mga11.intel.com ([192.55.52.93]:52151 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753287AbbE1SHG (ORCPT ); Thu, 28 May 2015 14:07:06 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.13,513,1427785200"; d="scan'208";a="736898198" Date: Thu, 28 May 2015 11:07:05 -0700 From: Andi Kleen To: Jiri Olsa Cc: Sukadev Bhattiprolu , mingo@redhat.com, Michael Ellerman , Arnaldo Carvalho de Melo , Paul Mackerras , namhyung@kernel.org, linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 09/10] perf, tools: Add a --no-desc flag to perf list Message-ID: <20150528180705.GQ7484@tassilo.jf.intel.com> References: <1432761809-4344-1-git-send-email-sukadev@linux.vnet.ibm.com> <1432761809-4344-10-git-send-email-sukadev@linux.vnet.ibm.com> <20150528123914.GJ12392@krava.redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150528123914.GJ12392@krava.redhat.com> 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 On Thu, May 28, 2015 at 02:39:14PM +0200, Jiri Olsa wrote: > On Wed, May 27, 2015 at 02:23:28PM -0700, Sukadev Bhattiprolu wrote: > > From: Andi Kleen > > > > Add a --no-desc flag to perf list to not print the event descriptions > > that were earlier added for JSON events. This may be useful to > > get a less crowded listing. > > > > It's still default to print descriptions as that is the more useful > > default for most users. > > I might not be typical user, but the first thing I tried to > explore was 'perf list -v' ;-) > > would it be better to have just the list with event names for: > $ perf list > > and with descriptions for: > $ perf list -v > > not sure we already discussed this.. It was discussed last time. I think it's better to have descriptions by default. Far more user friendly. One thing we could in theory do with -v is to switch between Brief and Public Description (the later is often more verbose). Would need some changes to the alias code to have two descriptions though. -Andi -- ak@linux.intel.com -- Speaking for myself only