]> git.baikalelectronics.ru Git - kernel.git/commit
tracing/hwlat: Honor the tracing_cpumask
authorKevin Hao <haokexin@gmail.com>
Thu, 30 Jul 2020 08:23:18 +0000 (16:23 +0800)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Thu, 30 Jul 2020 23:35:04 +0000 (19:35 -0400)
commitf9c56396f56bf5b48fa13ccecd020a9f6fb8715b
tree80439412b58d1b15ab03235fe83d4ceb0b1396bd
parent63d95016c76c21a171140841ae062f62c2e383af
tracing/hwlat: Honor the tracing_cpumask

In calculation of the cpu mask for the hwlat kernel thread, the wrong
cpu mask is used instead of the tracing_cpumask, this causes the
tracing/tracing_cpumask useless for hwlat tracer. Fixes it.

Link: https://lkml.kernel.org/r/20200730082318.42584-2-haokexin@gmail.com
Cc: Ingo Molnar <mingo@redhat.com>
Cc: stable@vger.kernel.org
Fixes: c778fcf7a4c1 ("tracing: Have hwlat trace migrate across tracing_cpumask CPUs")
Signed-off-by: Kevin Hao <haokexin@gmail.com>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
kernel/trace/trace_hwlat.c