From: Mathieu Desnoyers Date: Thu, 19 Mar 2015 19:48:26 +0000 (-0400) Subject: Fix: update backported kmem patches to lttng-modules 2.5 API X-Git-Tag: v2.5.4~9 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=fe87883ddf6f05c83f5892ba76f622cf26b87b4b;p=lttng-modules.git Fix: update backported kmem patches to lttng-modules 2.5 API Signed-off-by: Mathieu Desnoyers --- diff --git a/instrumentation/events/lttng-module/kmem.h b/instrumentation/events/lttng-module/kmem.h index bff5cc6b..b89eb8cf 100644 --- a/instrumentation/events/lttng-module/kmem.h +++ b/instrumentation/events/lttng-module/kmem.h @@ -288,7 +288,7 @@ DEFINE_EVENT_PRINT(mm_page, mm_page_pcpu_drain, #if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,19,2)) -LTTNG_TRACEPOINT_EVENT(mm_page_alloc_extfrag, +TRACE_EVENT(mm_page_alloc_extfrag, TP_PROTO(struct page *page, int alloc_order, int fallback_order, @@ -331,7 +331,7 @@ LTTNG_TRACEPOINT_EVENT(mm_page_alloc_extfrag, #elif (LINUX_VERSION_CODE >= KERNEL_VERSION(3,12,30)) -LTTNG_TRACEPOINT_EVENT(mm_page_alloc_extfrag, +TRACE_EVENT(mm_page_alloc_extfrag, TP_PROTO(struct page *page, int alloc_order, int fallback_order,