Re: [patch] perf_counter tools: resurrect perf top annotation in asimple interactive form

From: Mike Galbraith
Date: Wed Jul 22 2009 - 12:46:20 EST


On Wed, 2009-07-22 at 16:49 +0200, Peter Zijlstra wrote:
> On Mon, 2009-07-20 at 13:56 +0200, Mike Galbraith wrote:
> > Comments/suggestions/clue_bats welcome.
> >
> > perf_counter tools: resurrect perf top annotation in a simple interactive form.
> >
> > This patch allows the user to select any symbol in kernel space for source level
> > annotation on the fly, switch between event counters and alter display variables.
> > When symbol details are being displayed, stopping annotation reverts to normal.
> >
> > This doesn't make top _fully_ interactive, you can only select among the events
> > you started top with, ie it doesn't stop/start event counters etc.
> >
> > known keys:
> > [d] select display delay.
> > [e] select display entries (lines).
> > [E] select annotation event counter.
> > [f] select normal display count filter.
> > [F] select annotation display count filter (percentage).
> > [qQ] quit.
> > [s] select annotation symbol and start annotation.
> > [S] stop annotation, revert to normal display.
> > [z] toggle event count zeroing.
>
> ok, so I tried this, but the screen updates overwrite this input
> screen before I can read it ;-)

That's not an input screen, it's a legend shown if you poke an unknown
key. Poking a known key prompts for input.

-Mike

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/