summaryrefslogtreecommitdiff
path: root/tools/tracing
diff options
context:
space:
mode:
authorTomas Glozar <tglozar@redhat.com>2025-03-11 12:49:36 +0100
committerJonathan Corbet <corbet@lwn.net>2025-04-14 10:42:55 -0600
commit770840a0e7e88a5bd74e64f23e3a9021d045caef (patch)
tree6b68d60dabd3e3257303efe08119c51ee8957fc2 /tools/tracing
parente7d3b24e3402db90d13725d89462af468df1a552 (diff)
Documentation/rtla: Include BPF sample collection
Add dependencies needed to build rtla with BPF sample collection support to README, and document both ways of sample collection in the manpages. Signed-off-by: Tomas Glozar <tglozar@redhat.com> Acked-by: Steven Rostedt (Google) <rostedt@goodmis.org> Reviewed-by: Luis Claudio R. Goncalves <lgoncalv@redhat.com> Signed-off-by: Jonathan Corbet <corbet@lwn.net> Link: https://lore.kernel.org/r/20250311114936.148012-5-tglozar@redhat.com
Diffstat (limited to 'tools/tracing')
-rw-r--r--tools/tracing/rtla/README.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/tools/tracing/rtla/README.txt b/tools/tracing/rtla/README.txt
index dd5621038c554..43e98311d10ff 100644
--- a/tools/tracing/rtla/README.txt
+++ b/tools/tracing/rtla/README.txt
@@ -13,6 +13,13 @@ RTLA depends on the following libraries and tools:
- libtraceevent
- libcpupower (optional, for --deepest-idle-state)
+For BPF sample collection support, the following extra dependencies are
+required:
+
+ - libbpf 1.0.0 or later
+ - bpftool with skeleton support
+ - clang with BPF CO-RE support
+
It also depends on python3-docutils to compile man pages.
For development, we suggest the following steps for compiling rtla: