X-Git-Url: http://git.efficios.com/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fcommon%2Flttng-elf.h;h=49b064ce54b61e129ab253dccaec97900427e758;hp=9258072393d504b898282613057e0bf8d2c892bd;hb=25357057de5ae4dd2a572e8f9b893c1b90cbd60a;hpb=d0927b411543c173c4fb83abf785fd71a9d29ed1 diff --git a/src/common/lttng-elf.h b/src/common/lttng-elf.h index 925807239..49b064ce5 100644 --- a/src/common/lttng-elf.h +++ b/src/common/lttng-elf.h @@ -1,24 +1,16 @@ #ifndef _LTTNG_ELF_H #define _LTTNG_ELF_H /* - * Copyright (C) 2017 Francis Deslauriers - * Copyright (C) 2017 Erica Bugden + * Copyright (C) 2017 Francis Deslauriers + * Copyright (C) 2017 Erica Bugden * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. + * SPDX-License-Identifier: LGPL-2.1-or-later * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ int lttng_elf_get_symbol_offset(int fd, char *symbol, uint64_t *offset); +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 */