GithubHelp home page GithubHelp logo

jamestiotio / trace-cmd Goto Github PK

View Code? Open in Web Editor NEW

This project forked from rostedt/trace-cmd

0.0 1.0 0.0 9.72 MB

utilities for Linux ftrace

License: Other

Shell 0.92% Python 2.33% C 89.33% Makefile 3.04% Roff 2.45% Meson 1.45% SWIG 0.48%

trace-cmd's Introduction


  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

trace-cmd's People

Contributors

acmel avatar avikivity avatar captain5050 avatar dfaggioli avatar dvhart avatar federicovaga avatar gthelen avatar howardcochran avatar igaw avatar itirdea avatar jan-kiszka avatar jmberg avatar jmberg-intel avatar joelagnel avatar joshtriplett avatar masselstine avatar mikesart avatar namhyung avatar patrick-mclean avatar rddunlap avatar rostedt avatar sztsian avatar tzstoyanov avatar ukleinek avatar vnagarnaik avatar vt-alt avatar vvaltchev avatar xzpeter avatar xzz53 avatar yordan-karadzhov avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.