projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
common: compile libcommon as C++
[lttng-tools.git]
/
src
/
common
/
lttng-elf.h
diff --git
a/src/common/lttng-elf.h
b/src/common/lttng-elf.h
index 524b8784605462a897a30fe75eba05f4799bc4a4..41dd496053bcbc0ac98853d952f536325c059e0d 100644
(file)
--- a/
src/common/lttng-elf.h
+++ b/
src/common/lttng-elf.h
@@
-10,9
+10,11
@@
#include <lttng/lttng-export.h>
#include <lttng/lttng-export.h>
-LTTNG_EXPORT int lttng_elf_get_symbol_offset(int fd, char *symbol, uint64_t *offset);
+extern "C" LTTNG_EXPORT
+int lttng_elf_get_symbol_offset(int fd, char *symbol, uint64_t *offset);
-LTTNG_EXPORT int lttng_elf_get_sdt_probe_offsets(int fd, const char *provider_name,
+extern "C" LTTNG_EXPORT
+int lttng_elf_get_sdt_probe_offsets(int fd, const char *provider_name,
const char *probe_name, uint64_t **offsets, uint32_t *nb_probe);
#endif /* _LTTNG_ELF_H */
const char *probe_name, uint64_t **offsets, uint32_t *nb_probe);
#endif /* _LTTNG_ELF_H */
This page took
0.024076 seconds
and
4
git commands to generate.