net/mlx5: SF_DEV Add SF device trace points
authorParav Pandit <parav@nvidia.com>
Tue, 5 Oct 2021 08:26:05 +0000 (11:26 +0300)
committerSaeed Mahameed <saeedm@nvidia.com>
Mon, 25 Oct 2021 20:51:21 +0000 (13:51 -0700)
commitd67ab0a8c130be38b6dda8da3616a97f020ac424
treea078b5a8234dcbc5d69d9256e7831645ba8ba851
parentb3ccada68b2d29d0ff44c0314bd8d7e4c9fa2ca9
net/mlx5: SF_DEV Add SF device trace points

Add SF device add and delete specific trace points.

echo mlx5:mlx5_sf_dev_add >> /sys/kernel/debug/tracing/set_event
echo mlx5:mlx5_sf_dev_del >> /sys/kernel/debug/tracing/set_event
echo mlx5:mlx5_sf_vhca_event >> /sys/kernel/debug/tracing/set_event

Signed-off-by: Parav Pandit <parav@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Documentation/networking/device_drivers/ethernet/mellanox/mlx5.rst
drivers/net/ethernet/mellanox/mlx5/core/sf/dev/dev.c
drivers/net/ethernet/mellanox/mlx5/core/sf/dev/dev.h
drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h [new file with mode: 0644]
drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h [new file with mode: 0644]
drivers/net/ethernet/mellanox/mlx5/core/sf/vhca_event.c