[Devel] [PATCH RHEL7 COMMIT] mm/page_alloc: fix latency in tracepoint - addon

Konstantin Khorenko khorenko at virtuozzo.com
Mon Mar 11 19:15:28 MSK 2019


The commit is pushed to "branch-rh7-3.10.0-957.5.1.vz7.84.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git
after rh7-3.10.0-957.5.1.vz7.84.6
------>
commit a257eb39adfc3062a373fdea320bf33148021637
Author: Andrey Ryabinin <aryabinin at virtuozzo.com>
Date:   Mon Mar 11 19:13:23 2019 +0300

    mm/page_alloc: fix latency in tracepoint - addon
    
    Compilation warning fixed: use proper type.
    
    Fixes: 7eff199a7a9e ("mm/page_alloc: fix latency in tracepoint.")
    
    Signed-off-by: Andrey Ryabinin <aryabinin at virtuozzo.com>
---
 include/trace/events/kmem.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/trace/events/kmem.h b/include/trace/events/kmem.h
index 7963e3f1c66f..9cb647609df3 100644
--- a/include/trace/events/kmem.h
+++ b/include/trace/events/kmem.h
@@ -194,7 +194,7 @@ TRACE_EVENT(mm_page_free_batched,
 TRACE_EVENT(mm_page_alloc,
 
 	TP_PROTO(struct page *page, unsigned int order,
-			gfp_t gfp_flags, int migratetype, unsigned int time),
+			gfp_t gfp_flags, int migratetype, u64 time),
 
 	TP_ARGS(page, order, gfp_flags, migratetype, time),
 
@@ -203,7 +203,7 @@ TRACE_EVENT(mm_page_alloc,
 		__field(	unsigned int,	order		)
 		__field(	gfp_t,		gfp_flags	)
 		__field(	int,		migratetype	)
-		__field(	unsigned int,	time		)
+		__field(	u64,		time		)
 	),
 
 	TP_fast_assign(



More information about the Devel mailing list