Skip to content

Commit

Permalink
[nvidia-bluefield] Extend platform dump. (#21059)
Browse files Browse the repository at this point in the history
- Why I did it
Extend platform dump to include MST devices information.

- How I did it
Extend platform-dump.sh scrip.

- How to verify it
Run show techsupport command
  • Loading branch information
oleksandrivantsiv authored Dec 18, 2024
1 parent 9226af0 commit 01bc92d
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,5 +49,13 @@ dump_cmd "lspci -vvv" "lspci" "5"
dump_cmd "top -SHb -n 1 | tail -n +8 | sort -nrk 11" "top" "5"
dump_cmd "tail /sys/kernel/debug/mlxbf-ptm/monitors/status/*" "mlxbf-ptm-dump" "3"

pushd /dev/mst/
mstdevs=$(ls mt*)
popd

for mstdev in $mstdevs; do
dump_cmd "mstdump -full /dev/mst/$mstdev" "mstdump_$mstdev" "20"
done

tar czf /tmp/platform-dump.tar.gz -C $DUMP_FOLDER .
rm -rf $DUMP_FOLDER

0 comments on commit 01bc92d

Please sign in to comment.