diff options
author | Daniel Bristot de Oliveira <bristot@kernel.org> | 2022-03-02 22:01:33 +0300 |
---|---|---|
committer | Steven Rostedt (Google) <rostedt@goodmis.org> | 2022-03-15 21:36:49 +0300 |
commit | 1a754893653f73724d007c2cf95cf6c47d5114c4 (patch) | |
tree | d533848e053f10fb28b849b7ebcb68e7e1166ace /tools/tracing/rtla/src/trace.h | |
parent | 336c92b26cf9aee6c5d5907ef49b90d2665e9d70 (diff) | |
download | linux-1a754893653f73724d007c2cf95cf6c47d5114c4.tar.xz |
rtla: Add --trigger support
Add --trigger option. This option enables a trace event trigger to the
previous -e sys:event argument, allowing some advanced tracing options.
For instance, in a system with CPUs 2:23 isolated, it is possible to get
a stack trace of thread wakeup targeting those CPUs while running
osnoise with the following command line:
# osnoise top -c 2-23 -a 50 -e sched:sched_wakeup --trigger="stacktrace if target_cpu >= 2"
This option is available for all current tools.
Link: https://lkml.kernel.org/r/07d2983d5f71261d4da89dbaf02efcad100ab8ee.1646247211.git.bristot@kernel.org
Cc: Daniel Bristot de Oliveira <bristot@kernel.org>
Cc: Clark Williams <williams@redhat.com>
Cc: Juri Lelli <juri.lelli@redhat.com>
Cc: Jonathan Corbet <corbet@lwn.net>
Signed-off-by: Daniel Bristot de Oliveira <bristot@kernel.org>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Diffstat (limited to 'tools/tracing/rtla/src/trace.h')
0 files changed, 0 insertions, 0 deletions