Skip to content
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

[SAI-PTF]Add return value in the SAI-PTF log #1685

Merged

Conversation

richardyu-ms
Copy link
Collaborator

Why
In order to track the SAI-API result and add the return value for each SAI_thrift api.

How
In sai_adapter, use the invocation_logger, log the return value when sai_thrift API returned

Test:
Unit test and DUT test

Signed-off-by: richardyu-ms richard.yu@microsoft.com

Why
In order to track the SAI-API result and add the return value for each SAI_thrift api.

How
In sai_adapter, use the invocation_logger, log the return value when sai_thrift API returned

Test:
Unit test and DUT test

Signed-off-by: richardyu-ms <richard.yu@microsoft.com>
@richardyu-ms richardyu-ms merged commit 3d96a1d into opencomputeproject:v1.11 Dec 20, 2022
@richardyu-ms richardyu-ms deleted the add_return_logger_1.11 branch December 20, 2022 03:37
richardyu-ms added a commit to richardyu-ms/sonic-sairedis that referenced this pull request Dec 20, 2022
include changes

- opencomputeproject/SAI#1685  opencomputeproject/SAI@3d96a1d

Signed-off-by: richardyu-ms <richard.yu@microsoft.com>
richardyu-ms added a commit to sonic-net/sonic-sairedis that referenced this pull request Dec 21, 2022
include changes

- opencomputeproject/SAI#1685  opencomputeproject/SAI@3d96a1d

Signed-off-by: richardyu-ms <richard.yu@microsoft.com>

Signed-off-by: richardyu-ms <richard.yu@microsoft.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants