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]
/
probes
/
lttng-tracepoint-event-impl.h
diff --git
a/probes/lttng-tracepoint-event-impl.h
b/probes/lttng-tracepoint-event-impl.h
index 5f77bf4d5405f6c8c50bc06f99e5a166869f4765..48639152a3e1cc02839c85f348e4cbb3f78529c7 100644
(file)
--- a/
probes/lttng-tracepoint-event-impl.h
+++ b/
probes/lttng-tracepoint-event-impl.h
@@
-15,7
+15,7
@@
#include <probes/lttng.h>
#include <probes/lttng-types.h>
#include <probes/lttng-probe-user.h>
#include <probes/lttng.h>
#include <probes/lttng-types.h>
#include <probes/lttng-probe-user.h>
-#include <wrapper/vmalloc.h> /* for wrapper_vmalloc_sync_
all
() */
+#include <wrapper/vmalloc.h> /* for wrapper_vmalloc_sync_
mappings
() */
#include <wrapper/ringbuffer/frontend_types.h>
#include <wrapper/ringbuffer/backend.h>
#include <wrapper/rcu.h>
#include <wrapper/ringbuffer/frontend_types.h>
#include <wrapper/ringbuffer/backend.h>
#include <wrapper/rcu.h>
@@
-1414,7
+1414,7
@@
static __used struct lttng_probe_desc TP_ID(__probe_desc___, TRACE_SYSTEM) = {
#ifndef TP_MODULE_NOINIT
static int TP_ID(__lttng_events_init__, TRACE_SYSTEM)(void)
{
#ifndef TP_MODULE_NOINIT
static int TP_ID(__lttng_events_init__, TRACE_SYSTEM)(void)
{
- wrapper_vmalloc_sync_
all
();
+ wrapper_vmalloc_sync_
mappings
();
return lttng_probe_register(&TP_ID(__probe_desc___, TRACE_SYSTEM));
}
return lttng_probe_register(&TP_ID(__probe_desc___, TRACE_SYSTEM));
}
This page took
0.025368 seconds
and
4
git commands to generate.