1. 26 Oct, 2021 38 commits
  2. 25 Oct, 2021 2 commits
    • Parav Pandit's avatar
      net/mlx5: SF_DEV Add SF device trace points · d67ab0a8
      Parav Pandit authored
      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: default avatarParav Pandit <parav@nvidia.com>
      Signed-off-by: default avatarSaeed Mahameed <saeedm@nvidia.com>
      d67ab0a8
    • Parav Pandit's avatar
      net/mlx5: SF, Add SF trace points · b3ccada6
      Parav Pandit authored
      Add support for trace events for SFs to improve debugging.
      This covers
      (a) port add and free trace points
      (b) device level trace points
      (c) SF hardware context add, free trace points.
      (d) SF function activate/deacticate and state trace points
      
      SF events examples:
      echo mlx5:mlx5_sf_add >> /sys/kernel/debug/tracing/set_event
      echo mlx5:mlx5_sf_free >> /sys/kernel/debug/tracing/set_event
      echo mlx5:mlx5_sf_hwc_alloc >> /sys/kernel/debug/tracing/set_event
      echo mlx5:mlx5_sf_hwc_free >> /sys/kernel/debug/tracing/set_event
      echo mlx5:mlx5_sf_hwc_deferred_free >> /sys/kernel/debug/tracing/set_event
      echo mlx5:mlx5_sf_update_state >> /sys/kernel/debug/tracing/set_event
      echo mlx5:mlx5_sf_activate >> /sys/kernel/debug/tracing/set_event
      echo mlx5:mlx5_sf_deactivate >> /sys/kernel/debug/tracing/set_event
      Signed-off-by: default avatarParav Pandit <parav@nvidia.com>
      Signed-off-by: default avatarSaeed Mahameed <saeedm@nvidia.com>
      b3ccada6