tracing/tools: Updates for v6.9
Linus,
[
Note, the biggest change here is the restructuring of the Makefiles to warn about missing libraries that you asked us to do last merge window. It follows perf in which you don't have the libraries, you now get:
Auto-detecting system features:
... libtraceevent: [ OFF ]
... libtracefs: [ OFF ]
libtraceevent is missing. Please install libtraceevent-dev/libtraceevent-devel libtracefs is missing. Please install libtracefs-dev/libtracefs-devel
]
Updates to tools/tracing and verification for 6.9:
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.
Please pull the latest trace-tools-v6.9 tree, which can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace.git
trace-tools-v6.9
Tag SHA1: 8f0b372605bfba01ab03a1201f93e655bc401fc5 Head SHA1: a23c05fd76cf4ad27e0c74f7a93e7b089e94a55c
Daniel Bristot de Oliveira (4):
tools/tracing: Use tools/build makefiles on latency-collector tools/rtla: Use tools/build makefiles to build rtla tools/verification: Use tools/build makefiles on rv tools/rtla: Add -U/--user-load option to timerlat
----
.../tools/rtla/common_timerlat_options.rst | 6 + tools/tracing/latency/.gitignore | 5 +- tools/tracing/latency/Build | 1 + tools/tracing/latency/Makefile | 105 ++++++++-- tools/tracing/latency/Makefile.config | 30 +++ tools/tracing/rtla/.gitignore | 7 +- tools/tracing/rtla/Build | 1 + tools/tracing/rtla/Makefile | 217 +++++++-------------- tools/tracing/rtla/Makefile.config | 47 +++++ tools/tracing/rtla/Makefile.rtla | 80 ++++++++ tools/tracing/rtla/Makefile.standalone | 26 +++ tools/tracing/rtla/sample/timerlat_load.py | 74 +++++++ tools/tracing/rtla/src/Build | 11 ++ tools/tracing/rtla/src/timerlat_hist.c | 16 +- tools/tracing/rtla/src/timerlat_top.c | 14 +- tools/verification/rv/.gitignore | 6 + tools/verification/rv/Build | 1 + tools/verification/rv/Makefile | 207 +++++++------------- tools/verification/rv/Makefile.config | 47 +++++ tools/verification/rv/Makefile.rv | 51 +++++ tools/verification/rv/src/Build | 4 + 21 files changed, 650 insertions(+), 306 deletions(-) create mode 100644 tools/tracing/latency/Build create mode 100644 tools/tracing/latency/Makefile.config create mode 100644 tools/tracing/rtla/Build create mode 100644 tools/tracing/rtla/Makefile.config create mode 100644 tools/tracing/rtla/Makefile.rtla create mode 100644 tools/tracing/rtla/Makefile.standalone create mode 100644 tools/tracing/rtla/sample/timerlat_load.py create mode 100644 tools/tracing/rtla/src/Build create mode 100644 tools/verification/rv/.gitignore create mode 100644 tools/verification/rv/Build create mode 100644 tools/verification/rv/Makefile.config create mode 100644 tools/verification/rv/Makefile.rv create mode 100644 tools/verification/rv/src/Build
---------------------------
Quoted 3 lines · Steven Rostedt
- Update makefiles for latency-collector and RTLA, using
tools/build/makefiles like perf does, inheriting its benefits.
Lovely. Now it all worked for me, and gave me the legible
Auto-detecting system features:
... libtraceevent: [ on ]
... libtracefs: [ OFF ]
libtracefs is missing. Please install libtracefs-dev/libtracefs-devel Makefile.config:29: *** Please, check the errors above.. Stop.
and after installing libtracefs-devel as suggested it finished cleanly.
Let's see if it works for others too,
Linus
The pull request you sent on Wed, 20 Mar 2024 11:22:14 -0400:
The pull request you sent on Wed, 20 Mar 2024 11:22:14 -0400:
Quoted 1 line
git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace.gittrace-tools-v6.9
has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/42c2a75694053cee46dd5d14b140c2094d2a0f2e
Thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/prtracker.html