]> 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>
Fri, 21 Feb 2025 12:49:52 +0000 (13:49 +0100)
commit6074e23ded57543a4ca7dcac87ea0c8f9598a92f
tree5306e2f64e328ad6fc6f5e7a09089f21a9e0794e
parent463c1d66c00c67fbc6f1d3c1b83a8d5092e45ecb
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