hugetlb: introduce generic version of hugetlb_free_pgd_range
[linux/fpc-iii.git] / arch / x86 / kernel / cpu / intel_rdt_pseudo_lock_event.h
blob2c041e6d9f05dee418f2df21df0b6860286e8691
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #undef TRACE_SYSTEM
3 #define TRACE_SYSTEM resctrl
5 #if !defined(_TRACE_PSEUDO_LOCK_H) || defined(TRACE_HEADER_MULTI_READ)
6 #define _TRACE_PSEUDO_LOCK_H
8 #include <linux/tracepoint.h>
10 TRACE_EVENT(pseudo_lock_mem_latency,
11 TP_PROTO(u32 latency),
12 TP_ARGS(latency),
13 TP_STRUCT__entry(__field(u32, latency)),
14 TP_fast_assign(__entry->latency = latency),
15 TP_printk("latency=%u", __entry->latency)
18 TRACE_EVENT(pseudo_lock_l2,
19 TP_PROTO(u64 l2_hits, u64 l2_miss),
20 TP_ARGS(l2_hits, l2_miss),
21 TP_STRUCT__entry(__field(u64, l2_hits)
22 __field(u64, l2_miss)),
23 TP_fast_assign(__entry->l2_hits = l2_hits;
24 __entry->l2_miss = l2_miss;),
25 TP_printk("hits=%llu miss=%llu",
26 __entry->l2_hits, __entry->l2_miss));
28 TRACE_EVENT(pseudo_lock_l3,
29 TP_PROTO(u64 l3_hits, u64 l3_miss),
30 TP_ARGS(l3_hits, l3_miss),
31 TP_STRUCT__entry(__field(u64, l3_hits)
32 __field(u64, l3_miss)),
33 TP_fast_assign(__entry->l3_hits = l3_hits;
34 __entry->l3_miss = l3_miss;),
35 TP_printk("hits=%llu miss=%llu",
36 __entry->l3_hits, __entry->l3_miss));
38 #endif /* _TRACE_PSEUDO_LOCK_H */
40 #undef TRACE_INCLUDE_PATH
41 #define TRACE_INCLUDE_PATH .
42 #define TRACE_INCLUDE_FILE intel_rdt_pseudo_lock_event
43 #include <trace/define_trace.h>