Make futex compat internal to liblttng-ust
authorMichael Jeanson <mjeanson@efficios.com>
Thu, 22 Apr 2021 16:48:52 +0000 (12:48 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 23 Apr 2021 19:45:58 +0000 (15:45 -0400)
commit08ba2503b86d1506117c077c99eb1c38973a48f3
treec3188035a28fdb8131ea0d393e3de72b88420cf8
parentf78f3df1b255162d62a68f31aba34b86528a029f
Make futex compat internal to liblttng-ust

This compat header originated in userspace RCU where it's used across
multiple shared objects hence the need to have the mutexes as public
weak symbols, in our case it's only used internally by liblttng-ust so
we can hide them.

If we end up using this compat header in another library in this project
we will have to use the same scheme, but in the meantime, don't expose
those symbols in the ABI.

Move the code to the liblttng-ust directory to make sure it's not used
by other libraries.

Change-Id: Ibfaef9448eeaf6247b42f71d6b6d8de234d79a3c
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
src/common/Makefile.am
src/common/compat/futex.c [deleted file]
src/common/compat/futex.h [deleted file]
src/lib/lttng-ust/Makefile.am
src/lib/lttng-ust/futex.c [new file with mode: 0644]
src/lib/lttng-ust/futex.h [new file with mode: 0644]
src/lib/lttng-ust/lttng-ust-comm.c
This page took 0.025602 seconds and 4 git commands to generate.