mlxsw: spectrum_acl: Add vregion migration end tracepoint
Hit the new tracepoint once the vregion migration ends. Signed-off-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: Ido Schimmel <idosch@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
d39ca90f59
commit
6375da3dc0
@@ -73,6 +73,26 @@ TRACE_EVENT(mlxsw_sp_acl_tcam_vregion_migrate,
|
||||
__entry->mlxsw_sp, __entry->vregion)
|
||||
);
|
||||
|
||||
TRACE_EVENT(mlxsw_sp_acl_tcam_vregion_migrate_end,
|
||||
TP_PROTO(const struct mlxsw_sp *mlxsw_sp,
|
||||
const struct mlxsw_sp_acl_tcam_vregion *vregion),
|
||||
|
||||
TP_ARGS(mlxsw_sp, vregion),
|
||||
|
||||
TP_STRUCT__entry(
|
||||
__field(const void *, mlxsw_sp)
|
||||
__field(const void *, vregion)
|
||||
),
|
||||
|
||||
TP_fast_assign(
|
||||
__entry->mlxsw_sp = mlxsw_sp;
|
||||
__entry->vregion = vregion;
|
||||
),
|
||||
|
||||
TP_printk("mlxsw_sp %p, vregion %p",
|
||||
__entry->mlxsw_sp, __entry->vregion)
|
||||
);
|
||||
|
||||
TRACE_EVENT(mlxsw_sp_acl_tcam_vregion_rehash_dis,
|
||||
TP_PROTO(const struct mlxsw_sp *mlxsw_sp,
|
||||
const struct mlxsw_sp_acl_tcam_vregion *vregion),
|
||||
|
Reference in New Issue
Block a user