Fix: lttng: poptGetArg doesn't provide string ownership
[lttng-tools.git] / src / common / lttng-elf.hpp
CommitLineData
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
a6bc4ca9
SM
13extern "C" LTTNG_EXPORT
14int lttng_elf_get_symbol_offset(int fd, char *symbol, uint64_t *offset);
4bd69c5f 15
a6bc4ca9
SM
16extern "C" LTTNG_EXPORT
17int lttng_elf_get_sdt_probe_offsets(int fd, const char *provider_name,
8bd52288
FD
18 const char *probe_name, uint64_t **offsets, uint32_t *nb_probe);
19
d0927b41 20#endif /* _LTTNG_ELF_H */
This page took 0.049317 seconds and 4 git commands to generate.