From patchwork Mon Jun 25 15:01:19 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yordan Karadzhov X-Patchwork-Id: 10758577 Return-Path: Received: from mail-wr0-f195.google.com ([209.85.128.195]:40537 "EHLO mail-wr0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934559AbeFYPCY (ORCPT ); Mon, 25 Jun 2018 11:02:24 -0400 Received: by mail-wr0-f195.google.com with SMTP id g18-v6so14025775wro.7 for ; Mon, 25 Jun 2018 08:02:23 -0700 (PDT) From: "Yordan Karadzhov (VMware)" To: rostedt@goodmis.org Cc: linux-trace-devel@vger.kernel.org, "Yordan Karadzhov (VMware)" Subject: [PATCH 5/7] kernel-shark-qt: Add a README file to trace-cmd/kernel-shark-qt Date: Mon, 25 Jun 2018 18:01:19 +0300 Message-Id: <20180625150121.14291-6-y.karadz@gmail.com> In-Reply-To: <20180625150121.14291-1-y.karadz@gmail.com> References: <20180625150121.14291-1-y.karadz@gmail.com> Sender: linux-trace-devel-owner@vger.kernel.org List-ID: Content-Length: 1688 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 | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 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..7cae9ed --- /dev/null +++ b/kernel-shark-qt/README @@ -0,0 +1,37 @@ + +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 + +2. In order to install the packages on Fedora, as root do the following: + dnf install gcc gcc-c++ git cmake -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.