2 #define TRACE_SYSTEM compaction
4 #if !defined(_TRACE_COMPACTION_H) || defined(TRACE_HEADER_MULTI_READ)
5 #define _TRACE_COMPACTION_H
7 #include <linux/types.h>
14 unsigned long nr_taken),
19 __field(
unsigned long, nr_scanned)
20 __field(
unsigned long, nr_taken)
24 __entry->nr_scanned = nr_scanned;
33 DEFINE_EVENT(mm_compaction_isolate_template, mm_compaction_isolate_migratepages,
36 unsigned long nr_taken),
41 DEFINE_EVENT(mm_compaction_isolate_template, mm_compaction_isolate_freepages,
43 unsigned long nr_taken),
51 unsigned long nr_failed),
53 TP_ARGS(nr_migrated, nr_failed),
56 __field(
unsigned long, nr_migrated)
57 __field(
unsigned long, nr_failed)
61 __entry->nr_migrated = nr_migrated;
65 TP_printk(
"nr_migrated=%lu nr_failed=%lu",