diff options
author | Parav Pandit <parav@nvidia.com> | 2021-09-21 15:12:28 +0200 |
---|---|---|
committer | Saeed Mahameed <saeedm@nvidia.com> | 2021-10-25 22:51:21 +0200 |
commit | b3ccada68b2d29d0ff44c0314bd8d7e4c9fa2ca9 (patch) | |
tree | 3c86d3ca13be0053628eb25f3bb3750368ceb36c /Documentation/networking/netconsole.rst | |
parent | net/mlx5: Let user configure max_macs param (diff) | |
download | linux-b3ccada68b2d29d0ff44c0314bd8d7e4c9fa2ca9.tar.xz linux-b3ccada68b2d29d0ff44c0314bd8d7e4c9fa2ca9.zip |
net/mlx5: SF, Add SF trace points
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: Parav Pandit <parav@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Diffstat (limited to 'Documentation/networking/netconsole.rst')
0 files changed, 0 insertions, 0 deletions