1 /* SPDX-License-Identifier: GPL-2.0 */
3 #define TRACE_SYSTEM thermal_pressure
5 #if !defined(_TRACE_THERMAL_PRESSURE_H) || defined(TRACE_HEADER_MULTI_READ)
6 #define _TRACE_THERMAL_PRESSURE_H
8 #include <linux/tracepoint.h>
10 TRACE_EVENT(thermal_pressure_update,
11 TP_PROTO(int cpu, unsigned long thermal_pressure),
12 TP_ARGS(cpu, thermal_pressure),
15 __field(unsigned long, thermal_pressure)
20 __entry->thermal_pressure = thermal_pressure;
24 TP_printk("cpu=%d thermal_pressure=%lu", __entry->cpu, __entry->thermal_pressure)
26 #endif /* _TRACE_THERMAL_PRESSURE_H */
28 /* This part must be outside protection */
29 #include <trace/define_trace.h>