aboutsummaryrefslogtreecommitdiffstats
path: root/tools/lib/find_bit.c
diff options
context:
space:
mode:
authorJiri Olsa <jolsa@kernel.org>2016-07-31 16:52:34 +0200
committerArnaldo Carvalho de Melo <acme@redhat.com>2016-10-24 11:07:32 -0300
commitfe316723a8106c7527710ae7085a1dc6a9c1ab05 (patch)
tree9e3097bb55310587ebbb8b03810bcf17b4413186 /tools/lib/find_bit.c
parenttools lib traceevent: Rename LIB_FILE to LIB_TARGET (diff)
downloadlinux-dev-fe316723a8106c7527710ae7085a1dc6a9c1ab05.tar.xz
linux-dev-fe316723a8106c7527710ae7085a1dc6a9c1ab05.zip
tools lib traceevent: Add version for traceevent shared object
Adding version support for libtraceevent.so object. Using the existing EVENT_PARSE_VERSION variable to construct the .so object version string, which now consists of: $(EP_VERSION).$(EP_PATCHLEVEL).$(EP_EXTRAVERSION) Looks like it was created for this purpose anyway. The build will now produce following traeceevent libraries: $ ll libtraceevent* libtraceevent.a libtraceevent.so -> libtraceevent.so.1.1.0 libtraceevent.so.1 -> libtraceevent.so.1.1.0 libtraceevent.so.1.1.0 Also the install target will carry them: $ make DESTDIR=/tmp/krava prefix=/usr install INSTALL trace_plugins INSTALL libtraceevent.a INSTALL libtraceevent.so.1.1.0 $ find /tmp/krava/ | xargs ls -l ... /tmp/krava/usr/lib64: total 572 libtraceevent.a libtraceevent.so -> libtraceevent.so.1.1.0 libtraceevent.so.1 -> libtraceevent.so.1.1.0 libtraceevent.so.1.1.0 ... Signed-off-by: Jiri Olsa <jolsa@kernel.org> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Steven Rostedt <rostedt@goodmis.org> Link: http://lkml.kernel.org/n/tip-v64z62fh0dwt0ueie5usrnac@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/lib/find_bit.c')
0 files changed, 0 insertions, 0 deletions