• Home
Name Date Size #Lines LOC

..--

Documentation/04-Jul-2025-7,7986,173

LICENSES/04-Jul-2025-864718

include/04-Jul-2025-152117

lib/04-Jul-2025-20,02114,451

python/04-Jul-2025-1,101816

scripts/04-Jul-2025-329252

tracecmd/04-Jul-2025-24,24119,232

utest/04-Jul-2025-873671

.gitattributesD04-Jul-202554 32

.gitignoreD04-Jul-2025279 3029

Android.bpD04-Jul-20254.5 KiB179155

CODING_STYLED04-Jul-20257 KiB288208

CONTRIBUTED04-Jul-20254.4 KiB10469

COPYINGD04-Jul-2025268 54

COPYING.LIBD04-Jul-202525.9 KiB

DCOD04-Jul-20252.1 KiB4834

LICENSED04-Jul-202545.1 KiB866719

METADATAD04-Jul-2025585 2018

MODULE_LICENSE_GPLD04-Jul-20250

MakefileD04-Jul-202517.5 KiB628452

Makefile.mesonD04-Jul-2025970 4123

OWNERSD04-Jul-2025115 43

PACKAGINGD04-Jul-20251 KiB3120

READMED04-Jul-20252 KiB7247

check-manpages.shD04-Jul-20251.4 KiB6245

features.mkD04-Jul-20251.2 KiB5642

libtracecmd.pc.templateD04-Jul-2025333 1210

make-trace-cmd.shD04-Jul-20251.2 KiB4433

meson-vcs-tag.shD04-Jul-2025613 186

meson.buildD04-Jul-20254.6 KiB153129

meson_options.txtD04-Jul-20251.1 KiB2422

README

1
2
3  For more information on contributing please see: https://www.trace-cmd.org
4
5Note: The official repositiory for trace-cmd and KernelShark is here:
6
7 git://git.kernel.org/pub/scm/utils/trace-cmd/trace-cmd.git
8
9For bug reports and issues, please file it here:
10
11 https://bugzilla.kernel.org/buglist.cgi?component=Trace-cmd%2FKernelshark&product=Tools&resolution=---
12
13These files make up the code that create the trace-cmd programs.
14This includes the GUI interface application kernelshark as well
15as trace-graph and trace-view.
16
17These files also make up the code to create the libtracecmd library.
18
19The applications are licensed under the GNU General Public License 2.0
20(see COPYING) and the libraries are licensed under the GNU
21Lesser General Public License 2.1 (See COPYING.LIB).
22
23BUILDING:
24
25In order to install build dependencies on Debian / Ubuntu do the following:
26    sudo apt-get install build-essential git pkg-config -y
27    sudo apt-get install libtracefs-dev libtraceevent-dev -y
28
29In order to install build dependencies on Fedora, as root do the following:
30    dnf install gcc make git pkg-config -y
31    dnf install libtracefs-devel libtraceevent-devel -y
32
33In case your distribution does not have the required libtracefs and
34libtraceevent libraries, build and install them manually:
35
36    git clone https://git.kernel.org/pub/scm/libs/libtrace/libtraceevent.git/
37    cd libtraceevent
38    make
39    sudo make install
40
41    git clone https://git.kernel.org/pub/scm/libs/libtrace/libtracefs.git/
42    cd libtracefs
43    make
44    sudo make install
45
46To make trace-cmd
47    make
48
49To make the gui
50    make gui
51
52INSTALL:
53
54To install trace-cmd
55    make install
56
57To install the gui
58    make install_gui
59
60To install libtracecmd libraries
61    make install_libs
62
63Note: The default install is relative to /usr/local
64    The default install directory is /usr/local/bin
65    The default plugin directory is /usr/local/lib/trace-cmd/plugins
66
67To change the default, you can set 'prefix', eg
68mkdir $HOME/test-trace
69make prefix=$HOME/test-trace
70make prefix=$HOME/test-trace install
71
72