OpenCloudOS-Kernel/tools/lib/traceevent
Sudip Mukherjee c09982f8e2 libtraceevent: Allow custom libdir path
When I use prefix=/usr and try to install libtraceevent in my laptop it
tries to install in /usr/lib64. I am not having any folder as /usr/lib64
and also the debian policy doesnot allow installing in /usr/lib64. It
should be in /usr/lib/x86_64-linux-gnu/.

Quote: No package for a 64 bit architecture may install files in
	/usr/lib64/ or in a subdirectory of it.

ref: https://www.debian.org/doc/debian-policy/ch-opersys.html

Make it more flexible by allowing to mention libdir_relative while
installing so that distros can mention the path according to their
policy or use the default one.

Signed-off-by: Sudipm Mukherjee <sudipm.mukherjee@gmail.com>
Reviewed-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Cc: Sudipm Mukherjee <sudipm.mukherjee@gmail.com>
Cc: linux-trace-devel@vger.kernel.org
Link: http://lore.kernel.org/lkml/20191207111440.6574-1-sudipm.mukherjee@gmail.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2019-12-16 13:40:26 -03:00
..
Documentation libtraceevent: Man pages for tep plugins APIs 2019-09-25 09:51:43 -03:00
plugins libtraceevent: Allow custom libdir path 2019-12-16 13:40:26 -03:00
.gitignore tools lib traceevent: Ignore generated library files 2016-08-02 12:16:13 -03:00
Build libtraceevent: Move traceevent plugins in its own subdirectory 2019-09-25 09:51:43 -03:00
Makefile libtraceevent: Allow custom libdir path 2019-12-16 13:40:26 -03:00
event-parse-api.c libtraceevent, perf tools: Changes in tep_print_event_* APIs 2019-08-31 22:19:28 -03:00
event-parse-local.h libtraceevent: Remove tep_register_trace_clock() 2019-08-31 22:19:28 -03:00
event-parse.c libtraceevent: Fix parsing of event %o and %X argument types 2019-11-18 13:01:59 -03:00
event-parse.h libtraceevent: Add tep_get_event() in event-parse.h 2019-09-25 09:51:43 -03:00
event-plugin.c libtraceevent: Change users plugin directory 2019-08-31 22:19:28 -03:00
event-utils.h tools lib traceevent: Change to SPDX License format 2018-08-20 08:54:58 -03:00
kbuffer-parse.c tools lib traceevent: Add more debugging to see various internal ring buffer entries 2019-04-01 15:18:09 -03:00
kbuffer.h tools lib traceevent: Add more debugging to see various internal ring buffer entries 2019-04-01 15:18:09 -03:00
libtraceevent.pc.template tools lib traceevent: Remove hard coded install paths from pkg-config file 2019-05-15 16:36:46 -03:00
parse-filter.c libtraceevent: Fix memory leakage in copy_filter_type 2019-11-22 10:48:14 -03:00
parse-utils.c tools lib traceevent: Change tag string for error 2019-05-02 16:00:19 -04:00
tep_strerror.c tools lib traceevent: Separate out tep_strerror() for strerror_r() issues 2018-10-08 14:30:45 -03:00
trace-seq.c tools lib traceevent: Changed return logic of trace_seq_printf() and trace_seq_vprintf() APIs 2019-01-08 13:28:13 -03:00
trace-seq.h tools lib traceevent, perf tools: Split trace-seq related APIs in a separate header file 2018-08-30 15:52:20 -03:00