Re: [RFC] perf report: Implement symbol filtering on TUI

From: Ingo Molnar
Date: Fri Mar 09 2012 - 02:36:42 EST



* Namhyung Kim <namhyung.kim@xxxxxxx> wrote:

> > - unknown symbols are not matched, and thus they will show up
> > indiscrimnately even though I only want to see them if the
> > filter is something like '0x' or 'unknown'.
> >
>
> Since they have no symbol. :) In the current implementation,
> it will actually show you such symbols if you enter '0x' or
> 'unknown' as a filter unless there're symbols that have those
> letters in its name.
>
> I can think of 3 solutions for this now:
>
> 1. Adding a special filter keyword (like 'unknown'). But there's
> probably some symbols which have those letters.
>
> 2. If filter string consists of (hex-) digits only, it will only
> show hist entries doesn't have symbols, or tries to match based on
> its ip.
>
> 3. Implement zooming-in to "unknown" dso. Maybe it's a different
> issue, but I think it's good to have and it'll helps this too.
>
> What do you guys think?

Well, the main problem I had was that they showed up in the
'perf report sched' filtered output and messed it up.

I.e. I'm not interested in unknown symbols much, I'm interested
in *not* seeing them when I type 'perf report sched'.

Thanks,

Ingo
--
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/