mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [GIT PULL] tracing tools: Updates for v6.17
@ 2025-07-31 14:45 Steven Rostedt
  2025-08-01 17:35 ` pr-tracker-bot
  0 siblings, 1 reply; 2+ messages in thread
From: Steven Rostedt @ 2025-07-31 14:45 UTC (permalink / raw)
  To: Linus Torvalds
  Cc: LKML, Tomas Glozar, John Kacur, Luis Claudio R. Goncalves,
	Clark Williams


Linus,

tracing tools changes for 6.17:

- Introduce enum timerlat_tracing_mode

  Now that BPF based sampling has been added to timerlat, add an enum to
  represent which mode timerlat is running in.

- Add action on timelat threshold feature

  A new option, --on-threshold, is added, taking an argument
  that further specifies the action. Actions added in this patch are:

  - trace[,file=<filename>]: Saves tracefs buffer, optionally taking a
          filename.
  - signal,num=<sig>,pid=<pid>: Sends signal to process. "parent" might
          be specified instead of number to send signal to parent process.
  - shell,command=<command>: Execute shell command.

- Allow resuming tracing in timerlat bpf

  rtla-timerlat BPF program uses a global variable stored in a .bss section to
  store whether tracing has been stopped. Map it to allow it to resume tracing
  after it has been stopped.

- Add continue action to timerlat

  Introduce option to resume tracing after a latency threshold overflow.  The
  option is implemented as an action named "continue".

- Add action on end feature to timerlat

  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.

- Have rtla tests check output with grep

  Add argument to the check command in the test suite that takes a regular
  expression that the output of rtla command is checked against. This allows
  testing for specific information in rtla output in addition to checking the
  return value.

- Add tests for timerlat actions

- Update the documentation for the new features


Please pull the latest trace-tools-v6.17 tree, which can be found at:


  git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace.git
trace-tools-v6.17

Tag SHA1: 97181ac099ee9e7ef9f5edf99a0ad1c1b5fab8cd
Head SHA1: a80db1f85774ae571b94077f65c5cd57467641d3


Tomas Glozar (11):
      rtla/timerlat: Introduce enum timerlat_tracing_mode
      rtla/timerlat: Add action on threshold feature
      rtla/timerlat_bpf: Allow resuming tracing
      rtla/timerlat: Add continue action
      rtla/timerlat: Add action on end feature
      rtla/tests: Check rtla output with grep
      rtla/tests: Add tests for actions
      rtla/tests: Limit duration to maximum of 10s
      Documentation/rtla: Add actions feature
      rtla/tests: Add grep checks for base test cases
      rtla/tests: Test timerlat -P option using actions

----
 .../tools/rtla/common_timerlat_options.rst         |  64 +++++
 tools/tracing/rtla/src/Build                       |   1 +
 tools/tracing/rtla/src/actions.c                   | 260 +++++++++++++++++++++
 tools/tracing/rtla/src/actions.h                   |  52 +++++
 tools/tracing/rtla/src/timerlat.bpf.c              |  13 +-
 tools/tracing/rtla/src/timerlat.c                  |  24 +-
 tools/tracing/rtla/src/timerlat.h                  |  24 +-
 tools/tracing/rtla/src/timerlat_bpf.c              |  13 ++
 tools/tracing/rtla/src/timerlat_bpf.h              |   3 +
 tools/tracing/rtla/src/timerlat_hist.c             | 140 ++++++++---
 tools/tracing/rtla/src/timerlat_top.c              | 165 ++++++++-----
 tools/tracing/rtla/tests/engine.sh                 |  21 +-
 tools/tracing/rtla/tests/hwnoise.t                 |  13 +-
 tools/tracing/rtla/tests/osnoise.t                 |  10 +-
 tools/tracing/rtla/tests/scripts/check-priority.sh |   8 +
 tools/tracing/rtla/tests/timerlat.t                |  45 +++-
 16 files changed, 732 insertions(+), 124 deletions(-)
 create mode 100644 tools/tracing/rtla/src/actions.c
 create mode 100644 tools/tracing/rtla/src/actions.h
 create mode 100755 tools/tracing/rtla/tests/scripts/check-priority.sh
---------------------------

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [GIT PULL] tracing tools: Updates for v6.17
  2025-07-31 14:45 [GIT PULL] tracing tools: Updates for v6.17 Steven Rostedt
@ 2025-08-01 17:35 ` pr-tracker-bot
  0 siblings, 0 replies; 2+ messages in thread
From: pr-tracker-bot @ 2025-08-01 17:35 UTC (permalink / raw)
  To: Steven Rostedt
  Cc: Linus Torvalds, LKML, Tomas Glozar, John Kacur,
	Luis Claudio R. Goncalves, Clark Williams

The pull request you sent on Thu, 31 Jul 2025 10:45:42 -0400:

> git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace.git trace-tools-v6.17

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/5172a777248e56dbae22b55231d24c7ecc6393f9

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-08-01 17:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-07-31 14:45 [GIT PULL] tracing tools: Updates for v6.17 Steven Rostedt
2025-08-01 17:35 ` pr-tracker-bot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®