Implement ELF function offset extraction function
[lttng-tools.git] / src / common / lttng-elf.h
diff --git a/src/common/lttng-elf.h b/src/common/lttng-elf.h
new file mode 100644 (file)
index 0000000..9258072
--- /dev/null
@@ -0,0 +1,24 @@
+#ifndef _LTTNG_ELF_H
+#define _LTTNG_ELF_H
+/*
+ * Copyright (C) 2017  Francis Deslauriers <francis.deslauriers@efficios.com>
+ * Copyright (C) 2017  Erica Bugden <erica.bugden@efficios.com>
+ *
+ * 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.
+ *
+ * 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);
+
+#endif /* _LTTNG_ELF_H */
This page took 0.022882 seconds and 4 git commands to generate.