From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752794AbcAGSQC (ORCPT ); Thu, 7 Jan 2016 13:16:02 -0500 Received: from mx1.redhat.com ([209.132.183.28]:56342 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751220AbcAGSQA (ORCPT ); Thu, 7 Jan 2016 13:16:00 -0500 Date: Thu, 7 Jan 2016 19:15:55 +0100 From: Jiri Olsa To: Andi Kleen Cc: Namhyung Kim , Arnaldo Carvalho de Melo , Ingo Molnar , Peter Zijlstra , Jiri Olsa , LKML , David Ahern , Stephane Eranian , Masami Hiramatsu , Wang Nan Subject: Re: [RFC/PATCH v2] perf report: Show random usage tip on the help line Message-ID: <20160107181555.GA21164@krava.brq.redhat.com> References: <1452152782-26892-1-git-send-email-namhyung@kernel.org> <20160107164753.GA4698@two.firstfloor.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20160107164753.GA4698@two.firstfloor.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 Thu, Jan 07, 2016 at 05:47:53PM +0100, Andi Kleen wrote: > On Thu, Jan 07, 2016 at 04:46:22PM +0900, Namhyung Kim wrote: > > Currently perf report only shows a help message "For a higher level > > overview, try: perf report --sort comm,dso" unconditionally (even if > > the sort keys were used). Add more help tips and show randomly. > > > > Load tips from ${prefix}/share/doc/perf-tip/tips.txt file. > > It would be better to compile them in in at build time from > the documentation file. > > Often perf is not installed, and if people don't install they > never see the tips. +1 ;-) jirka