]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
rtla: Add trace_instance_stop
authorTomas Glozar <tglozar@redhat.com>
Thu, 16 Jan 2025 14:49:27 +0000 (15:49 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 17 Feb 2025 09:05:43 +0000 (10:05 +0100)
commit2cf2ddfdeb9014c7238648cfc6adfee24e5cbdff
tree45c2958e765b296736720cdb0c24b1b3d1c4f5a5
parent66e1ca983b5d38eca04d92d91c701e0dd2247657
rtla: Add trace_instance_stop

commit e879b5dcf8d044f3865a32d95cc5b213f314c54f upstream.

Support not only turning trace on for the timerlat tracer, but also
turning it off.

This will be used in subsequent patches to stop the timerlat tracer
without also wiping the trace buffer.

Cc: stable@vger.kernel.org
Cc: John Kacur <jkacur@redhat.com>
Cc: Luis Goncalves <lgoncalv@redhat.com>
Cc: Gabriele Monaco <gmonaco@redhat.com>
Link: https://lore.kernel.org/20250116144931.649593-2-tglozar@redhat.com
Signed-off-by: Tomas Glozar <tglozar@redhat.com>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
tools/tracing/rtla/src/trace.c
tools/tracing/rtla/src/trace.h