-
Notifications
You must be signed in to change notification settings - Fork 666
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add support for sai debug generate dump #3556
Open
aviramd
wants to merge
11
commits into
sonic-net:master
Choose a base branch
from
Marvell-switching:SAI_DBG_GEN_DUMP_support
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
add support for sai debug generate dump #3556
aviramd
wants to merge
11
commits into
sonic-net:master
from
Marvell-switching:SAI_DBG_GEN_DUMP_support
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This update introduces support for the sai_dbg_gen_dump API, which is triggered by the show techsupport command within the generate_dump script. Currently, this API is only invoked in the vendor specific use case to avoid disrupting existing implementations for other vendors. It is recommended to adopt this new procedure for triggering sai_dbg_gen_dump and eventually phase out the standalone saisdkdump executable. By integrating this API directly within the process, we eliminate the need for a separate process, as not all SAI implementations will function correctly when the API is called from a different process other than syncd. Additionally, this change will reduce the system footprint by 70 MB, currently occupied by the saisdkdump executable. An auxiliary script "gen_sai_dbg_dump.sh" is also provided to generate the dump file directly without requiring the show techsupport command.
Signed-off-by: aviramd <aviramd@marvell.com>
…sec) Signed-off-by: aviramd <aviramd@marvell.com>
…sec) Signed-off-by: aviramd <aviramd@marvell.com>
…sec) Signed-off-by: aviramd <aviramd@marvell.com>
aviramd
force-pushed
the
SAI_DBG_GEN_DUMP_support
branch
from
November 11, 2024 16:41
d240654
to
9893ebf
Compare
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
generating SAI debug dump file in
show techsupport
command and place it techsupport dump folderIt triggers the generation of a SAI debug dump file through Redis APPL DB.
An auxiliary script "gen_sai_dbg_dump.sh" is also provided to generate the dump file directly without requiring the show techsupport command.
HLD:
sonic-net/SONiC#1846
What I did
How I did it
How to verify it
Previous command output (if the output of a command-line utility has changed)
New command output (if the output of a command-line utility has changed)