projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update: kvm instrumentation for 4.14.14+, 4.9.77+, 4.4.112+
[lttng-modules.git]
/
instrumentation
/
events
/
lttng-module
/
compaction.h
diff --git
a/instrumentation/events/lttng-module/compaction.h
b/instrumentation/events/lttng-module/compaction.h
index 10edec41425ff3d0c06c839609f8cbb3fad04ace..f4f234146f9f77a37b1ddcacde146b7c3c7bc746 100644
(file)
--- a/
instrumentation/events/lttng-module/compaction.h
+++ b/
instrumentation/events/lttng-module/compaction.h
@@
-4,10
+4,9
@@
#if !defined(LTTNG_TRACE_COMPACTION_H) || defined(TRACE_HEADER_MULTI_READ)
#define LTTNG_TRACE_COMPACTION_H
#if !defined(LTTNG_TRACE_COMPACTION_H) || defined(TRACE_HEADER_MULTI_READ)
#define LTTNG_TRACE_COMPACTION_H
-#include
"../../../probes/lttng-tracepoint-event.h"
+#include
<probes/lttng-tracepoint-event.h>
#include <linux/types.h>
#include <linux/version.h>
#include <linux/types.h>
#include <linux/version.h>
-#include <trace/events/gfpflags.h>
#if LINUX_VERSION_CODE >= KERNEL_VERSION(4,0,0)
#if LINUX_VERSION_CODE >= KERNEL_VERSION(4,0,0)
@@
-28,7
+27,11
@@
LTTNG_TRACEPOINT_EVENT_CLASS(compaction_isolate_template,
)
)
)
)
-LTTNG_TRACEPOINT_EVENT_INSTANCE(compaction_isolate_template, mm_compaction_isolate_migratepages,
+LTTNG_TRACEPOINT_EVENT_INSTANCE_MAP(compaction_isolate_template,
+
+ mm_compaction_isolate_migratepages,
+
+ compaction_isolate_migratepages,
TP_PROTO(unsigned long start_pfn,
unsigned long end_pfn,
TP_PROTO(unsigned long start_pfn,
unsigned long end_pfn,
@@
-38,7
+41,11
@@
LTTNG_TRACEPOINT_EVENT_INSTANCE(compaction_isolate_template, mm_compaction_isola
TP_ARGS(start_pfn, end_pfn, nr_scanned, nr_taken)
)
TP_ARGS(start_pfn, end_pfn, nr_scanned, nr_taken)
)
-LTTNG_TRACEPOINT_EVENT_INSTANCE(compaction_isolate_template, mm_compaction_isolate_freepages,
+LTTNG_TRACEPOINT_EVENT_INSTANCE_MAP(compaction_isolate_template,
+
+ mm_compaction_isolate_freepages,
+
+ compaction_isolate_freepages,
TP_PROTO(unsigned long start_pfn,
unsigned long end_pfn,
TP_PROTO(unsigned long start_pfn,
unsigned long end_pfn,
@@
-106,7
+113,7
@@
LTTNG_TRACEPOINT_EVENT_CODE_MAP(mm_compaction_migratepages,
unsigned long nr_failed;
),
unsigned long nr_failed;
),
- TP_code(
+ TP_code
_pre
(
tp_locvar->nr_failed = 0;
{
tp_locvar->nr_failed = 0;
{
@@
-123,7
+130,9
@@
LTTNG_TRACEPOINT_EVENT_CODE_MAP(mm_compaction_migratepages,
TP_FIELDS(
ctf_integer(unsigned long, nr_migrated, nr_all - tp_locvar->nr_failed)
ctf_integer(unsigned long, nr_failed, tp_locvar->nr_failed)
TP_FIELDS(
ctf_integer(unsigned long, nr_migrated, nr_all - tp_locvar->nr_failed)
ctf_integer(unsigned long, nr_failed, tp_locvar->nr_failed)
- )
+ ),
+
+ TP_code_post()
)
#else /* #if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,16,0)) */
LTTNG_TRACEPOINT_EVENT_MAP(mm_compaction_migratepages,
)
#else /* #if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,16,0)) */
LTTNG_TRACEPOINT_EVENT_MAP(mm_compaction_migratepages,
@@
-145,4
+154,4
@@
LTTNG_TRACEPOINT_EVENT_MAP(mm_compaction_migratepages,
#endif /* LTTNG_TRACE_COMPACTION_H */
/* This part must be outside protection */
#endif /* LTTNG_TRACE_COMPACTION_H */
/* This part must be outside protection */
-#include
"../../../probes/define_trace.h"
+#include
<probes/define_trace.h>
This page took
0.0244 seconds
and
4
git commands to generate.