-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathREADME
49 lines (35 loc) · 1.29 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
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 libraries
libtracecmd and libparsevent
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:
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 compile for arm on Ubuntu
1. install arm gcc
sudo apt-get install gcc-arm-linux-gnueabi
2. Compile
make LDFLAGS=-static CC=arm-none-linux-gnueabi-gcc trace-cmd
The above statically linked binary will also work on android
devices which use android abi.
If you want to compile using gcc provided by android toolchain
then please use the android-master branch which has some additional
changes and an Android.mk
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