X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fcommon%2Flttng-elf.hpp;h=baaea22a6f261fcf0c4eadfc53129a3b7489a5c2;hb=13c25a5c01781dbabdd40a8a304e0a90bce5a6d0;hp=41dd496053bcbc0ac98853d952f536325c059e0d;hpb=c9e313bc594f40a86eed237dce222c0fc99c957f;p=lttng-tools.git diff --git a/src/common/lttng-elf.hpp b/src/common/lttng-elf.hpp index 41dd49605..baaea22a6 100644 --- a/src/common/lttng-elf.hpp +++ b/src/common/lttng-elf.hpp @@ -10,11 +10,14 @@ #include -extern "C" LTTNG_EXPORT -int lttng_elf_get_symbol_offset(int fd, char *symbol, uint64_t *offset); +#include -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); +extern "C" LTTNG_EXPORT int lttng_elf_get_symbol_offset(int fd, char *symbol, uint64_t *offset); -#endif /* _LTTNG_ELF_H */ +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 */