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

i#7224 skipped header: Get filetype from stream in opcode_mix #7225

Merged
merged 9 commits into from
Jan 28, 2025

Conversation

abhinav92003
Copy link
Contributor

@abhinav92003 abhinav92003 commented Jan 27, 2025

Fixes the opcode_mix tool to get the filetype from the memtrace_stream_t interface instead of the TRACE_MARKER_TYPE_FILETYPE marker memref which may not be seen if -skip_instrs is applied by the user.

Modifies opcode_mix_t to use initialize_stream instead of initialize, to get the serial stream.

Adds a new unit test that runs the opcode_mix tool with -skip_instrs, which would fail because of an unseen filetype prior to this fix.

Augments decode_cache_t::init() documentation to suggest a reliable way to obtain the filetype.

Issue: #7224, #7113

Fixes the opcode_mix tool to get the filetype from the memtrace_stream_t interface instead
of the TRACE_MARKER_TYPE_FILETYPE marker memref which may not be seen if -skip_instrs is
applied by the user.

Adds a new unit test that runs the opcode_mix tool with -skip_instrs, which would fail
because of an unseen filetype prior to this fix.

Issue: #7224, #7113
clients/drcachesim/scheduler/scheduler.h Show resolved Hide resolved
clients/drcachesim/tools/common/decode_cache.h Outdated Show resolved Hide resolved
clients/drcachesim/tools/opcode_mix.h Outdated Show resolved Hide resolved
clients/drcachesim/tools/opcode_mix.h Outdated Show resolved Hide resolved
clients/drcachesim/tools/opcode_mix.h Outdated Show resolved Hide resolved
@abhinav92003 abhinav92003 merged commit fe061a7 into master Jan 28, 2025
17 checks passed
@abhinav92003 abhinav92003 deleted the i7224-skipped-filetype branch January 28, 2025 20:37
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