mirror of
https://github.com/torvalds/linux.git
synced 2026-11-25 07:52:34 +00:00
New generation of AMD processors add support for RDT (or QOS) features. Together, these features will be called RESCTRL. With more than one vendors supporting these features, it seems more appropriate to rename these files. Create a new directory with the name 'resctrl' and move all the intel_rdt files to the new directory. This way all the resctrl related code resides inside one directory. [ bp: Add SPDX identifier to the Makefile ] Suggested-by: Borislav Petkov <[email protected]> Signed-off-by: Babu Moger <[email protected]> Signed-off-by: Borislav Petkov <[email protected]> Cc: Andrew Morton <[email protected]> Cc: Andy Lutomirski <[email protected]> Cc: Arnd Bergmann <[email protected]> Cc: Brijesh Singh <[email protected]> Cc: "Chang S. Bae" <[email protected]> Cc: David Miller <[email protected]> Cc: David Woodhouse <[email protected]> Cc: Dmitry Safonov <[email protected]> Cc: Fenghua Yu <[email protected]> Cc: Greg Kroah-Hartman <[email protected]> Cc: "H. Peter Anvin" <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Jann Horn <[email protected]> Cc: Joerg Roedel <[email protected]> Cc: Jonathan Corbet <[email protected]> Cc: Josh Poimboeuf <[email protected]> Cc: Kate Stewart <[email protected]> Cc: "Kirill A. Shutemov" <[email protected]> Cc: <[email protected]> Cc: Mauro Carvalho Chehab <[email protected]> Cc: Paolo Bonzini <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Philippe Ombredanne <[email protected]> Cc: Pu Wen <[email protected]> Cc: <[email protected]> Cc: "Rafael J. Wysocki" <[email protected]> Cc: Reinette Chatre <[email protected]> Cc: Rian Hunter <[email protected]> Cc: Sherry Hurwitz <[email protected]> Cc: Suravee Suthikulpanit <[email protected]> Cc: Thomas Gleixner <[email protected]> Cc: Thomas Lendacky <[email protected]> Cc: Tony Luck <[email protected]> Cc: Vitaly Kuznetsov <[email protected]> Cc: <[email protected]> Link: https://lkml.kernel.org/r/[email protected]
44 lines
1.3 KiB
C
44 lines
1.3 KiB
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
#undef TRACE_SYSTEM
|
|
#define TRACE_SYSTEM resctrl
|
|
|
|
#if !defined(_TRACE_PSEUDO_LOCK_H) || defined(TRACE_HEADER_MULTI_READ)
|
|
#define _TRACE_PSEUDO_LOCK_H
|
|
|
|
#include <linux/tracepoint.h>
|
|
|
|
TRACE_EVENT(pseudo_lock_mem_latency,
|
|
TP_PROTO(u32 latency),
|
|
TP_ARGS(latency),
|
|
TP_STRUCT__entry(__field(u32, latency)),
|
|
TP_fast_assign(__entry->latency = latency),
|
|
TP_printk("latency=%u", __entry->latency)
|
|
);
|
|
|
|
TRACE_EVENT(pseudo_lock_l2,
|
|
TP_PROTO(u64 l2_hits, u64 l2_miss),
|
|
TP_ARGS(l2_hits, l2_miss),
|
|
TP_STRUCT__entry(__field(u64, l2_hits)
|
|
__field(u64, l2_miss)),
|
|
TP_fast_assign(__entry->l2_hits = l2_hits;
|
|
__entry->l2_miss = l2_miss;),
|
|
TP_printk("hits=%llu miss=%llu",
|
|
__entry->l2_hits, __entry->l2_miss));
|
|
|
|
TRACE_EVENT(pseudo_lock_l3,
|
|
TP_PROTO(u64 l3_hits, u64 l3_miss),
|
|
TP_ARGS(l3_hits, l3_miss),
|
|
TP_STRUCT__entry(__field(u64, l3_hits)
|
|
__field(u64, l3_miss)),
|
|
TP_fast_assign(__entry->l3_hits = l3_hits;
|
|
__entry->l3_miss = l3_miss;),
|
|
TP_printk("hits=%llu miss=%llu",
|
|
__entry->l3_hits, __entry->l3_miss));
|
|
|
|
#endif /* _TRACE_PSEUDO_LOCK_H */
|
|
|
|
#undef TRACE_INCLUDE_PATH
|
|
#define TRACE_INCLUDE_PATH .
|
|
#define TRACE_INCLUDE_FILE pseudo_lock_event
|
|
#include <trace/define_trace.h>
|