diff mbox series

trace-cruncher: Fix the install instructions in README

Message ID 20210924093155.150647-1-y.karadz@gmail.com (mailing list archive)
State Accepted
Headers show
Series trace-cruncher: Fix the install instructions in README | expand

Commit Message

Yordan Karadzhov Sept. 24, 2021, 9:31 a.m. UTC
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)
Signed-off-by: Yordan Karadzhov (VMware) <y.karadz@gmail.com>
---
 README.md | 15 +++++++++++++--
 1 file changed, 13 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/README.md b/README.md
index 93f12c8..740d60b 100644
--- a/README.md
+++ b/README.md
@@ -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