projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
flt.lttng-utils.debug-info: Replace hardcoded '/' in paths
[babeltrace.git]
/
plugins
/
lttng-utils
/
debug-info
/
bin-info.h
diff --git
a/plugins/lttng-utils/debug-info/bin-info.h
b/plugins/lttng-utils/debug-info/bin-info.h
index f6848fb3bae6c7e8ff529b39d94ce172269ab9b9..93118a65f40ad5cafff7237a56ba5da602f57496 100644
(file)
--- a/
plugins/lttng-utils/debug-info/bin-info.h
+++ b/
plugins/lttng-utils/debug-info/bin-info.h
@@
-35,9
+35,10
@@
#include <babeltrace/fd-cache-internal.h>
#define DEFAULT_DEBUG_DIR "/usr/lib/debug"
#include <babeltrace/fd-cache-internal.h>
#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_SUFFIX ".debug"
+#define BUILD_ID_PREFIX_DIR_LEN 2
struct bin_info {
/* Base virtual memory address. */
struct bin_info {
/* Base virtual memory address. */
@@
-66,7
+67,7
@@
struct bin_info {
gchar *debug_info_dir;
/* Denotes whether the executable is position independent code. */
bool is_pic:1;
gchar *debug_info_dir;
/* Denotes whether the executable is position independent code. */
bool is_pic:1;
- /*
d
enotes whether the build id in the trace matches to one on disk. */
+ /*
D
enotes 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
bool file_build_id_matches:1;
/*
* Denotes whether the executable only has ELF symbols and no
This page took
0.023434 seconds
and
4
git commands to generate.