Re: [PATCH] ftrace: Add missing check for existing hwlat thread
From: Thomas Gleixner
Date: Wed Aug 01 2018 - 16:07:18 EST
On Wed, 1 Aug 2018, Steven Rostedt wrote:
> On Wed, 1 Aug 2018 21:59:38 +0200 (CEST)
> Thomas Gleixner <tglx@xxxxxxxxxxxxx> wrote:
>
> > > This looks like it is treating the symptom and not the disease.
> >
> > My bad. We looked at the other instances of tracers and they all have
> > protection against this kind of call sequence ...
>
> Probably because they were all fixing the symptom ;-)
:)
> I'm going to keep Erica's patch and add a WARN_ON() to it just in case.
> But can you still check if the patch I gave fixes it too?
Sure