OSHW-DEIMOS/SOFTWARE/A64-TERES/linux-a64/include/trace/events/autohotplug.h
Dimitar Gamishev f9b0e7a283 linux
2017-10-13 14:07:04 +03:00

33 lines
605 B
C
Executable File

#undef TRACE_SYSTEM
#define TRACE_SYSTEM autohotplug
#if !defined(_TRACE_AUTOHOTPLUG_H) || defined(TRACE_HEADER_MULTI_READ)
#define _TRACE_AUTOHOTPLUG_H
#include <linux/tracepoint.h>
/*
* Tracepoint for cpu_autohotplug.
*/
TRACE_EVENT(autohotplug_operate,
TP_PROTO(int cpu, int up),
TP_ARGS(cpu, up),
TP_STRUCT__entry(
__field(int, cpu)
__field(int, up)
),
TP_fast_assign(
__entry->cpu = cpu;
__entry->up = up;
),
TP_printk("cpu=%d up=%d", __entry->cpu, __entry->up)
);
#endif /* _TRACE_AUTOHOTPLUG_H */
/* This part must be outside protection */
#include <trace/define_trace.h>