Daniel Bristot de Oliveira
761916fd02
rtla/trace: Save event histogram output to a file
...
The hist: trigger generates a histogram in the file sys/event/hist.
If the hist: trigger is used, automatically save the histogram output of
the event sys:event in the sys_event_hist.txt file.
Link: https://lkml.kernel.org/r/b5c906af31d4e022ffe87fb0848fac5c089087c8.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 >
2022-03-15 14:36:50 -04:00
Daniel Bristot de Oliveira
44f3a37d1d
rtla: Add --filter support
...
Add --filter option. This option enables a trace event filtering of the
previous -e sys:event argument.
This option is available for all current tools.
Link: https://lkml.kernel.org/r/509d70b6348d3e5bcbf1f07ab725ce08d063149a.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 >
2022-03-15 14:36:50 -04:00
Daniel Bristot de Oliveira
1a75489365
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 >
2022-03-15 14:36:49 -04:00
Daniel Bristot de Oliveira
51d64c3a18
rtla: Add -e/--event support
...
Add -e/--event option. This option enables an event in the trace (-t)
session. The argument can be a specific event, e.g., -e sched:sched_switch,
or all events of a system group, e.g., -e sched. Multiple -e are allowed.
It is only active when -t or -a are set.
This option is available for all current tools.
Link: https://lkml.kernel.org/r/6a3b753be9b1e811953995f7f21a86918ad13390.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 >
2022-03-15 14:36:49 -04:00
Daniel Bristot de Oliveira
b1be48307d
rtla: Add rtla osnoise top documentation
...
Man page for rtla osnoise top mode.
Link: https://lkml.kernel.org/r/445aa2173ca152fc2e68719e3c1a2547dd01efd3.1639158831.git.bristot@kernel.org
Cc: Tao Zhou <tao.zhou@linux.dev >
Cc: Ingo Molnar <mingo@redhat.com >
Cc: Tom Zanussi <zanussi@kernel.org >
Cc: Masami Hiramatsu <mhiramat@kernel.org >
Cc: Juri Lelli <juri.lelli@redhat.com >
Cc: Clark Williams <williams@redhat.com >
Cc: John Kacur <jkacur@redhat.com >
Cc: Peter Zijlstra <peterz@infradead.org >
Cc: Thomas Gleixner <tglx@linutronix.de >
Cc: Sebastian Andrzej Siewior <bigeasy@linutronix.de >
Cc: Daniel Bristot de Oliveira <bristot@kernel.org >
Cc: linux-rt-users@vger.kernel.org
Cc: linux-trace-devel@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Daniel Bristot de Oliveira <bristot@kernel.org >
Signed-off-by: Steven Rostedt <rostedt@goodmis.org >
2022-01-13 17:02:43 -05:00