Re: [PATCH AUTOSEL 4.18 037/131] ftrace: Add missing check for existing hwlat thread

2018-09-06 Thread Sasha Levin
On Tue, Sep 04, 2018 at 12:43:56PM -0400, Steven Rostedt wrote: >On Sun, 2 Sep 2018 13:03:43 + >Sasha Levin wrote: > >> [ >> Note, this only fixes the symptom. The real fix was not to call >> this function when tracing_on was already one. But this still makes >> the code more robust, so we'

Re: [PATCH AUTOSEL 4.18 037/131] ftrace: Add missing check for existing hwlat thread

2018-09-04 Thread Steven Rostedt
On Sun, 2 Sep 2018 13:03:43 + Sasha Levin wrote: > [ > Note, this only fixes the symptom. The real fix was not to call > this function when tracing_on was already one. But this still makes > the code more robust, so we'll add it. > ] This patch really didn't need to be backported (which i

[PATCH AUTOSEL 4.18 037/131] ftrace: Add missing check for existing hwlat thread

2018-09-02 Thread Sasha Levin
From: Erica Bugden [ Upstream commit 82fbc8c48adffd73297e7edbd7266a89d00cc52f ] The hwlat tracer uses a kernel thread to measure latencies. The function that creates this kernel thread, start_kthread(), can be called when the tracer is initialized and when the tracer is explicitly enabled. start