You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
hmz007 36ed224bac
Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a)
1 year ago
..
Documentation Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago
LICENSES Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago
include Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago
lib/trace-cmd Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago
python Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago
scripts Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago
tracecmd Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago
utest Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago
.gitattributes Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago
.gitignore Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago
Android.bp Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago
CODING_STYLE Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago
CONTRIBUTE Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago
COPYING Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago
COPYING.LIB Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago
DCO Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago
LICENSE Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago
METADATA Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago
MODULE_LICENSE_GPL Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago
Makefile Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago
OWNERS Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago
PACKAGING Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago
README Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago
features.mk Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago
libtracecmd.pc.template Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago
make-trace-cmd.sh Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago

README


  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

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