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