Re: [PATCH 0/3] tracing: Rewrite the function filter code
From: Jiri Olsa
Date: Sun Mar 11 2018 - 15:54:24 EST
On Fri, Mar 09, 2018 at 09:34:42PM -0500, Steven Rostedt wrote:
SNIP
> Special thanks goes out to Al for his patience and his time that he spent in
> educating us in a proper logical parser.
>
> Two patches were added to do some initial clean up. The last patch
> implements Al's suggestions. I wrote up a very lengthy comment describing
> what Al taught us in my own words (hopefully I got it right), and the
> implementation is similar to what Al showed with a few changes (again,
> hopefully I got that right too). I tested this with lots of different
> filters and it looks to be holding up.
>
>
> Jiri,
>
> This affects perf as well. I ran some tests and I believe I got
> it woking as it does today.
nice, it looks ok to me.. I guess the only concern is the filter for
ftrace:function event, which uses the pred parsing code just to get
the 'ip == ...' pairs and feeds it to ftrace_ops filter api
I'll check and make some tests
I think tracepoint events filters should be working without any special
care because they use the same api as ftrace filters
jirka