projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update for kernel 5.7: use vmalloc_sync_mappings on kernels >= 5.7
[lttng-modules.git]
/
lttng-context-cpu-id.c
diff --git
a/lttng-context-cpu-id.c
b/lttng-context-cpu-id.c
index d3d55b8891a8516eccc670bd125541e8216563ae..20c186a43bd54c63967e2039b9286182ff0c26dc 100644
(file)
--- a/
lttng-context-cpu-id.c
+++ b/
lttng-context-cpu-id.c
@@
-68,7
+68,7
@@
int lttng_add_cpu_id_to_ctx(struct lttng_ctx **ctx)
field->record = cpu_id_record;
field->get_value = cpu_id_get_value;
lttng_context_update(*ctx);
field->record = cpu_id_record;
field->get_value = cpu_id_get_value;
lttng_context_update(*ctx);
- wrapper_vmalloc_sync_
all
();
+ wrapper_vmalloc_sync_
mappings
();
return 0;
}
EXPORT_SYMBOL_GPL(lttng_add_cpu_id_to_ctx);
return 0;
}
EXPORT_SYMBOL_GPL(lttng_add_cpu_id_to_ctx);
This page took
0.023139 seconds
and
4
git commands to generate.