lkml.org 
[lkml]   [2013]   [Jun]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC PATCH 4/4] perf: add timehist command

* David Ahern <dsahern@gmail.com> wrote:

> On 6/20/13 4:46 AM, Ingo Molnar wrote:
> >Looks very useful!
> >
> >This is the kind of analysis I thought 'perf sched' might one day end up
> >doing.
> >
> >Do you plan to submit it non-RFC, to be merged?
>
> Yes. Hopefully I can find time to work on it over the next 2 months
> for 3.12, 3.13 at the latest.
>
> >
> >Your tool could take over the somewhat stale 'perf sched' command as well
> >btw., while possibly carrying over some of the perf sched features like
> >'replay'.
> >
> >'perf sched record' enough events to support the ones you need:
> >
> >>> perf record -e cs -c 1 -ag -- <workload>
> >plus:
> >
> > 'perf sched sum[mary]' # show the summary
> > 'perf sched tree' # could show the tree.
> > 'perf sched hist[ogram]' # would show the histogram
> >
> >i.e. feel free to take over 'perf sched' to suit your 'timehist' workflow
> >and logic. As the main (and somewhat overworked) author of 'perf sched' I
> >have no problem with you taking it over, at all.
>
> It should be part of perf-sched. It is not at the moment for a number of
> (mostly shortcut) reasons. For the next iteration I will look at
> combining it with perf-sched and in the process I will go through the
> existing code for perf-sched.

If it's easier you could start by using your code as the starting point
and add back perf sched features after that. I find your tool
fundamentally more valuable because it's in active use.

> As an FYI I also have a daemon that provides the functionality in a
> flight recorder mode but with data dumped only when requested. Future
> project to integrate that with perf. ;-)

:-)

Thanks,

Ingo


\
 
 \ /
  Last update: 2013-06-20 18:01    [W:0.082 / U:0.580 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site