mtd: rawnand: fsl_elbc: Implement RNDOUT command
[linux/fpc-iii.git] / include / trace / events / thp.h
blobd7fbbe551841541bd1bbaad2889436e624f0db47
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #undef TRACE_SYSTEM
3 #define TRACE_SYSTEM thp
5 #if !defined(_TRACE_THP_H) || defined(TRACE_HEADER_MULTI_READ)
6 #define _TRACE_THP_H
8 #include <linux/types.h>
9 #include <linux/tracepoint.h>
11 TRACE_EVENT(hugepage_invalidate,
13 TP_PROTO(unsigned long addr, unsigned long pte),
14 TP_ARGS(addr, pte),
15 TP_STRUCT__entry(
16 __field(unsigned long, addr)
17 __field(unsigned long, pte)
20 TP_fast_assign(
21 __entry->addr = addr;
22 __entry->pte = pte;
25 TP_printk("hugepage invalidate at addr 0x%lx and pte = 0x%lx",
26 __entry->addr, __entry->pte)
29 TRACE_EVENT(hugepage_set_pmd,
31 TP_PROTO(unsigned long addr, unsigned long pmd),
32 TP_ARGS(addr, pmd),
33 TP_STRUCT__entry(
34 __field(unsigned long, addr)
35 __field(unsigned long, pmd)
38 TP_fast_assign(
39 __entry->addr = addr;
40 __entry->pmd = pmd;
43 TP_printk("Set pmd with 0x%lx with 0x%lx", __entry->addr, __entry->pmd)
47 TRACE_EVENT(hugepage_update,
49 TP_PROTO(unsigned long addr, unsigned long pte, unsigned long clr, unsigned long set),
50 TP_ARGS(addr, pte, clr, set),
51 TP_STRUCT__entry(
52 __field(unsigned long, addr)
53 __field(unsigned long, pte)
54 __field(unsigned long, clr)
55 __field(unsigned long, set)
58 TP_fast_assign(
59 __entry->addr = addr;
60 __entry->pte = pte;
61 __entry->clr = clr;
62 __entry->set = set;
66 TP_printk("hugepage update at addr 0x%lx and pte = 0x%lx clr = 0x%lx, set = 0x%lx", __entry->addr, __entry->pte, __entry->clr, __entry->set)
68 TRACE_EVENT(hugepage_splitting,
70 TP_PROTO(unsigned long addr, unsigned long pte),
71 TP_ARGS(addr, pte),
72 TP_STRUCT__entry(
73 __field(unsigned long, addr)
74 __field(unsigned long, pte)
77 TP_fast_assign(
78 __entry->addr = addr;
79 __entry->pte = pte;
82 TP_printk("hugepage splitting at addr 0x%lx and pte = 0x%lx",
83 __entry->addr, __entry->pte)
86 #endif /* _TRACE_THP_H */
88 /* This part must be outside protection */
89 #include <trace/define_trace.h>