tracing: Have traceon and traceoff trigger honor the instance
If a trigger is set on an event to disable or enable tracing within an instance, then tracing should be disabled or enabled in the instance and not at the top level, which is confusing to users. Link: https://lkml.kernel.org/r/20220223223837.14f94ec3@rorschach.local.home Cc: stable@vger.kernel.org Fixes: ae63b31e ("tracing: Separate out trace events from global variables") Tested-by: NDaniel Bristot de Oliveira <bristot@kernel.org> Reviewed-by: NTom Zanussi <zanussi@kernel.org> Signed-off-by: NSteven Rostedt (Google) <rostedt@goodmis.org>
Showing