~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/arch/x86/kernel/cpu/resctrl/trace.h

Version: ~ [ linux-6.11.5 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.58 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.114 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.169 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.228 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.284 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.322 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.9 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 /* SPDX-License-Identifier: GPL-2.0 */
  2 #undef TRACE_SYSTEM
  3 #define TRACE_SYSTEM resctrl
  4 
  5 #if !defined(_TRACE_RESCTRL_H) || defined(TRACE_HEADER_MULTI_READ)
  6 #define _TRACE_RESCTRL_H
  7 
  8 #include <linux/tracepoint.h>
  9 
 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)
 16            );
 17 
 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));
 27 
 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));
 37 
 38 TRACE_EVENT(mon_llc_occupancy_limbo,
 39             TP_PROTO(u32 ctrl_hw_id, u32 mon_hw_id, int domain_id, u64 llc_occupancy_bytes),
 40             TP_ARGS(ctrl_hw_id, mon_hw_id, domain_id, llc_occupancy_bytes),
 41             TP_STRUCT__entry(__field(u32, ctrl_hw_id)
 42                              __field(u32, mon_hw_id)
 43                              __field(int, domain_id)
 44                              __field(u64, llc_occupancy_bytes)),
 45             TP_fast_assign(__entry->ctrl_hw_id = ctrl_hw_id;
 46                            __entry->mon_hw_id = mon_hw_id;
 47                            __entry->domain_id = domain_id;
 48                            __entry->llc_occupancy_bytes = llc_occupancy_bytes;),
 49             TP_printk("ctrl_hw_id=%u mon_hw_id=%u domain_id=%d llc_occupancy_bytes=%llu",
 50                       __entry->ctrl_hw_id, __entry->mon_hw_id, __entry->domain_id,
 51                       __entry->llc_occupancy_bytes)
 52            );
 53 
 54 #endif /* _TRACE_RESCTRL_H */
 55 
 56 #undef TRACE_INCLUDE_PATH
 57 #define TRACE_INCLUDE_PATH .
 58 #define TRACE_INCLUDE_FILE trace
 59 #include <trace/define_trace.h>
 60 

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php