]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
tracing: Fix userstacktrace option for instances
authorSteven Rostedt (VMware) <rostedt@goodmis.org>
Fri, 4 Dec 2020 21:36:16 +0000 (16:36 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 11 Dec 2020 12:22:08 +0000 (13:22 +0100)
commitf05f0db4db8bec05f4fa09d97870774f837ee9fe
treebee9771976883915cf866a8a30b02c62c6f56365
parentda4d792e74cecbee9c2e6f1a2db3dfd6849f6d45
tracing: Fix userstacktrace option for instances

commit bcee5278958802b40ee8b26679155a6d9231783e upstream.

When the instances were able to use their own options, the userstacktrace
option was left hardcoded for the top level. This made the instance
userstacktrace option bascially into a nop, and will confuse users that set
it, but nothing happens (I was confused when it happened to me!)

Cc: stable@vger.kernel.org
Fixes: 16270145ce6b ("tracing: Add trace options for core options to instances")
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
kernel/trace/trace.c