X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fcommon%2Flttng-elf.h;h=41dd496053bcbc0ac98853d952f536325c059e0d;hb=eb2827a4f0ccc637bf1d42edebf2607dbea80428;hp=524b8784605462a897a30fe75eba05f4799bc4a4;hpb=4bd69c5f1161cd065f487da0f4c1aa03a73c47e4;p=lttng-tools.git diff --git a/src/common/lttng-elf.h b/src/common/lttng-elf.h index 524b87846..41dd49605 100644 --- a/src/common/lttng-elf.h +++ b/src/common/lttng-elf.h @@ -10,9 +10,11 @@ #include -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 */