X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fcommon%2Flttng-elf.h;h=524b8784605462a897a30fe75eba05f4799bc4a4;hb=3afa94aeca5a0daae40fd7b6cc96b7e4c150c7d8;hp=49b064ce54b61e129ab253dccaec97900427e758;hpb=ab5be9fa2eb5ba9600a82cd18fd3cfcbac69169a;p=lttng-tools.git diff --git a/src/common/lttng-elf.h b/src/common/lttng-elf.h index 49b064ce5..524b87846 100644 --- a/src/common/lttng-elf.h +++ b/src/common/lttng-elf.h @@ -8,9 +8,11 @@ * */ -int lttng_elf_get_symbol_offset(int fd, char *symbol, uint64_t *offset); +#include -int lttng_elf_get_sdt_probe_offsets(int fd, const char *provider_name, +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, const char *probe_name, uint64_t **offsets, uint32_t *nb_probe); #endif /* _LTTNG_ELF_H */