Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at v6.12-rc4 29 lines 698 B view raw
1/* SPDX-License-Identifier: GPL-2.0 */ 2#undef TRACE_SYSTEM 3#define TRACE_SYSTEM hw_pressure 4 5#if !defined(_TRACE_THERMAL_PRESSURE_H) || defined(TRACE_HEADER_MULTI_READ) 6#define _TRACE_THERMAL_PRESSURE_H 7 8#include <linux/tracepoint.h> 9 10TRACE_EVENT(hw_pressure_update, 11 TP_PROTO(int cpu, unsigned long hw_pressure), 12 TP_ARGS(cpu, hw_pressure), 13 14 TP_STRUCT__entry( 15 __field(unsigned long, hw_pressure) 16 __field(int, cpu) 17 ), 18 19 TP_fast_assign( 20 __entry->hw_pressure = hw_pressure; 21 __entry->cpu = cpu; 22 ), 23 24 TP_printk("cpu=%d hw_pressure=%lu", __entry->cpu, __entry->hw_pressure) 25); 26#endif /* _TRACE_THERMAL_PRESSURE_H */ 27 28/* This part must be outside protection */ 29#include <trace/define_trace.h>