projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: sessiond: ODR violation results in memory corruption
[lttng-tools.git]
/
src
/
common
/
tracker.cpp
diff --git
a/src/common/tracker.cpp
b/src/common/tracker.cpp
index 41e141afe63ae36e09e3caa9f5bb9b21f07331c3..e988599bae9a27a0c4859e6a577b191a5ff57094 100644
(file)
--- a/
src/common/tracker.cpp
+++ b/
src/common/tracker.cpp
@@
-20,6
+20,7
@@
#include <type_traits>
#include <type_traits>
+namespace {
struct process_attr_tracker_values_comm_header {
uint32_t count;
} LTTNG_PACKED;
struct process_attr_tracker_values_comm_header {
uint32_t count;
} LTTNG_PACKED;
@@
-33,6
+34,7
@@
struct process_attr_tracker_value_comm {
uint32_t name_len;
} value;
} LTTNG_PACKED;
uint32_t name_len;
} value;
} LTTNG_PACKED;
+} /* namespace */
#define GET_INTEGRAL_COMM_VALUE(value_ptr, as_type) \
((as_type)(std::is_signed<as_type>::value ? (value_ptr)->u._signed : \
#define GET_INTEGRAL_COMM_VALUE(value_ptr, as_type) \
((as_type)(std::is_signed<as_type>::value ? (value_ptr)->u._signed : \
This page took
0.024045 seconds
and
4
git commands to generate.