diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2024-03-20 16:37:07 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2024-03-20 16:37:07 -0700 |
commit | 42c2a75694053cee46dd5d14b140c2094d2a0f2e (patch) | |
tree | 9bcf5f1f0be51df6da9743d24e9b83d3598ec111 /Documentation | |
parent | dba89d1b81df749711645bdc201ed67223f35830 (diff) | |
parent | a23c05fd76cf4ad27e0c74f7a93e7b089e94a55c (diff) | |
download | linux-stable-42c2a75694053cee46dd5d14b140c2094d2a0f2e.tar.gz linux-stable-42c2a75694053cee46dd5d14b140c2094d2a0f2e.tar.bz2 linux-stable-42c2a75694053cee46dd5d14b140c2094d2a0f2e.zip |
Merge tag 'trace-tools-v6.9' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace
Pull trace tool updates from Steven Rostedt:
"Tracing:
- Update makefiles for latency-collector and RTLA, using tools/build/
makefiles like perf does, inheriting its benefits. For example,
having a proper way to handle library dependencies.
- The timerlat tracer has an interface for any tool to use. rtla
timerlat tool uses this interface dispatching its own threads as
workload. But, rtla timerlat could also be used for any other
process. So, add 'rtla timerlat -U' option, allowing the timerlat
tool to measure the latency of any task using the timerlat tracer
interface.
Verification:
- Update makefiles for verification/rv, using tools/build/ makefiles
like perf does, inheriting its benefits. For example, having a
proper way to handle dependencies"
* tag 'trace-tools-v6.9' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace:
tools/rtla: Add -U/--user-load option to timerlat
tools/verification: Use tools/build makefiles on rv
tools/rtla: Use tools/build makefiles to build rtla
tools/tracing: Use tools/build makefiles on latency-collector
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/tools/rtla/common_timerlat_options.rst | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Documentation/tools/rtla/common_timerlat_options.rst b/Documentation/tools/rtla/common_timerlat_options.rst index 88506b397c2d..d3255ed70195 100644 --- a/Documentation/tools/rtla/common_timerlat_options.rst +++ b/Documentation/tools/rtla/common_timerlat_options.rst @@ -33,3 +33,9 @@ to wait on the timerlat_fd. Once the workload is awakes, it goes to sleep again adding so the measurement for the kernel-to-user and user-to-kernel to the tracer output. + +**-U**, **--user-load** + + Set timerlat to run without workload, waiting for the user to dispatch a per-cpu + task that waits for a new period on the tracing/osnoise/per_cpu/cpu$ID/timerlat_fd. + See linux/tools/rtla/sample/timerlat_load.py for an example of user-load code. |