X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=plugins%2Flttng-utils%2Fbin-info.h;h=2bcd9fae42cd55b1896fe41f765300abdb667da6;hb=9916d162e08a055fe51ba22678d43bef5f7b0026;hp=05d0d797d0372697a45eb23f33394507df965ed0;hpb=456a4476cac0e5b5e5bec47a07243faee091eb72;p=deliverable%2Fbabeltrace.git diff --git a/plugins/lttng-utils/bin-info.h b/plugins/lttng-utils/bin-info.h index 05d0d797d..2bcd9fae4 100644 --- a/plugins/lttng-utils/bin-info.h +++ b/plugins/lttng-utils/bin-info.h @@ -46,24 +46,27 @@ struct bin_info { /* Size of exec address space. */ uint64_t memsz; /* Paths to ELF and DWARF files. */ - char *elf_path; - char *dwarf_path; + gchar *elf_path; + gchar *dwarf_path; /* libelf and libdw objects representing the files. */ Elf *elf_file; Dwarf *dwarf_info; /* Optional build ID info. */ uint8_t *build_id; size_t build_id_len; + /* Optional debug link info. */ - char *dbg_link_filename; + gchar *dbg_link_filename; uint32_t dbg_link_crc; /* FDs to ELF and DWARF files. */ int elf_fd; int dwarf_fd; /* Configuration. */ - char *debug_info_dir; + gchar *debug_info_dir; /* Denotes whether the executable is position independent code. */ bool is_pic:1; + /* denotes whether the build id in the trace matches to one on disk. */ + bool file_build_id_matches:1; /* * Denotes whether the executable only has ELF symbols and no * DWARF info. @@ -73,7 +76,7 @@ struct bin_info { struct source_location { uint64_t line_no; - char *filename; + gchar *filename; }; /**