X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fcommon%2Flttng-elf.h;h=41dd496053bcbc0ac98853d952f536325c059e0d;hb=4ff750609549a99f6b318ce600c42c90d4f2e480;hp=49b064ce54b61e129ab253dccaec97900427e758;hpb=ab5be9fa2eb5ba9600a82cd18fd3cfcbac69169a;p=lttng-tools.git diff --git a/src/common/lttng-elf.h b/src/common/lttng-elf.h index 49b064ce5..41dd49605 100644 --- a/src/common/lttng-elf.h +++ b/src/common/lttng-elf.h @@ -8,8 +8,12 @@ * */ +#include + +extern "C" LTTNG_EXPORT int lttng_elf_get_symbol_offset(int fd, char *symbol, uint64_t *offset); +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);