[lttng-dev] [PATCH RFC v2 lttng-tools] Testpoint mechanism
Christian Babeux
christian.babeux at efficios.com
Thu Sep 13 16:49:39 EDT 2012
Hi,
Here a few style and minor fixes to the original testpoints patch.
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.
Thanks,
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 | 69 ++++++++++++++++++++++++++++++++++++++
src/common/testpoint/testpoint.h | 72 ++++++++++++++++++++++++++++++++++++++++
5 files changed, 149 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