From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752697AbcAFBtP (ORCPT ); Tue, 5 Jan 2016 20:49:15 -0500 Received: from mail.kernel.org ([198.145.29.136]:37260 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752510AbcAFBtM (ORCPT ); Tue, 5 Jan 2016 20:49:12 -0500 Date: Tue, 5 Jan 2016 22:49:04 -0300 From: Arnaldo Carvalho de Melo To: Namhyung Kim Cc: Andi Kleen , "Wangnan (F)" , Ingo Molnar , Peter Zijlstra , Jiri Olsa , LKML , David Ahern , Stephane Eranian , Masami Hiramatsu Subject: Re: [RFC/PATCH] perf report: Show random usage tip on the help line Message-ID: <20160106014904.GB6620@kernel.org> References: <1451972206-22481-1-git-send-email-namhyung@kernel.org> <568B638F.1030208@huawei.com> <20160105104307.GA13561@danjae.kornet> <20160105164010.GE15669@kernel.org> <20160105191925.GA8160@danjae.kornet> <20160105205552.GA25916@kernel.org> <20160105205911.GK15533@two.firstfloor.org> <20160105232937.GA18895@sejong> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20160105232937.GA18895@sejong> X-Url: http://acmel.wordpress.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 Em Wed, Jan 06, 2016 at 08:29:37AM +0900, Namhyung Kim escreveu: > On Tue, Jan 05, 2016 at 09:59:11PM +0100, Andi Kleen wrote: > > > > Thanks for the info. It's really easy doing that, nice.. > > > > I understand what he suggesting, but not why. :) > > > Because then adding new tips will not require rebuilding the tool? > > It would still need rebuilding if it was compiled in at build time. > Right. Even if we allow to rebuild the tips at runtime, I doubt users > want to update their documents.. Users don't have to update their documents if they don't, but having the tips in a separate files allows them to do that if they want, or any other method to update that tips file. > > The main advantage of having the source in in Documentation is that it's easy > > for users to read them all together (which may be useful) > Agreed. I agree that having the tips in a separate file, in the Documentation directory is easy for users to read them all together, that is another advantage, yes. - Arnaldo