public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* perf: tools/perf/design.txt is badly out of date
@ 2010-06-03 23:39 Corey Ashford
  2010-06-04  9:48 ` Peter Zijlstra
  0 siblings, 1 reply; 3+ messages in thread
From: Corey Ashford @ 2010-06-03 23:39 UTC (permalink / raw)
  To: LKML, Peter Zijlstra, Ingo Molnar; +Cc: Arnaldo Carvalho de Melo

I had a glance at tools/perf/design.txt the other day, and it
appears to be pretty far out of date.

Is design.txt a document that you want to keep the current way for
historical reasons [and the up-to-date documentation placed somewhere
else], or one that should be maintained?

I'm wondering if some/all of this documentation should move into
include/linux/perf_event.h

- Corey

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: perf: tools/perf/design.txt is badly out of date
  2010-06-03 23:39 perf: tools/perf/design.txt is badly out of date Corey Ashford
@ 2010-06-04  9:48 ` Peter Zijlstra
  2010-06-04 17:10   ` Corey Ashford
  0 siblings, 1 reply; 3+ messages in thread
From: Peter Zijlstra @ 2010-06-04  9:48 UTC (permalink / raw)
  To: Corey Ashford; +Cc: LKML, Ingo Molnar, Arnaldo Carvalho de Melo

On Thu, 2010-06-03 at 16:39 -0700, Corey Ashford wrote:
> I had a glance at tools/perf/design.txt the other day, and it
> appears to be pretty far out of date.
> 
> Is design.txt a document that you want to keep the current way for
> historical reasons [and the up-to-date documentation placed somewhere
> else], or one that should be maintained?
> 
> I'm wondering if some/all of this documentation should move into
> include/linux/perf_event.h

Its the ineffiteble fate of everything Documentation/ to be out-dated.
But yeah, that file will be woefully inaccurate by now.

Yeah, I think making perf_event.h more explanatory would be good. But I
don't think we want to go overboard there either, if comments get too
large and unwieldy they tend to bitrot just as hard as Documentation/



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: perf: tools/perf/design.txt is badly out of date
  2010-06-04  9:48 ` Peter Zijlstra
@ 2010-06-04 17:10   ` Corey Ashford
  0 siblings, 0 replies; 3+ messages in thread
From: Corey Ashford @ 2010-06-04 17:10 UTC (permalink / raw)
  To: Peter Zijlstra; +Cc: LKML, Ingo Molnar, Arnaldo Carvalho de Melo

Maybe the file should at least move to the normal burial ground for docs, Documentation, rather than where it is today tools/perf.  Perhaps there it would be easier for people to find and correct.

On 6/4/2010 2:48 AM, Peter Zijlstra wrote:
> On Thu, 2010-06-03 at 16:39 -0700, Corey Ashford wrote:
>> I had a glance at tools/perf/design.txt the other day, and it
>> appears to be pretty far out of date.
>>
>> Is design.txt a document that you want to keep the current way for
>> historical reasons [and the up-to-date documentation placed somewhere
>> else], or one that should be maintained?
>>
>> I'm wondering if some/all of this documentation should move into
>> include/linux/perf_event.h
> 
> Its the ineffiteble fate of everything Documentation/ to be out-dated.
> But yeah, that file will be woefully inaccurate by now.
> 
> Yeah, I think making perf_event.h more explanatory would be good. But I
> don't think we want to go overboard there either, if comments get too
> large and unwieldy they tend to bitrot just as hard as Documentation/
> 
> 

-- 
Regards,

- Corey

Corey Ashford
Software Engineer
IBM Linux Technology Center, Linux Toolchain
Beaverton, OR 
503-578-3507 
cjashfor@us.ibm.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-06-04 17:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-03 23:39 perf: tools/perf/design.txt is badly out of date Corey Ashford
2010-06-04  9:48 ` Peter Zijlstra
2010-06-04 17:10   ` Corey Ashford

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox