1
0
mirror of https://github.com/physwizz/a155-U-u1.git synced 2024-11-19 13:27:49 +00:00
a155-U-u1/kernel-5.10/drivers/misc/mediatek/mtprof/irq_monitor_trace.h
2024-03-11 06:53:12 +11:00

41 lines
692 B
C

/* SPDX-License-Identifier: GPL-2.0 */
/*
* Copyright (C) 2020 MediaTek Inc.
*/
#undef TRACE_SYSTEM
#define TRACE_SYSTEM irq_mon
#if !defined(_TRACE_IRQ_MON_H) || defined(TRACE_HEADER_MULTI_READ)
#define _TRACE_IRQ_MON_H
#include <linux/tracepoint.h>
TRACE_EVENT(irq_mon_msg,
TP_PROTO(const char *buf),
TP_ARGS(buf),
TP_STRUCT__entry(
__string(buf, buf)
),
TP_fast_assign(
__assign_str(buf, buf);
),
TP_printk("%s", __get_str(buf))
);
#endif /* _TRACE_IRQ_MON_H */
#undef TRACE_INCLUDE_PATH
#define TRACE_INCLUDE_PATH .
#undef TRACE_INCLUDE_FILE
#define TRACE_INCLUDE_FILE irq_monitor_trace
/* This part must be outside protection */
#include <trace/define_trace.h>