-
Notifications
You must be signed in to change notification settings - Fork 108
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
Initial draft for message logging #1164
Conversation
This commit is to solicit feedback on the API (spdm_requester_lib.h) and backend design. Currently only supports * GET_MEASUREMENTS / MEASUREMENTS * Non-wrapping writes that don't clamp. I am not sure how this will be tested. Signed-off-by: Steven Bellock <[email protected]>
@PrithviAPai @vbodired Please review the API in |
My recommendation is to add unit_test. Just use get_measurement. |
* Change msg_log.buffer_size to msg_log.max_buffer_size. * Change msg_log.offset to msg_log.buffer_size. * Implement new function libspdm_append_msg_log Signed-off-by: Steven Bellock <[email protected]>
Signed-off-by: Steven Bellock <[email protected]>
Need to add |
And add message logging to VCA to support 1.2 measurement log. Signed-off-by: Steven Bellock <[email protected]>
Signed-off-by: Steven Bellock <[email protected]>
And disable message logging at end of test case. Signed-off-by: Steven Bellock <[email protected]>
And change LIBSPDM_MSG_LOG_STATUS_CLAMP to LIBSPDM_MSG_LOG_STATUS_BUFFER_FULL. Signed-off-by: Steven Bellock <[email protected]>
Signed-off-by: Steven Bellock <[email protected]>
@jyao1 @taprinz I've marked this ready for review. I decided to leave off the wrapping behavior until someone requests it, so right now when the buffer is full then it will stop writing to it. It currently only logs |
Signed-off-by: Steven Bellock <[email protected]>
This commit is to solicit feedback on the API (spdm_requester_lib.h) and backend design. Currently only supports
I am not sure how this will be tested.
Signed-off-by: Steven Bellock [email protected]