From patchwork Fri Jun 29 15:25:37 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yordan Karadzhov X-Patchwork-Id: 10758613 Return-Path: Received: from mail-wm0-f66.google.com ([74.125.82.66]:36687 "EHLO mail-wm0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S935222AbeF2P0e (ORCPT ); Fri, 29 Jun 2018 11:26:34 -0400 Received: by mail-wm0-f66.google.com with SMTP id u18-v6so2509003wmc.1 for ; Fri, 29 Jun 2018 08:26:33 -0700 (PDT) From: "Yordan Karadzhov (VMware)" To: rostedt@goodmis.org Cc: linux-trace-devel@vger.kernel.org, "Yordan Karadzhov (VMware)" Subject: [PATCH v3 5/9] kernel-shark-qt: Add a README file to trace-cmd/kernel-shark-qt Date: Fri, 29 Jun 2018 18:25:37 +0300 Message-Id: <20180629152541.10109-6-y.karadz@gmail.com> In-Reply-To: <20180629152541.10109-1-y.karadz@gmail.com> References: <20180629152541.10109-1-y.karadz@gmail.com> Sender: linux-trace-devel-owner@vger.kernel.org List-ID: Content-Length: 1910 The README file contains instructions for building and using the Qt-based version of KernelShark. Signed-off-by: Yordan Karadzhov (VMware) --- kernel-shark-qt/README | 44 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 kernel-shark-qt/README diff --git a/kernel-shark-qt/README b/kernel-shark-qt/README new file mode 100644 index 0000000..6ff77a5 --- /dev/null +++ b/kernel-shark-qt/README @@ -0,0 +1,44 @@ + +This directory contains the new Qt-based version of the KernelShark GUI. + + +Third Party Software: +------------------------------------------------------------ +The external dependencies: +1. In order to install the packages on Ubuntu do the following: + sudo apt-get install build-essential git cmake -y + +1.1 I you want to be able to generate Doxygen documentation: + sudo apt-get install graphviz doxygen-gui -y + + +2. In order to install the packages on Fedora, as root do the following: + dnf install gcc gcc-c++ git cmake -y + +2.1 I you want to be able to generate Doxygen documentation: + dnf install graphviz doxygen -y + + +Building: +------------------------------------------------------------ +1. Follow the instructions given in trace-cmd/README and build +the original trace-cmd end traceevent libraries. + +2. Do: + cd kernel-shark-qt/build + cmake ../ + make + +2.1 In order to create a Doxygen documentation add -D_DOXYGEN_DOC=1 +as a CMake Command-Line option. + cd kernel-shark-qt/build + cmake -D_DOXYGEN_DOC=1 ../ + make + +2.2.1 Use "make clean" if you want to delete all already compiled object. + +2.2.2 Use the script "cmake_clean.sh" if you want to delete all already +compiled object and all files generated by CMake. + +3. After building the code "kernel-shark-qt/lib" will contain all libraries +and "kernel-shark-qt/bin" will contain all executables.