]> 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:39:06 +0000 (13:39 +0100)
commit76dac5d2cb099713db10330b621bc8c97f74981e
tree65e277d1bef324a9f1e3d4f4ccbe3f630712b873
parent2ed216dbbe0a73147bdb90176fabc734db93703a
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