[lkml]   [2015]   [Sep]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] ftrace: allow dumping traces without tracking trace started cpus
On Sun, 06 Sep 2015 10:29:43 -0400
Sasha Levin <> wrote:

> > So it is safe to call the function cpumask_test_cpu without doing
> > checking.
> Can you point me to exactly where trace_init_global_iter() initializes
> iter->started?

Wouldn't the better solution be to initialize it in that function,
instead of checking if it is NULL? I think that's the true fix.
"started" should not be ignored.

-- Steve

 \ /
  Last update: 2015-09-08 16:41    [W:0.088 / U:1.636 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site