projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Cygwin: Remove weak symbols attributes due to semantic differences
[lttng-ust.git]
/
include
/
lttng
/
tracepoint.h
diff --git
a/include/lttng/tracepoint.h
b/include/lttng/tracepoint.h
index 5bab476b86485a112c98a5ab433fa13ec88cca7d..01561d81f4bebe62c7f4df35accb62504baaf681 100644
(file)
--- a/
include/lttng/tracepoint.h
+++ b/
include/lttng/tracepoint.h
@@
-235,19
+235,14
@@
extern struct tracepoint_dlopen tracepoint_dlopen;
__attribute__((used, section("__tracepoints_ptrs"))) = \
&__tracepoint_##_provider##___##_name;
__attribute__((used, section("__tracepoints_ptrs"))) = \
&__tracepoint_##_provider##___##_name;
-/*
- * These weak symbols, the constructor, and destructor take care of
- * registering only _one_ instance of the tracepoints per shared-ojbect
- * (or for the whole main program).
- */
extern struct tracepoint * const __start___tracepoints_ptrs[]
extern struct tracepoint * const __start___tracepoints_ptrs[]
- __attribute__((
weak,
visibility("hidden")));
+ __attribute__((visibility("hidden")));
extern struct tracepoint * const __stop___tracepoints_ptrs[]
extern struct tracepoint * const __stop___tracepoints_ptrs[]
- __attribute__((
weak,
visibility("hidden")));
+ __attribute__((visibility("hidden")));
int __tracepoint_registered
int __tracepoint_registered
- __attribute__((
weak,
visibility("hidden")));
+ __attribute__((visibility("hidden")));
struct tracepoint_dlopen tracepoint_dlopen
struct tracepoint_dlopen tracepoint_dlopen
- __attribute__((
weak,
visibility("hidden")));
+ __attribute__((visibility("hidden")));
static void __attribute__((constructor)) __tracepoints__init(void)
{
static void __attribute__((constructor)) __tracepoints__init(void)
{
This page took
0.023963 seconds
and
4
git commands to generate.