mirror-linux/tools/tracing/rtla/src
Tomas Glozar 3aadb65db5 rtla/timerlat: Add action on end feature
Implement actions on end next to actions on threshold. A new option,
--on-end is added, parallel to --on-threshold. Instead of being
executed whenever a latency threshold is reached, it is executed at the
end of the measurement.

For example:

$ rtla timerlat hist -d 5s --on-end trace

will save the trace output at the end.

All actions supported by --on-threshold are also supported by --on-end,
except for continue, which does nothing with --on-end.

Cc: John Kacur <jkacur@redhat.com>
Cc: Luis Goncalves <lgoncalv@redhat.com>
Cc: Arnaldo Carvalho de Melo <acme@kernel.org>
Cc: Chang Yin <cyin@redhat.com>
Cc: Costa Shulyupin <costa.shul@redhat.com>
Cc: Crystal Wood <crwood@redhat.com>
Cc: Gabriele Monaco <gmonaco@redhat.com>
Link: https://lore.kernel.org/20250626123405.1496931-6-tglozar@redhat.com
Signed-off-by: Tomas Glozar <tglozar@redhat.com>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
2025-07-25 16:43:57 -04:00
..
Build rtla/timerlat: Add action on threshold feature 2025-07-25 16:43:56 -04:00
actions.c rtla/timerlat: Add continue action 2025-07-25 16:43:57 -04:00
actions.h rtla/timerlat: Add continue action 2025-07-25 16:43:57 -04:00
osnoise.c rtla: Always set all tracer options 2025-03-26 10:36:39 -04:00
osnoise.h rtla: Unify apply_config between top and hist 2025-03-26 10:36:39 -04:00
osnoise_hist.c rtla: Set distinctive exit value for failed tests 2025-05-07 15:36:19 -04:00
osnoise_top.c rtla: Set distinctive exit value for failed tests 2025-05-07 15:36:19 -04:00
rtla.c rtla: Add hwnoise tool 2023-02-13 23:56:46 -05:00
timerlat.bpf.c rtla/timerlat_bpf: Allow resuming tracing 2025-07-25 16:43:56 -04:00
timerlat.c rtla/timerlat: Introduce enum timerlat_tracing_mode 2025-07-25 16:43:56 -04:00
timerlat.h rtla/timerlat: Add action on end feature 2025-07-25 16:43:57 -04:00
timerlat_aa.c rtla/timerlat: Unify params struct 2025-03-04 12:35:17 -05:00
timerlat_aa.h rtla/timerlat: Give timerlat auto analysis its own instance 2023-06-13 16:31:35 -04:00
timerlat_bpf.c rtla/timerlat_bpf: Allow resuming tracing 2025-07-25 16:43:56 -04:00
timerlat_bpf.h rtla/timerlat_bpf: Allow resuming tracing 2025-07-25 16:43:56 -04:00
timerlat_hist.c rtla/timerlat: Add action on end feature 2025-07-25 16:43:57 -04:00
timerlat_top.c rtla/timerlat: Add action on end feature 2025-07-25 16:43:57 -04:00
timerlat_u.c rtla/timerlat: Do not stop user-space if a cpu is offline 2023-09-22 14:43:46 +02:00
timerlat_u.h rtla/timerlat_top: Add timerlat user-space support 2023-06-13 16:38:51 -04:00
trace.c rtla: Fix segfault in save_trace_to_file call 2025-03-26 10:35:20 -04:00
trace.h rtla: Count all processed events 2025-01-24 13:46:24 -05:00
utils.c rtla: Define __NR_sched_setattr for LoongArch 2025-05-07 16:35:31 -04:00
utils.h rtla: Set distinctive exit value for failed tests 2025-05-07 15:36:19 -04:00