| 1 | #ifndef _LTTNG_ELF_H |
| 2 | #define _LTTNG_ELF_H |
| 3 | /* |
| 4 | * Copyright (C) 2017 Francis Deslauriers <francis.deslauriers@efficios.com> |
| 5 | * Copyright (C) 2017 Erica Bugden <erica.bugden@efficios.com> |
| 6 | * |
| 7 | * SPDX-License-Identifier: LGPL-2.1-or-later |
| 8 | * |
| 9 | */ |
| 10 | |
| 11 | #include <lttng/lttng-export.h> |
| 12 | |
| 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, |
| 16 | const char *probe_name, uint64_t **offsets, uint32_t *nb_probe); |
| 17 | |
| 18 | #endif /* _LTTNG_ELF_H */ |