Re: [PATCH] tracing: Fix oops caused by graph notrace filter
From: Chunyu Hu
Date: Thu Jun 23 2016 - 10:59:02 EST
----- Original Message -----
> From: "Steven Rostedt" <rostedt@xxxxxxxxxxx>
> To: "Chunyu Hu" <chuhu@xxxxxxxxxx>
> Cc: linux-kernel@xxxxxxxxxxxxxxx
> Sent: Thursday, June 23, 2016 10:39:20 PM
> Subject: Re: [PATCH] tracing: Fix oops caused by graph notrace filter
>
> On Thu, 23 Jun 2016 10:20:31 -0400 (EDT)
> Chunyu Hu <chuhu@xxxxxxxxxx> wrote:
>
> > I tried the patch, if just for resolving the oops issue, it's indeed
> > enough.
> > But if we care about just this filter, and compare this with the
> > trace_graph_entry
> > filter handling, I found that, the depth 0 item will be submitted to the
> > ring buffer, not
> > respecting the filter. I still use the same steps. It's possible to show
> > schedule entry:
>
> Sure, I just wanted to make sure nothing got off, and made the quick
> patch.
>
> Want to send an updated patch that goes this route? That is, make it
> such that the latency tracers fully support the set_graph_notrace.
Sure, if your time allowing me to send it tomorrow, If not, feel free
to fix it as your way.
> -- Steve
>
>
--
Regards,
Chunyu Hu