perf hists: Move sort__has_sym into struct perf_hpp_list
[linux/fpc-iii.git] / include / trace / events / page_isolation.h
blob8738a78e6bf491a4691ed1dd232463ac78fb80fd
1 #undef TRACE_SYSTEM
2 #define TRACE_SYSTEM page_isolation
4 #if !defined(_TRACE_PAGE_ISOLATION_H) || defined(TRACE_HEADER_MULTI_READ)
5 #define _TRACE_PAGE_ISOLATION_H
7 #include <linux/tracepoint.h>
9 TRACE_EVENT(test_pages_isolated,
11 TP_PROTO(
12 unsigned long start_pfn,
13 unsigned long end_pfn,
14 unsigned long fin_pfn),
16 TP_ARGS(start_pfn, end_pfn, fin_pfn),
18 TP_STRUCT__entry(
19 __field(unsigned long, start_pfn)
20 __field(unsigned long, end_pfn)
21 __field(unsigned long, fin_pfn)
24 TP_fast_assign(
25 __entry->start_pfn = start_pfn;
26 __entry->end_pfn = end_pfn;
27 __entry->fin_pfn = fin_pfn;
30 TP_printk("start_pfn=0x%lx end_pfn=0x%lx fin_pfn=0x%lx ret=%s",
31 __entry->start_pfn, __entry->end_pfn, __entry->fin_pfn,
32 __entry->end_pfn <= __entry->fin_pfn ? "success" : "fail")
35 #endif /* _TRACE_PAGE_ISOLATION_H */
37 /* This part must be outside protection */
38 #include <trace/define_trace.h>