Skip to content

lib: include die name decode in basic_decode #27

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

Merged
merged 1 commit into from
Apr 23, 2025

Conversation

jlrivasp
Copy link
Contributor

@jlrivasp jlrivasp commented Apr 3, 2025

This patch enables an alternative flow inside decode

When the current Crash Log record contains a Header Type 6 (which is the only header at the moment with die_id support) and there are no defined decode definitions, the current basic_decode function will still try to rename the die name when the header is decoded.

@jlrivasp jlrivasp requested a review from psurply April 3, 2025 21:15
@jlrivasp jlrivasp force-pushed the dev/basic_decode_diename branch 2 times, most recently from 06b757b to 5c114a1 Compare April 8, 2025 20:24
@jlrivasp jlrivasp marked this pull request as draft April 8, 2025 20:36
@jlrivasp jlrivasp marked this pull request as ready for review April 15, 2025 12:33
@jlrivasp jlrivasp force-pushed the dev/basic_decode_diename branch from 5c114a1 to 4322780 Compare April 22, 2025 08:49
This patch enables an alternative flow inside `decode` function.

When the current Crash Log record contains a Header Type 6 (which is the
only header at the moment with `die_id` support) and there are no
defined decode definitions, the current `basic_decode` function will
still try to rename the die name when the header is decoded.

This patch also changes the return value of the `decode` function in the
Record from a Result to a Node.

Signed-off-by: Rivas Paz, Jose L <jose.l.rivas.paz@intel.com>
@jlrivasp jlrivasp force-pushed the dev/basic_decode_diename branch from 4322780 to fb68759 Compare April 22, 2025 12:31
Copy link
Contributor

@psurply psurply left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. Thanks!

@psurply psurply merged commit d3a337f into intel:main Apr 23, 2025
5 checks passed
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