Skip to content

jeromemarchand/trace-cmd

This branch is 76 commits behind rostedt/trace-cmd:master.

Folders and files

NameName
Last commit message
Last commit date
Feb 23, 2024
Jun 21, 2018
Dec 29, 2023
Feb 19, 2024
Jun 7, 2023
Jan 23, 2022
Feb 23, 2024
Feb 22, 2024
May 29, 2013
Jul 26, 2021
Apr 8, 2021
Apr 8, 2021
Jun 21, 2018
Nov 15, 2016
Jan 11, 2019
Jan 12, 2024
Dec 18, 2020
Sep 22, 2022
Jan 5, 2023
Dec 11, 2020
Nov 9, 2021
Jul 14, 2022
Jun 7, 2023
Jan 12, 2024
Jun 7, 2023

Repository files navigation

  For more information on contributing please see: https://www.trace-cmd.org

Note: The official repositiory for trace-cmd and KernelShark is here:

 git://git.kernel.org/pub/scm/utils/trace-cmd/trace-cmd.git

For bug reports and issues, please file it here:

 https://bugzilla.kernel.org/buglist.cgi?component=Trace-cmd%2FKernelshark&product=Tools&resolution=---

These files make up the code that create the trace-cmd programs.
This includes the GUI interface application kernelshark as well
as trace-graph and trace-view.

These files also make up the code to create the libtracecmd library.

The applications are licensed under the GNU General Public License 2.0
(see COPYING) and the libraries are licensed under the GNU
Lesser General Public License 2.1 (See COPYING.LIB).

BUILDING:

In order to install build dependencies on Debian / Ubuntu do the following:
    sudo apt-get install build-essential git pkg-config -y
    sudo apt-get install libtracefs-dev libtraceevent-dev -y

In order to install build dependencies on Fedora, as root do the following:
    dnf install gcc make git pkg-config -y
    dnf install libtracefs-devel libtraceevent-devel -y

In case your distribution does not have the required libtracefs and
libtraceevent libraries, build and install them manually:

    git clone https://git.kernel.org/pub/scm/libs/libtrace/libtraceevent.git/
    cd libtraceevent
    make
    sudo make install

    git clone https://git.kernel.org/pub/scm/libs/libtrace/libtracefs.git/
    cd libtracefs
    make
    sudo make install

To make trace-cmd
    make

To make the gui
    make gui

INSTALL:

To install trace-cmd
    make install

To install the gui
    make install_gui

To install libtracecmd libraries
    make install_libs

Note: The default install is relative to /usr/local
    The default install directory is /usr/local/bin
    The default plugin directory is /usr/local/lib/trace-cmd/plugins

To change the default, you can set 'prefix', eg
mkdir $HOME/test-trace
make prefix=$HOME/test-trace
make prefix=$HOME/test-trace install

About

utilities for Linux ftrace

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 89.6%
  • Makefile 2.9%
  • Roff 2.4%
  • Python 2.3%
  • Meson 1.4%
  • Shell 0.9%
  • SWIG 0.5%