From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754699AbZHFJLT (ORCPT ); Thu, 6 Aug 2009 05:11:19 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754670AbZHFJLS (ORCPT ); Thu, 6 Aug 2009 05:11:18 -0400 Received: from mx2.mail.elte.hu ([157.181.151.9]:34639 "EHLO mx2.mail.elte.hu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754560AbZHFJLF (ORCPT ); Thu, 6 Aug 2009 05:11:05 -0400 Date: Thu, 6 Aug 2009 11:10:59 +0200 From: Ingo Molnar To: "Carlos R. Mafra" Cc: Pekka Enberg , Peter Zijlstra , LKML , Valdis.Kletnieks@vt.edu Subject: Re: perf: "Longum est iter per praecepta, breve et efficax per exempla" Message-ID: <20090806091059.GB28585@elte.hu> References: <1249409546-6343-1-git-send-email-mel@csn.ul.ie> <1249409546-6343-5-git-send-email-mel@csn.ul.ie> <20090804112246.4e6d0ab1.akpm@linux-foundation.org> <20090804195717.GA5998@elte.hu> <16246.1249484030@turing-police.cc.vt.edu> <20090805185334.GA4535@Pilar.aei.mpg.de> <84144f020908060008x34a320e2nc6a6bf8a665e51b4@mail.gmail.com> <20090806083219.GA4163@Pilar.aei.mpg.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090806083219.GA4163@Pilar.aei.mpg.de> User-Agent: Mutt/1.5.18 (2008-05-17) X-ELTE-SpamScore: -1.5 X-ELTE-SpamLevel: X-ELTE-SpamCheck: no X-ELTE-SpamVersion: ELTE 2.0 X-ELTE-SpamCheck-Details: score=-1.5 required=5.9 tests=BAYES_00 autolearn=no SpamAssassin version=3.2.5 -1.5 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Carlos R. Mafra wrote: > Hi Pekka, > > On Thu 6.Aug'09 at 10:08:44 +0300, Pekka Enberg wrote: > > Hi Carlos, > > > > On Wed, Aug 5, 2009 at 9:53 PM, Carlos R. Mafra wrote: > > > A few examples of how 'perf' can be used, from an e-mail by > > > Ingo Molnar http://lkml.org/lkml/2009/8/4/346. > > > > > > Signed-off-by: Carlos R. Mafra > > > --- > > > > > > This "patch" is my way of _suggesting_ some "documentation by examples" > > > of what 'perf' can do to the guys who can really write it :-) > > > > I was also looking for a perf "cookbook" and Ingo suggested we should > > put this stuff on the kernel.org wiki: > > > > http://perf.wiki.kernel.org/index.php/Main_Page > > > > How about just putting the email there? > > First of all I just would like to rephrase my comment in the > patch. > > It was not meant to be a suggestion for Ingo to write more > documentation per se, it was my way of pointing out that such > "documentation" is useful for beginners and that I, as Valdis, > appreciated reading it. So it was more of a "keep coming" and > don't rephrain from writing these examples in the e-mails kind of > thing. yeah, that's very useful to newbies, i agree. I'm not very good at coming up with examples for beginners myself (probably partly because i'm already across the learning curve and partly because i wrote portions of it so it's 'obvious' to my own subjective experience) - so help is welcome. Another area that could be improved is to make the screen that comes up when 'perf' is typed a bit more self-explanatory. Maybe print the URL to your "Beginner's Page" wiki page in that place? Patches are much welcome for that area as well, of course. > Now about the wiki. Yeah, that sounds great and I didn't know > about it yesterday. It will be nice if the wiki becomes a place > where people can look for such usage examples. Thanks, Ingo