]> 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:36:46 +0000 (13:36 +0100)
commitbb8ebd2b89a4397c96b8510d0f356492326f9449
tree088710216b1481ca6f2a54eb914467832ebbb9b0
parent543327b007f34da28a996c3dd526f5508ee86a68
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
kernel/trace/trace.h