0001
0002 #undef TRACE_SYSTEM
0003 #define TRACE_SYSTEM thermal_pressure
0004
0005 #if !defined(_TRACE_THERMAL_PRESSURE_H) || defined(TRACE_HEADER_MULTI_READ)
0006 #define _TRACE_THERMAL_PRESSURE_H
0007
0008 #include <linux/tracepoint.h>
0009
0010 TRACE_EVENT(thermal_pressure_update,
0011 TP_PROTO(int cpu, unsigned long thermal_pressure),
0012 TP_ARGS(cpu, thermal_pressure),
0013
0014 TP_STRUCT__entry(
0015 __field(unsigned long, thermal_pressure)
0016 __field(int, cpu)
0017 ),
0018
0019 TP_fast_assign(
0020 __entry->thermal_pressure = thermal_pressure;
0021 __entry->cpu = cpu;
0022 ),
0023
0024 TP_printk("cpu=%d thermal_pressure=%lu", __entry->cpu, __entry->thermal_pressure)
0025 );
0026 #endif
0027
0028
0029 #include <trace/define_trace.h>