Skip to content

Commit

Permalink
[Mellanox] Remove mstdump from Mellanoxs collect dump script (sonic-n…
Browse files Browse the repository at this point in the history
…et#1706)

- What I did
Remove redundant mellanox dumps now that Mellanox SAI is taking care of that.

- How I did it
Deleted the part related to mstdumps from the generate_script

- How to verify it
Run 'show techsupport' see we no have mstdump folder but the actual dump available under the saisdk dump
  • Loading branch information
DavidZagury authored Jul 6, 2021
1 parent 4818360 commit 888701b
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions scripts/generate_dump
Original file line number Diff line number Diff line change
Expand Up @@ -772,13 +772,6 @@ collect_mellanox() {

${CMD_PREFIX}rm -rf $sai_dump_folder
${CMD_PREFIX}docker exec -it syncd rm -rf $sai_dump_folder

local mst_dump_filename="/tmp/mstdump"
local max_dump_count="3"
for i in $(seq 1 $max_dump_count); do
${CMD_PREFIX}/usr/bin/mstdump /dev/mst/mt*conf0 > "${mst_dump_filename}${i}"
save_file "${mst_dump_filename}${i}" mstdump true
done

# Save SDK error dumps
local sdk_dump_path=`${CMD_PREFIX}docker exec syncd cat /tmp/sai.profile|grep "SAI_DUMP_STORE_PATH"|cut -d = -f2`
Expand Down

0 comments on commit 888701b

Please sign in to comment.