blob: 3df61b8ecbb9644defdbda819eb95a155803746c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
/* SPDX-License-Identifier: GPL-2.0-only */
/*
* Copyright (C) 2022 Google, Inc.
*/
#undef TRACE_SYSTEM
#define TRACE_SYSTEM trusty
#if !defined(_TRUSTY_IRQ_TRACE_H) || defined(TRACE_HEADER_MULTI_READ)
#define _TRUSTY_IRQ_TRACE_H
#include <linux/tracepoint.h>
TRACE_EVENT(trusty_irq,
TP_PROTO(int irq),
TP_ARGS(irq),
TP_STRUCT__entry(
__field(int, irq)
),
TP_fast_assign(
__entry->irq = irq;
),
TP_printk("irq=%d", __entry->irq)
);
#endif /* _TRUSTY_IRQ_TRACE_H */
#undef TRACE_INCLUDE_PATH
#undef TRACE_INCLUDE_FILE
#define TRACE_INCLUDE_PATH .
#define TRACE_INCLUDE_FILE trusty-irq-trace
#include <trace/define_trace.h>
|