[PATCH 00/10] rt-tests: Remove debugfs usage

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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





[Index of Archives]     [RT Stable]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux