projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: SUNRPC: Fix oops when trace sunrpc_task events in nfs client
[lttng-modules.git]
/
lttng-context-migratable.c
diff --git
a/lttng-context-migratable.c
b/lttng-context-migratable.c
index 4aefce61d43103ea698b041ce0fabc7e14a7fdac..c88619594f164d7caa99f3f93321c34612ae79ec 100644
(file)
--- a/
lttng-context-migratable.c
+++ b/
lttng-context-migratable.c
@@
-44,7
+44,7
@@
void migratable_record(struct lttng_ctx_field *field,
struct lib_ring_buffer_ctx *ctx,
struct lttng_channel *chan)
{
struct lib_ring_buffer_ctx *ctx,
struct lttng_channel *chan)
{
- uint8_t migratable = !
__migrate_disabled(current)
;
+ uint8_t migratable = !
current->migrate_disable
;
lib_ring_buffer_align_ctx(ctx, lttng_alignof(migratable));
chan->ops->event_write(ctx, &migratable, sizeof(migratable));
lib_ring_buffer_align_ctx(ctx, lttng_alignof(migratable));
chan->ops->event_write(ctx, &migratable, sizeof(migratable));
@@
-55,7
+55,7
@@
void migratable_get_value(struct lttng_ctx_field *field,
struct lttng_probe_ctx *lttng_probe_ctx,
union lttng_ctx_value *value)
{
struct lttng_probe_ctx *lttng_probe_ctx,
union lttng_ctx_value *value)
{
- value->s64 = !
__migrate_disabled(current)
;
+ value->s64 = !
current->migrate_disable
;
}
int lttng_add_migratable_to_ctx(struct lttng_ctx **ctx)
}
int lttng_add_migratable_to_ctx(struct lttng_ctx **ctx)
This page took
0.023857 seconds
and
4
git commands to generate.