projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: tracepoint.h: Disable address sanitizer on pointer array section variables
[lttng-ust.git]
/
include
/
lttng
/
tracepoint.h
diff --git
a/include/lttng/tracepoint.h
b/include/lttng/tracepoint.h
index a91faa42c475bc0c34a16fcc5f65eb22bb401f7b..7cfae3e4c10cd65c557a525fdbee063cd6d23c53 100644
(file)
--- a/
include/lttng/tracepoint.h
+++ b/
include/lttng/tracepoint.h
@@
-441,7
+441,8
@@
extern struct lttng_ust_tracepoint * const __stop___tracepoints_ptrs[]
}; \
static struct lttng_ust_tracepoint * \
__tracepoint_ptr_##_provider##___##_name \
}; \
static struct lttng_ust_tracepoint * \
__tracepoint_ptr_##_provider##___##_name \
- __attribute__((used, section("__tracepoints_ptrs"))) = \
+ __attribute__((section("__tracepoints_ptrs"), used)) \
+ __lttng_ust_variable_attribute_no_sanitize_address = \
&__tracepoint_##_provider##___##_name;
static void lttng_ust_notrace __attribute__((constructor))
&__tracepoint_##_provider##___##_name;
static void lttng_ust_notrace __attribute__((constructor))
This page took
0.041517 seconds
and
5
git commands to generate.