diff options
Diffstat (limited to 'include/trace/events/kmem.h')
-rw-r--r-- | include/trace/events/kmem.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/include/trace/events/kmem.h b/include/trace/events/kmem.h index 6bc943ecb841..d0c613476620 100644 --- a/include/trace/events/kmem.h +++ b/include/trace/events/kmem.h | |||
@@ -268,11 +268,13 @@ TRACE_EVENT(mm_page_alloc_extfrag, | |||
268 | 268 | ||
269 | TP_PROTO(struct page *page, | 269 | TP_PROTO(struct page *page, |
270 | int alloc_order, int fallback_order, | 270 | int alloc_order, int fallback_order, |
271 | int alloc_migratetype, int fallback_migratetype), | 271 | int alloc_migratetype, int fallback_migratetype, |
272 | int change_ownership), | ||
272 | 273 | ||
273 | TP_ARGS(page, | 274 | TP_ARGS(page, |
274 | alloc_order, fallback_order, | 275 | alloc_order, fallback_order, |
275 | alloc_migratetype, fallback_migratetype), | 276 | alloc_migratetype, fallback_migratetype, |
277 | change_ownership), | ||
276 | 278 | ||
277 | TP_STRUCT__entry( | 279 | TP_STRUCT__entry( |
278 | __field( struct page *, page ) | 280 | __field( struct page *, page ) |
@@ -280,6 +282,7 @@ TRACE_EVENT(mm_page_alloc_extfrag, | |||
280 | __field( int, fallback_order ) | 282 | __field( int, fallback_order ) |
281 | __field( int, alloc_migratetype ) | 283 | __field( int, alloc_migratetype ) |
282 | __field( int, fallback_migratetype ) | 284 | __field( int, fallback_migratetype ) |
285 | __field( int, change_ownership ) | ||
283 | ), | 286 | ), |
284 | 287 | ||
285 | TP_fast_assign( | 288 | TP_fast_assign( |
@@ -288,6 +291,7 @@ TRACE_EVENT(mm_page_alloc_extfrag, | |||
288 | __entry->fallback_order = fallback_order; | 291 | __entry->fallback_order = fallback_order; |
289 | __entry->alloc_migratetype = alloc_migratetype; | 292 | __entry->alloc_migratetype = alloc_migratetype; |
290 | __entry->fallback_migratetype = fallback_migratetype; | 293 | __entry->fallback_migratetype = fallback_migratetype; |
294 | __entry->change_ownership = change_ownership; | ||
291 | ), | 295 | ), |
292 | 296 | ||
293 | TP_printk("page=%p pfn=%lu alloc_order=%d fallback_order=%d pageblock_order=%d alloc_migratetype=%d fallback_migratetype=%d fragmenting=%d change_ownership=%d", | 297 | TP_printk("page=%p pfn=%lu alloc_order=%d fallback_order=%d pageblock_order=%d alloc_migratetype=%d fallback_migratetype=%d fragmenting=%d change_ownership=%d", |
@@ -299,7 +303,7 @@ TRACE_EVENT(mm_page_alloc_extfrag, | |||
299 | __entry->alloc_migratetype, | 303 | __entry->alloc_migratetype, |
300 | __entry->fallback_migratetype, | 304 | __entry->fallback_migratetype, |
301 | __entry->fallback_order < pageblock_order, | 305 | __entry->fallback_order < pageblock_order, |
302 | __entry->alloc_migratetype == __entry->fallback_migratetype) | 306 | __entry->change_ownership) |
303 | ); | 307 | ); |
304 | 308 | ||
305 | #endif /* _TRACE_KMEM_H */ | 309 | #endif /* _TRACE_KMEM_H */ |