Commit | Line | Data |
---|---|---|
d0927b41 FD |
1 | #ifndef _LTTNG_ELF_H |
2 | #define _LTTNG_ELF_H | |
3 | /* | |
ab5be9fa MJ |
4 | * Copyright (C) 2017 Francis Deslauriers <francis.deslauriers@efficios.com> |
5 | * Copyright (C) 2017 Erica Bugden <erica.bugden@efficios.com> | |
d0927b41 | 6 | * |
ab5be9fa | 7 | * SPDX-License-Identifier: LGPL-2.1-or-later |
d0927b41 | 8 | * |
d0927b41 FD |
9 | */ |
10 | ||
4bd69c5f | 11 | #include <lttng/lttng-export.h> |
d0927b41 | 12 | |
4bd69c5f SM |
13 | LTTNG_EXPORT int lttng_elf_get_symbol_offset(int fd, char *symbol, uint64_t *offset); |
14 | ||
15 | LTTNG_EXPORT int lttng_elf_get_sdt_probe_offsets(int fd, const char *provider_name, | |
8bd52288 FD |
16 | const char *probe_name, uint64_t **offsets, uint32_t *nb_probe); |
17 | ||
d0927b41 | 18 | #endif /* _LTTNG_ELF_H */ |