X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=plugins%2Flttng-utils%2Fdebug-info%2Fbin-info.h;h=c193a06de28383a79f9b6713704f1af7da76bbba;hb=68b66a256a54d32992dfefeaad11eea88b7df234;hp=8e3a4fc685b483e33c3fbbe5b09499d2bb51c428;hpb=af54bd1801ea51b6710a9926ed12b82fc43cc944;p=babeltrace.git diff --git a/plugins/lttng-utils/debug-info/bin-info.h b/plugins/lttng-utils/debug-info/bin-info.h index 8e3a4fc6..c193a06d 100644 --- a/plugins/lttng-utils/debug-info/bin-info.h +++ b/plugins/lttng-utils/debug-info/bin-info.h @@ -31,13 +31,14 @@ #include #include #include -#include -#include +#include +#include #define DEFAULT_DEBUG_DIR "/usr/lib/debug" -#define DEBUG_SUBDIR ".debug/" -#define BUILD_ID_SUBDIR ".build-id/" +#define DEBUG_SUBDIR ".debug" +#define BUILD_ID_SUBDIR ".build-id" #define BUILD_ID_SUFFIX ".debug" +#define BUILD_ID_PREFIX_DIR_LEN 2 struct bin_info { /* Base virtual memory address. */ @@ -66,11 +67,6 @@ struct bin_info { gchar *debug_info_dir; /* Denotes whether the executable is position independent code. */ bool is_pic:1; - /* - * Endianness of the binary file. (may differ from system endianness). - * Two possible values are ELFDATA2MSB and ELFDATA2LSB. - */ - uint8_t endianness; /* Denotes whether the build id in the trace matches to one on disk. */ bool file_build_id_matches:1; /*