xref: /aosp_15_r20/external/libtraceevent/README (revision 436bf2bcd5202612ffffe471bbcc1f277cc8d28e)
1*436bf2bcSAndroid Build Coastguard Worker
2*436bf2bcSAndroid Build Coastguard WorkerThe official repository is here:
3*436bf2bcSAndroid Build Coastguard Worker
4*436bf2bcSAndroid Build Coastguard Worker  https://git.kernel.org/pub/scm/libs/libtrace/libtraceevent.git/
5*436bf2bcSAndroid Build Coastguard Worker
6*436bf2bcSAndroid Build Coastguard Worker
7*436bf2bcSAndroid Build Coastguard WorkerTo build:
8*436bf2bcSAndroid Build Coastguard Worker
9*436bf2bcSAndroid Build Coastguard Worker    make;
10*436bf2bcSAndroid Build Coastguard Worker    sudo make install;
11*436bf2bcSAndroid Build Coastguard Worker
12*436bf2bcSAndroid Build Coastguard WorkerTo build in a specific directory outside of the source directory:
13*436bf2bcSAndroid Build Coastguard Worker
14*436bf2bcSAndroid Build Coastguard Worker    make O=/path/to/build; sudo make O=/path/to/build
15*436bf2bcSAndroid Build Coastguard Worker
16*436bf2bcSAndroid Build Coastguard Worker  Note that the path needs to exist before building.
17*436bf2bcSAndroid Build Coastguard Worker
18*436bf2bcSAndroid Build Coastguard WorkerTo set the install path (the expected final location):
19*436bf2bcSAndroid Build Coastguard Worker
20*436bf2bcSAndroid Build Coastguard Worker    make prefix=/usr; sudo make O=/path/to/build
21*436bf2bcSAndroid Build Coastguard Worker
22*436bf2bcSAndroid Build Coastguard WorkerTo install in a directory not for the local system (for use to move
23*436bf2bcSAndroid Build Coastguard Workerto another machine):
24*436bf2bcSAndroid Build Coastguard Worker
25*436bf2bcSAndroid Build Coastguard Worker    make DESTDIR=/path/to/dest/ install
26*436bf2bcSAndroid Build Coastguard Worker
27*436bf2bcSAndroid Build Coastguard Worker  Note, if you have write permission to the DESTDIR, then there is
28*436bf2bcSAndroid Build Coastguard Worker  no reason to use sudo or switch to root.
29*436bf2bcSAndroid Build Coastguard Worker
30*436bf2bcSAndroid Build Coastguard Worker  Note, DESTDIR must end with '/', otherwise the files will be appended
31*436bf2bcSAndroid Build Coastguard Worker  to the path, which will most likely have unwanted results.
32*436bf2bcSAndroid Build Coastguard Worker
33*436bf2bcSAndroid Build Coastguard WorkerContributions:
34*436bf2bcSAndroid Build Coastguard Worker
35*436bf2bcSAndroid Build Coastguard Worker  For questions about the use of the library, please send email to:
36*436bf2bcSAndroid Build Coastguard Worker
37*436bf2bcSAndroid Build Coastguard Worker    [email protected]
38*436bf2bcSAndroid Build Coastguard Worker
39*436bf2bcSAndroid Build Coastguard Worker    Subscribe: http://vger.kernel.org/vger-lists.html#linux-trace-users
40*436bf2bcSAndroid Build Coastguard Worker    Archives: https://lore.kernel.org/linux-trace-users/
41*436bf2bcSAndroid Build Coastguard Worker
42*436bf2bcSAndroid Build Coastguard Worker  For contributions to development, please send patches to:
43*436bf2bcSAndroid Build Coastguard Worker
44*436bf2bcSAndroid Build Coastguard Worker    [email protected]
45*436bf2bcSAndroid Build Coastguard Worker
46*436bf2bcSAndroid Build Coastguard Worker    Subscribe: http://vger.kernel.org/vger-lists.html#linux-trace-devel
47*436bf2bcSAndroid Build Coastguard Worker    Archives: https://lore.kernel.org/linux-trace-devel/
48*436bf2bcSAndroid Build Coastguard Worker
49*436bf2bcSAndroid Build Coastguard Worker  Note, this project follows the style of submitting patches as described
50*436bf2bcSAndroid Build Coastguard Worker  by the Linux kernel.
51*436bf2bcSAndroid Build Coastguard Worker
52*436bf2bcSAndroid Build Coastguard Worker     https://www.kernel.org/doc/html/v5.4/process/submitting-patches.html
53