diff options
| author | Paul E. McKenney <[email protected]> | 2024-11-13 22:57:51 +0000 |
|---|---|---|
| committer | Boqun Feng <[email protected]> | 2025-02-05 15:14:24 +0000 |
| commit | 623b52802bb0b33bee28716002249aae5d89c5ec (patch) | |
| tree | 38b42ddcfe8f6df4a158afba19c017f487d88b60 /tools/perf/scripts/python/syscall-counts.py | |
| parent | Linux 6.14-rc1 (diff) | |
| download | kernel-623b52802bb0b33bee28716002249aae5d89c5ec.tar.gz kernel-623b52802bb0b33bee28716002249aae5d89c5ec.zip | |
torture: Add get_torture_init_jiffies() for test-start time
This commit adds a get_torture_init_jiffies() function that returns the
value of the jiffies counter at the start of the test, that is, at the
point where torture_init_begin() was invoked.
This will be used to enable torture-test holdoffs for tests implemented
using per-CPU kthreads, which are created and deleted by CPU-hotplug
operations, and thus (unlike normal kthreads) don't automatically know
when the test started.
Signed-off-by: Paul E. McKenney <[email protected]>
Signed-off-by: Boqun Feng <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions
