[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4F59629E.6090909@lge.com>
Date: Fri, 09 Mar 2012 10:53:34 +0900
From: Namhyung Kim <namhyung.kim@....com>
To: Ingo Molnar <mingo@...e.hu>
CC: Namhyung Kim <namhyung@...il.com>, Arun Sharma <asharma@...com>,
Arnaldo Carvalho de Melo <acme@...hat.com>,
Peter Zijlstra <peterz@...radead.org>,
Stephane Eranian <eranian@...gle.com>,
linux-kernel@...r.kernel.org, dsahern@...il.com, ravitillo@....gov,
khandual@...ux.vnet.ibm.com, robert.richter@....com,
ming.m.lin@...el.com, vweaver1@...s.utk.edu, andi@...stfloor.org
Subject: Re: [RFC] perf report: Implement symbol filtering on TUI
Hi,
2012-03-08 7:44 PM, Ingo Molnar wrote:
>
> * Namhyung Kim <namhyung.kim@....com> wrote:
>
>> Hi, Ingo
>>
>> 2012-03-07 3:07 PM, Ingo Molnar wrote:
>>>
>>> * Namhyung Kim <namhyung.kim@....com> wrote:
>>>
>>>> As Ingo requested, symbol filtering feature was missing on TUI.
>>>> Add 's' key to get input from user, and do simple filtering by
>>>> strstr(). To turn filtering off, just enter no name by pressing
>>>> 's' followed by ENTER.
>>>>
>>>> There should be many issues, but I just want to release this
>>>> to get some feedbacks.
>>>
>>> I'd love it if in addition to the hotkey, if I typed the obvious
>>> sequence:
>>>
>>> $ perf report sched
>>>
>>> ... then it would turn into such a filter automagically.
>>>
>>
>> Oh, I implemented that already. Please test it! :)
>
> Cool - I tried it out and it works just as it should!
>
> I noticed two details:
>
> - "perf report sched | less" does not work as expected - such
> kinds of features should be GUI-frontend agnostic.
>
Will fix.
> - 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?
> Anyway, apart from these two details:
>
> Tested-by: Ingo Molnar <mingo@...e.hu>
>
Thanks for testing and suggestions.
Namhyung
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists