| 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 | int lttng_elf_get_symbol_offset(int fd, char *symbol, uint64_t *offset); |
| 12 | |
| 13 | int lttng_elf_get_sdt_probe_offsets(int fd, const char *provider_name, |
| 14 | const char *probe_name, uint64_t **offsets, uint32_t *nb_probe); |
| 15 | |
| 16 | #endif /* _LTTNG_ELF_H */ |