diff options
author | Feras Daoud <ferasda@mellanox.com> | 2018-02-18 10:06:35 +0200 |
---|---|---|
committer | Saeed Mahameed <saeedm@mellanox.com> | 2018-07-23 15:01:11 -0700 |
commit | 70dd6fdb8987b14f7b6105f6be0617299e459398 (patch) | |
tree | 34b64f121ffd4dbbdf464bebdc884d514cddc29c /scripts | |
parent | c71ad41ccb0c29fce95149b74786574b354c9dda (diff) |
net/mlx5: FW tracer, parse traces and kernel tracing support
For each message the driver should do the following:
1- Find the message string in the strings database
2- Count the param number of each message
3- Wait for the param events and accumulate them
4- Calculate the event timestamp using the local event timestamp
and the first timestamp event following it.
5- Print message to trace log
Enable the tracing by:
echo 1 > /sys/kernel/debug/tracing/events/mlx5/mlx5_fw/enable
Read traces by:
cat /sys/kernel/debug/tracing/trace
Signed-off-by: Feras Daoud <ferasda@mellanox.com>
Signed-off-by: Erez Shitrit <erezsh@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions