.. | .. |
---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ |
---|
1 | 2 | /* |
---|
2 | 3 | * include/trace/events/host1x.h |
---|
3 | 4 | * |
---|
4 | 5 | * host1x event logging to ftrace. |
---|
5 | 6 | * |
---|
6 | 7 | * Copyright (c) 2010-2013, NVIDIA Corporation. |
---|
7 | | - * |
---|
8 | | - * This program is free software; you can redistribute it and/or modify |
---|
9 | | - * it under the terms of the GNU General Public License as published by |
---|
10 | | - * the Free Software Foundation; either version 2 of the License, or |
---|
11 | | - * (at your option) any later version. |
---|
12 | | - * |
---|
13 | | - * This program is distributed in the hope that it will be useful, but WITHOUT |
---|
14 | | - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
---|
15 | | - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for |
---|
16 | | - * more details. |
---|
17 | | - * |
---|
18 | | - * You should have received a copy of the GNU General Public License along |
---|
19 | | - * with this program; if not, write to the Free Software Foundation, Inc., |
---|
20 | | - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
---|
21 | 8 | */ |
---|
22 | 9 | |
---|
23 | 10 | #undef TRACE_SYSTEM |
---|
.. | .. |
---|
80 | 67 | __entry->name, __entry->op1, __entry->op2) |
---|
81 | 68 | ); |
---|
82 | 69 | |
---|
| 70 | +TRACE_EVENT(host1x_cdma_push_wide, |
---|
| 71 | + TP_PROTO(const char *name, u32 op1, u32 op2, u32 op3, u32 op4), |
---|
| 72 | + |
---|
| 73 | + TP_ARGS(name, op1, op2, op3, op4), |
---|
| 74 | + |
---|
| 75 | + TP_STRUCT__entry( |
---|
| 76 | + __field(const char *, name) |
---|
| 77 | + __field(u32, op1) |
---|
| 78 | + __field(u32, op2) |
---|
| 79 | + __field(u32, op3) |
---|
| 80 | + __field(u32, op4) |
---|
| 81 | + ), |
---|
| 82 | + |
---|
| 83 | + TP_fast_assign( |
---|
| 84 | + __entry->name = name; |
---|
| 85 | + __entry->op1 = op1; |
---|
| 86 | + __entry->op2 = op2; |
---|
| 87 | + __entry->op3 = op3; |
---|
| 88 | + __entry->op4 = op4; |
---|
| 89 | + ), |
---|
| 90 | + |
---|
| 91 | + TP_printk("name=%s, op1=%08x, op2=%08x, op3=%08x op4=%08x", |
---|
| 92 | + __entry->name, __entry->op1, __entry->op2, __entry->op3, |
---|
| 93 | + __entry->op4) |
---|
| 94 | +); |
---|
| 95 | + |
---|
83 | 96 | TRACE_EVENT(host1x_cdma_push_gather, |
---|
84 | 97 | TP_PROTO(const char *name, struct host1x_bo *bo, |
---|
85 | 98 | u32 words, u32 offset, void *cmdbuf), |
---|