tracing: Clean up the hwlat binding code
authorSteven Rostedt (VMware) <rostedt@goodmis.org>
Tue, 31 Jan 2017 21:48:23 +0000 (16:48 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 26 Aug 2020 08:29:03 +0000 (10:29 +0200)
commitee458aa7a03a8bdbc1f70e2b11d8d08c624f313f
tree3c96c6103a669e1d72fc3becdfb1486dc08ecde2
parentb907dd1d2ddb3665ffc3c920350e7baa6772dfb2
tracing: Clean up the hwlat binding code

[ Upstream commit f447c196fe7a3a92c6396f7628020cb8d564be15 ]

Instead of initializing the affinity of the hwlat kthread in the thread
itself, simply set up the initial affinity at thread creation. This
simplifies the code.

Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
kernel/trace/trace_hwlat.c