Re: [PATCH] ftrace: Add missing check for existing hwlat thread

2018-08-03 Thread Erica Bugden
On Fri, 2018-08-03 at 09:37 -0400, Steven Rostedt wrote: > On Fri, 03 Aug 2018 10:46:14 +0200 > Erica Bugden wrote: > > > > > Can you try this patch?   > > > > I tested the patch below and it also fixes the problem. > > Thanks! May I add: > > Te

Re: [PATCH] ftrace: Add missing check for existing hwlat thread

2018-08-03 Thread Erica Bugden
On Wed, 2018-08-01 at 15:40 -0400, Steven Rostedt wrote: > On Wed,  1 Aug 2018 12:45:54 +0200 > > Erica Bugden wrote: > > > The hwlat tracer uses a kernel thread to measure latencies. The function > > that creates this kernel thread, start_kthread(), can be calle

[PATCH] ftrace: Add missing check for existing hwlat thread

2018-08-01 Thread Erica Bugden
wn are already serialized because they are called through the tracer core code with trace_type_lock held. Signed-off-by: Erica Bugden --- kernel/trace/trace_hwlat.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/kernel/trace/trace_hwlat.c b/kernel/trace/trace_hwlat.c index d7c8e4e..2