lkml.org 
[lkml]   [2009]   [Jul]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch 0/4] perf_counter tools: support annotation of live kernel modules

* Mike Galbraith <efault@gmx.de> wrote:

> On Thu, 2009-07-02 at 09:17 +0200, Mike Galbraith wrote:
>
> > After I resurrect (well, try) live annotation in top...
>
> Random thought wrt live top annotation: instead of resurrecting in
> the previous form, which could be a bit intrusive display space
> wise, what do you think of this idea?
>
> Provide a kbd input snapshot trigger which builds a perf record
> (hard?) compatible file for the symbols being displayed. Start a
> background task to annotate the lot, stuffing annotate output into
> an output file.
>
> Better ideas highly welcome.

Hm, is there really a performance problem?

We need to calculate and cache the objdump annotation output once,
but after that it should be pretty fast as we just display updated
counts with the same lines over and over again. No repeated objdump
runs are needed.

Ingo


\
 
 \ /
  Last update: 2009-07-03 09:33    [W:0.154 / U:0.548 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site