Third Party Software:
------------------------------------------------------------
KernelShark has the following external dependencies:
  Cmake, Json-C, OpenGL/Glut, Qt5Base.

1. In order to install the packages on Ubuntu do the following:
    sudo apt-get install build-essential git cmake libjson-c-dev -y
    sudo apt-get install freeglut3-dev libxmu-dev libxi-dev -y
    sudo apt-get install qtbase5-dev -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 json-c-devel -y
    dnf install freeglut-devel redhat-rpm-config -y
    dnf install qt5-qtbase-devel -y

2.1 I you want to be able to generate Doxygen documentation:
    dnf install graphviz doxygen -y


Downloading:
------------------------------------------------------------
1. git clone https://git.kernel.org/pub/scm/utils/trace-cmd/trace-cmd.git/

2. cd trace-cmd

Building:
------------------------------------------------------------
1. make gui

2. After building the code "kernel-shark/lib" will contain all libraries
   and "kernel-shark/bin" will contain all executables.

Installing:
------------------------------------------------------------
1. sudo make install_gui