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/vmscan: simplify trace_reclaim_flags and trace_shrink_flags (v5.2)
[lttng-modules.git]
/
instrumentation
/
events
/
lttng-module
/
kmem.h
diff --git
a/instrumentation/events/lttng-module/kmem.h
b/instrumentation/events/lttng-module/kmem.h
index 8270fcedc1851d9c57d165802b3b76d925ca627a..2313ae812a80b6f3e16b5b819e734e160c5f9d92 100644
(file)
--- a/
instrumentation/events/lttng-module/kmem.h
+++ b/
instrumentation/events/lttng-module/kmem.h
@@
-115,7
+115,6
@@
LTTNG_TRACEPOINT_EVENT_INSTANCE(kmem_free, kmem_cache_free,
TP_ARGS(call_site, ptr)
)
TP_ARGS(call_site, ptr)
)
-#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,32))
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,3,0))
LTTNG_TRACEPOINT_EVENT_MAP(mm_page_free, kmem_mm_page_free,
#else
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,3,0))
LTTNG_TRACEPOINT_EVENT_MAP(mm_page_free, kmem_mm_page_free,
#else
@@
-218,11
+217,7
@@
LTTNG_TRACEPOINT_EVENT_INSTANCE_MAP(kmem_mm_page, mm_page_pcpu_drain,
kmem_mm_page_pcpu_drain,
kmem_mm_page_pcpu_drain,
-#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,33))
TP_PROTO(struct page *page, unsigned int order, int migratetype),
TP_PROTO(struct page *page, unsigned int order, int migratetype),
-#else
- TP_PROTO(struct page *page, int order, int migratetype),
-#endif
TP_ARGS(page, order, migratetype)
)
TP_ARGS(page, order, migratetype)
)
@@
-337,8
+332,6
@@
LTTNG_TRACEPOINT_EVENT_MAP(mm_page_alloc_extfrag,
#endif /* #else #if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,12,0)) */
#endif /* #else #if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,12,0)) */
-#endif
-
#endif /* LTTNG_TRACE_KMEM_H */
/* This part must be outside protection */
#endif /* LTTNG_TRACE_KMEM_H */
/* This part must be outside protection */
This page took
0.024603 seconds
and
4
git commands to generate.