X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=liblttng-ust%2Flttng-ust-elf.c;h=3e0b8890559bd968c45d523fd643c35005f01b99;hb=6ba6fd60507f8e045bdc4f1be14e9d99c6a15f7f;hp=fc4029c93c78377d2cb37dd80eea047d7d56eb59;hpb=ddabe860f4cf41a4206a8157d83e6b9354f85cb5;p=lttng-ust.git diff --git a/liblttng-ust/lttng-ust-elf.c b/liblttng-ust/lttng-ust-elf.c index fc4029c9..3e0b8890 100644 --- a/liblttng-ust/lttng-ust-elf.c +++ b/liblttng-ust/lttng-ust-elf.c @@ -6,9 +6,6 @@ #define _LGPL_SOURCE #include -#include -#include -#include #include #include #include @@ -16,6 +13,9 @@ #include #include +#include + +#include #include #include "lttng-tracer-core.h" @@ -580,6 +580,7 @@ error: * * Returns 0 on success, -1 if an error occurred. */ +static int lttng_ust_elf_get_debug_link_from_section(struct lttng_ust_elf *elf, char **filename, uint32_t *crc, struct lttng_ust_elf_shdr *shdr)