Skip to contentSkip to conversation

trace-cruncher: Fix the install instructions in README

PATCH New Yordan Karadzhov (VMware) 1 participant 1 message Sep 24, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 trace-cruncher: Fix the install instructions in README

Removing 'trace-cmd' from the list of external dependencies was a mistake. trace-cruncher depends on trace-cmd indirectly via libkshark.

The address of the KernelShark repository is updated as well.

Fixes 502aa91 (trace-cruncher: Update README.md)
---
 README.md | 15 +++++++++++++--
 1 file changed, 13 insertions(+), 2 deletions(-)
README.md +13 -2
index 93f12c8..740d60b 100644
@@ -13,7 +13,7 @@ The Trace-Cruncher allows for sophisticated analysis of kernel tracing data via
 ### Prerequisites
 
 Trace-Cruncher has the following external dependencies:
-  libtraceevent, libtracefs, KernelShark, Json-C, Cython, NumPy.
+  libtraceevent, libtracefs, trace-cmd, KernelShark, Json-C, Cython, NumPy.
 
 1.1 In order to install all packages on Ubuntu do the following:
 
@@ -62,7 +62,18 @@ Trace-Cruncher has the following external dependencies:
     > cd ..
 
 
-    > git clone https://github.com/yordan-karadzhov/kernel-shark-v2.beta.git kernel-shark
+    > git clone https://git.kernel.org/pub/scm/utils/trace-cmd/trace-cmd.git/
+
+    > cd trace-cmd
+
+    > make
+
+    > sudo make install_libs
+
+    > cd ..
+
+
+    > git clone https://git.kernel.org/pub/scm/utils/trace-cmd/kernel-shark.git/
 
     > cd kernel-shark/build
 
Signature · 1 line
2.30.2