public inbox for linux-trace-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/7] tools/rtla: Code consolidation and osnoise actions
@ 2025-09-07  2:23 Crystal Wood
  2025-09-07  2:23 ` [PATCH v2 1/7] tools/rtla: Consolidate common parameters into shared structure Crystal Wood
                   ` (8 more replies)
  0 siblings, 9 replies; 16+ messages in thread
From: Crystal Wood @ 2025-09-07  2:23 UTC (permalink / raw)
  To: Steven Rostedt
  Cc: linux-trace-kernel, John Kacur, Tomas Glozar, Costa Shulyupin,
	Crystal Wood

Consolidate code between osnoise/timerlat and top/hist for easier
maintenance and less future divergence.

As a consequence, actions work on osnoise as well as timerlat, so
expose it to the user, document it, and test it.

v2: minor changes from Tomas's feedback

v1: https://lore.kernel.org/linux-trace-kernel/20250821035719.137161-1-crwood@redhat.com/T/#t

Costa Shulyupin (1):
  tools/rtla: Consolidate common parameters into shared structure

Crystal Wood (6):
  tools/rtla: Move top/hist params into common struct
  tools/rtla: Create common_apply_config()
  tools/rtla: Consolidate code between osnoise/timerlat and hist/top
  tools/rtla: Fix -A option name in test comment
  tools/rtla: Add test engine support for unexpected output
  tools/rtla: Add remaining support for osnoise actions

 Documentation/tools/rtla/common_options.rst   |  61 ++
 .../tools/rtla/common_osnoise_options.rst     |   8 +
 .../tools/rtla/common_timerlat_options.rst    |  74 +-
 Documentation/tools/rtla/rtla-hwnoise.rst     |   2 +
 .../tools/rtla/rtla-osnoise-hist.rst          |   2 +
 Documentation/tools/rtla/rtla-osnoise-top.rst |   2 +
 .../tools/rtla/rtla-timerlat-hist.rst         |   2 +
 .../tools/rtla/rtla-timerlat-top.rst          |   2 +
 tools/tracing/rtla/src/Build                  |   1 +
 tools/tracing/rtla/src/actions.c              |   8 +-
 tools/tracing/rtla/src/actions.h              |   2 +-
 tools/tracing/rtla/src/common.c               | 344 ++++++++++
 tools/tracing/rtla/src/common.h               | 154 +++++
 tools/tracing/rtla/src/osnoise.c              | 101 ++-
 tools/tracing/rtla/src/osnoise.h              | 114 +---
 tools/tracing/rtla/src/osnoise_hist.c         | 369 ++++------
 tools/tracing/rtla/src/osnoise_top.c          | 303 +++------
 tools/tracing/rtla/src/timerlat.c             | 210 ++++--
 tools/tracing/rtla/src/timerlat.h             |  55 +-
 tools/tracing/rtla/src/timerlat_bpf.c         |  22 +-
 tools/tracing/rtla/src/timerlat_hist.c        | 642 +++++-------------
 tools/tracing/rtla/src/timerlat_top.c         | 568 ++++------------
 tools/tracing/rtla/src/trace.h                |   3 -
 tools/tracing/rtla/tests/engine.sh            |  26 +-
 tools/tracing/rtla/tests/osnoise.t            |  27 +-
 tools/tracing/rtla/tests/timerlat.t           |   4 +-
 26 files changed, 1395 insertions(+), 1711 deletions(-)
 create mode 100644 tools/tracing/rtla/src/common.c
 create mode 100644 tools/tracing/rtla/src/common.h

-- 
2.48.1


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

end of thread, other threads:[~2025-09-27 10:10 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-07  2:23 [PATCH v2 0/7] tools/rtla: Code consolidation and osnoise actions Crystal Wood
2025-09-07  2:23 ` [PATCH v2 1/7] tools/rtla: Consolidate common parameters into shared structure Crystal Wood
2025-09-07  2:23 ` [PATCH v2 2/7] tools/rtla: Move top/hist params into common struct Crystal Wood
2025-09-07  2:23 ` [PATCH v2 3/7] tools/rtla: Create common_apply_config() Crystal Wood
2025-09-07  2:23 ` [PATCH v2 4/7] tools/rtla: Consolidate code between osnoise/timerlat and hist/top Crystal Wood
2025-09-07 19:51   ` Costa Shulyupin
2025-09-08 13:53     ` Costa Shulyupin
2025-09-07  2:23 ` [PATCH v2 5/7] tools/rtla: Fix -A option name in test comment Crystal Wood
2025-09-07  2:23 ` [PATCH v2 6/7] tools/rtla: Add test engine support for unexpected output Crystal Wood
2025-09-08 14:48   ` Crystal Wood
2025-09-07  2:23 ` [PATCH v2 7/7] tools/rtla: Add remaining support for osnoise actions Crystal Wood
2025-09-09 11:25 ` [PATCH v2 0/7] tools/rtla: Code consolidation and " Tomas Glozar
2025-09-26 14:19 ` Tomas Glozar
2025-09-27  8:44   ` Steven Rostedt
2025-09-27  9:47     ` Steven Rostedt
2025-09-27 10:09       ` Steven Rostedt

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