diff options
author | Rahul Rameshbabu <rrameshbabu@nvidia.com> | 2022-10-16 08:29:21 +0300 |
---|---|---|
committer | Saeed Mahameed <saeedm@nvidia.com> | 2023-02-04 13:07:03 +0300 |
commit | e12ebbf0cc55c98c7bdd30099b1833bc729cbe83 (patch) | |
tree | 1fea77be106969c690680361a9d1b203da56c06b | |
parent | a12ba19269d727a4f9f68365a8d4542513c369d8 (diff) | |
download | linux-e12ebbf0cc55c98c7bdd30099b1833bc729cbe83.tar.xz |
net/mlx5: Document previously implemented mlx5 tracepoints
Tracepoints were previously implemented but not documented till this patch
series.
Signed-off-by: Rahul Rameshbabu <rrameshbabu@nvidia.com>
Reviewed-by: Gal Pressman <gal@nvidia.com>
Reviewed-by: Tariq Toukan <tariqt@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
-rw-r--r-- | Documentation/networking/device_drivers/ethernet/mellanox/mlx5/tracepoints.rst | 27 |
1 files changed, 24 insertions, 3 deletions
diff --git a/Documentation/networking/device_drivers/ethernet/mellanox/mlx5/tracepoints.rst b/Documentation/networking/device_drivers/ethernet/mellanox/mlx5/tracepoints.rst index 04f59189e75a..a9d3e123adc4 100644 --- a/Documentation/networking/device_drivers/ethernet/mellanox/mlx5/tracepoints.rst +++ b/Documentation/networking/device_drivers/ethernet/mellanox/mlx5/tracepoints.rst @@ -165,6 +165,20 @@ SF tracepoints: ... devlink-9830 [038] ..... 26300.404749: mlx5_sf_free: (0000:06:00.0) port_index=32768 controller=0 hw_id=0x8000 +- mlx5_sf_activate: trace activation of the SF port:: + + $ echo mlx5:mlx5_sf_activate >> /sys/kernel/debug/tracing/set_event + $ cat /sys/kernel/debug/tracing/trace + ... + devlink-29841 [008] ..... 3669.635095: mlx5_sf_activate: (0000:08:00.0) port_index=32768 controller=0 hw_id=0x8000 + +- mlx5_sf_deactivate: trace deactivation of the SF port:: + + $ echo mlx5:mlx5_sf_deactivate >> /sys/kernel/debug/tracing/set_event + $ cat /sys/kernel/debug/tracing/trace + ... + devlink-29994 [008] ..... 4015.969467: mlx5_sf_deactivate: (0000:08:00.0) port_index=32768 controller=0 hw_id=0x8000 + - mlx5_sf_hwc_alloc: trace allocating of the hardware SF context:: $ echo mlx5:mlx5_sf_hwc_alloc >> /sys/kernel/debug/tracing/set_event @@ -179,13 +193,20 @@ SF tracepoints: ... kworker/u128:3-9093 [046] ..... 24625.365771: mlx5_sf_hwc_free: (0000:06:00.0) hw_id=0x8000 -- mlx5_sf_hwc_deferred_free : trace deferred freeing of the hardware SF context:: +- mlx5_sf_hwc_deferred_free: trace deferred freeing of the hardware SF context:: $ echo mlx5:mlx5_sf_hwc_deferred_free >> /sys/kernel/debug/tracing/set_event $ cat /sys/kernel/debug/tracing/trace ... devlink-9519 [046] ..... 24624.400271: mlx5_sf_hwc_deferred_free: (0000:06:00.0) hw_id=0x8000 +- mlx5_sf_update_state: trace state updates for SF contexts:: + + $ echo mlx5:mlx5_sf_update_state >> /sys/kernel/debug/tracing/set_event + $ cat /sys/kernel/debug/tracing/trace + ... + kworker/u20:3-29490 [009] ..... 4141.453530: mlx5_sf_update_state: (0000:08:00.0) port_index=32768 controller=0 hw_id=0x8000 state=2 + - mlx5_sf_vhca_event: trace SF vhca event and state:: $ echo mlx5:mlx5_sf_vhca_event >> /sys/kernel/debug/tracing/set_event @@ -193,14 +214,14 @@ SF tracepoints: ... kworker/u128:3-9093 [046] ..... 24625.365525: mlx5_sf_vhca_event: (0000:06:00.0) hw_id=0x8000 sfnum=88 vhca_state=1 -- mlx5_sf_dev_add : trace SF device add event:: +- mlx5_sf_dev_add: trace SF device add event:: $ echo mlx5:mlx5_sf_dev_add>> /sys/kernel/debug/tracing/set_event $ cat /sys/kernel/debug/tracing/trace ... kworker/u128:3-9093 [000] ..... 24616.524495: mlx5_sf_dev_add: (0000:06:00.0) sfdev=00000000fc5d96fd aux_id=4 hw_id=0x8000 sfnum=88 -- mlx5_sf_dev_del : trace SF device delete event:: +- mlx5_sf_dev_del: trace SF device delete event:: $ echo mlx5:mlx5_sf_dev_del >> /sys/kernel/debug/tracing/set_event $ cat /sys/kernel/debug/tracing/trace |