projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove lttng_ust_synchronize_trace public symbol
[lttng-ust.git]
/
liblttng-ust
/
lttng-context.c
diff --git
a/liblttng-ust/lttng-context.c
b/liblttng-ust/lttng-context.c
index 59bc082b6e353e43b7152bc2e2f245fb3d77d269..34609eb057291fd9355f9e953360cc0e29bc6379 100644
(file)
--- a/
liblttng-ust/lttng-context.c
+++ b/
liblttng-ust/lttng-context.c
@@
-11,6
+11,7
@@
#include <lttng/ust-tracer.h>
#include <ust-context-provider.h>
#include <lttng/urcu/pointer.h>
#include <lttng/ust-tracer.h>
#include <ust-context-provider.h>
#include <lttng/urcu/pointer.h>
+#include <lttng/urcu/urcu-ust.h>
#include <usterr-signal-safe.h>
#include <ust-helper.h>
#include <stddef.h>
#include <usterr-signal-safe.h>
#include <ust-helper.h>
#include <stddef.h>
@@
-145,7
+146,7
@@
int lttng_context_add_rcu(struct lttng_ctx **ctx_p,
*nf = *f;
lttng_context_update(new_ctx);
lttng_ust_rcu_assign_pointer(*ctx_p, new_ctx);
*nf = *f;
lttng_context_update(new_ctx);
lttng_ust_rcu_assign_pointer(*ctx_p, new_ctx);
- lttng_ust_
synchronize_trace
();
+ lttng_ust_
urcu_synchronize_rcu
();
if (old_ctx) {
free(old_ctx->fields);
free(old_ctx);
if (old_ctx) {
free(old_ctx->fields);
free(old_ctx);
@@
-379,7
+380,7
@@
int lttng_ust_context_set_provider_rcu(struct lttng_ctx **_ctx,
}
new_ctx->fields = new_fields;
lttng_ust_rcu_assign_pointer(*_ctx, new_ctx);
}
new_ctx->fields = new_fields;
lttng_ust_rcu_assign_pointer(*_ctx, new_ctx);
- lttng_ust_
synchronize_trace
();
+ lttng_ust_
urcu_synchronize_rcu
();
free(ctx->fields);
free(ctx);
return 0;
free(ctx->fields);
free(ctx);
return 0;
This page took
0.026359 seconds
and
4
git commands to generate.