linux-rt-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 00/10] rt-tests: Remove debugfs usage
@ 2025-09-03 11:17 Sebastian Andrzej Siewior
  2025-09-03 11:17 ` [PATCH 01/10] README: Drop "debug" from the tracing path Sebastian Andrzej Siewior
                   ` (9 more replies)
  0 siblings, 10 replies; 21+ messages in thread
From: Sebastian Andrzej Siewior @ 2025-09-03 11:17 UTC (permalink / raw)
  To: linux-rt-users
  Cc: John Kacur, Clark Williams, Steven Rostedt,
	Sebastian Andrzej Siewior

v6.17 starts to complain if /sys/kernel/debug/tracing is used instead of
the "official" directory. Official as "it is in use since v4.1" which
was released over 10 years ago.
All the "I need to mount it here" kind of workarounds are also outdated
and not needed since distros mount it properly.
There is no need of a "special work around" for this since other tools
such as trace-cmd expect that these folder exist.

Anyway. Started a small clean up, diffstat looks nice.

Sebastian Andrzej Siewior (10):
  README: Drop "debug" from the tracing path
  rt-utils: Remove mount_debugfs()
  rt-utils: Rename get_debugfileprefix() and let it look for tracefs
  queuelat, rt-migrate-test: Use tracefs for tracing
  rt-utils: Remove fileprefix.
  rt-utils: Simplify trace_file_exists()
  rt-utils: Decouple writting trace-marks with trace stopping
  sched_deadline: Use tracemark() from rt-utils instead cusstom
    implementation
  sched_deadline: Check the resulting size returned from snprintf()
  cyclicdeadline: Don't test for /sys/kernel/debug/sched_features

 README.markdown                       |  13 +--
 src/backfire/sendme.c                 |   2 +-
 src/cyclictest/cyclictest.c           |   1 +
 src/include/rt-utils.h                |   4 +-
 src/lib/rt-utils.c                    | 105 +++++++--------------
 src/oslat/oslat.c                     |   1 +
 src/pmqtest/pmqtest.c                 |   2 +-
 src/ptsematest/ptsematest.c           |   2 +-
 src/queuelat/queuelat.c               |   2 +-
 src/rt-migrate-test/rt-migrate-test.c |   4 +-
 src/sched_deadline/cyclicdeadline.c   | 128 ++------------------------
 src/sigwaittest/sigwaittest.c         |   2 +-
 src/svsematest/svsematest.c           |   2 +-
 13 files changed, 61 insertions(+), 207 deletions(-)

-- 
2.51.0


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

end of thread, other threads:[~2025-09-19 18:55 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-03 11:17 [PATCH 00/10] rt-tests: Remove debugfs usage Sebastian Andrzej Siewior
2025-09-03 11:17 ` [PATCH 01/10] README: Drop "debug" from the tracing path Sebastian Andrzej Siewior
2025-09-19 18:18   ` John Kacur
2025-09-03 11:17 ` [PATCH 02/10] rt-utils: Remove mount_debugfs() Sebastian Andrzej Siewior
2025-09-19 18:20   ` John Kacur
2025-09-03 11:17 ` [PATCH 03/10] rt-utils: Rename get_debugfileprefix() and let it look for tracefs Sebastian Andrzej Siewior
2025-09-19 18:29   ` John Kacur
2025-09-03 11:17 ` [PATCH 04/10] queuelat, rt-migrate-test: Use tracefs for tracing Sebastian Andrzej Siewior
2025-09-19 18:39   ` John Kacur
2025-09-03 11:17 ` [PATCH 05/10] rt-utils: Remove fileprefix Sebastian Andrzej Siewior
2025-09-19 18:41   ` John Kacur
2025-09-03 11:17 ` [PATCH 06/10] rt-utils: Simplify trace_file_exists() Sebastian Andrzej Siewior
2025-09-19 18:42   ` John Kacur
2025-09-03 11:17 ` [PATCH 07/10] rt-utils: Decouple writting trace-marks with trace stopping Sebastian Andrzej Siewior
2025-09-19 18:49   ` John Kacur
2025-09-03 11:17 ` [PATCH 08/10] sched_deadline: Use tracemark() from rt-utils instead cusstom implementation Sebastian Andrzej Siewior
2025-09-19 18:52   ` John Kacur
2025-09-03 11:17 ` [PATCH 09/10] sched_deadline: Check the resulting size returned from snprintf() Sebastian Andrzej Siewior
2025-09-19 18:54   ` John Kacur
2025-09-03 11:17 ` [PATCH 10/10] cyclicdeadline: Don't test for /sys/kernel/debug/sched_features Sebastian Andrzej Siewior
2025-09-19 18:55   ` John Kacur

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).