[lttng-dev] [PATCH RFC v3 lttng-tools] Testpoint mechanism
Christian Babeux
christian.babeux at efficios.com
Fri Sep 14 15:00:29 EDT 2012
Hi,
Here a few style and a define fix to the original testpoints patch.
Changelog v3:
- Use _GNU_SOURCE instead of __USE_GNU define. __USE_GNU is
resetted by any headers that include features.h. This can cause
erratic behavior depending on the order of headers inclusion.
- Style fixes.
Changelog v2:
- Moved dlsym call to a separate function in testpoint.c.
This is to avoid to have to define __USE_GNU in the testpoint
header and possibly contaminate others with this define.
- Use caa_likely/unlikely instead of defining likely/unlikely.
- Style and comments fixes.
Christian Babeux (1):
New testpoint mechanism to instrument LTTng binaries for testing
purpose
configure.ac | 1 +
src/common/Makefile.am | 2 +-
src/common/testpoint/Makefile.am | 6 ++++
src/common/testpoint/testpoint.c | 64 ++++++++++++++++++++++++++++++++++
src/common/testpoint/testpoint.h | 74 ++++++++++++++++++++++++++++++++++++++++
5 files changed, 146 insertions(+), 1 deletion(-)
create mode 100644 src/common/testpoint/Makefile.am
create mode 100644 src/common/testpoint/testpoint.c
create mode 100644 src/common/testpoint/testpoint.h
--
1.7.11.4
More information about the lttng-dev
mailing list