blob: 6c2bafcade1805e3d8b2308b23015b2ea7d95080 (
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
33
34
35
36
37
38
|
/* SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0 */
/* Copyright (c) 2019 Mellanox Technologies. All rights reserved */
#undef TRACE_SYSTEM
#define TRACE_SYSTEM mlxsw
#if !defined(_MLXSW_TRACEPOINT_H) || defined(TRACE_HEADER_MULTI_READ)
#define _MLXSW_TRACEPOINT_H
#include <linux/tracepoint.h>
struct mlxsw_sp;
struct mlxsw_sp_acl_atcam_region;
TRACE_EVENT(mlxsw_sp_acl_atcam_entry_add_ctcam_spill,
TP_PROTO(const struct mlxsw_sp *mlxsw_sp,
const struct mlxsw_sp_acl_atcam_region *aregion),
TP_ARGS(mlxsw_sp, aregion),
TP_STRUCT__entry(
__field(const void *, mlxsw_sp)
__field(const void *, aregion)
),
TP_fast_assign(
__entry->mlxsw_sp = mlxsw_sp;
__entry->aregion = aregion;
),
TP_printk("mlxsw_sp %p, aregion %p",
__entry->mlxsw_sp, __entry->aregion)
);
#endif /* _MLXSW_TRACEPOINT_H */
/* This part must be outside protection */
#include <trace/define_trace.h>
|