projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix: mm: compaction: fix the migration stats in trace_mm_compaction_migratepages...
[lttng-modules.git]
/
lttng-context-migratable.c
diff --git
a/lttng-context-migratable.c
b/lttng-context-migratable.c
index bb44c653b4eaeec3164e7913ac4c75b1c4bb82ad..65154b8b0d0b73f00ac1fcc1934c87855ce7141d 100644
(file)
--- a/
lttng-context-migratable.c
+++ b/
lttng-context-migratable.c
@@
-31,7
+31,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));
@@
-42,7
+42,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)
@@
-68,7
+68,7
@@
int lttng_add_migratable_to_ctx(struct lttng_ctx **ctx)
field->record = migratable_record;
field->get_value = migratable_get_value;
lttng_context_update(*ctx);
field->record = migratable_record;
field->get_value = migratable_get_value;
lttng_context_update(*ctx);
- wrapper_vmalloc_sync_
all
();
+ wrapper_vmalloc_sync_
mappings
();
return 0;
}
EXPORT_SYMBOL_GPL(lttng_add_migratable_to_ctx);
return 0;
}
EXPORT_SYMBOL_GPL(lttng_add_migratable_to_ctx);
This page took
0.025666 seconds
and
4
git commands to generate.