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#6344 record_syscall: Record return values and add failure marker #6378

Merged
merged 4 commits into from
Oct 19, 2023

Conversation

derekbruening
Copy link
Contributor

Changes what the drmemtrace -record_syscall feature does with system call returns to record the actual value instead of the success boolean. Adds a new TRACE_MARKER_TYPE_SYSCALL_FAILED to indicate failure.

Adds a sanity test to allasm-repstr (and updates other tests that have hardcoded counts for this app).

Adds documentation on the change.

Issue: #6344

Changes what the drmemtrace -record_syscall feature does with system
call returns to record the actual value instead of the success
boolean.  Adds a new TRACE_MARKER_TYPE_SYSCALL_FAILED to indicate
failure.

Adds a sanity test to allasm-repstr (and updates other tests that have
hardcoded counts for this app).

Adds documentation on the change.

Issue: #6344
@derekbruening
Copy link
Contributor Author

Failure is api.rseq failed to synch #6185, yet again -- this is becoming quite frequent.

clients/drcachesim/common/trace_entry.h Show resolved Hide resolved
clients/drcachesim/docs/drcachesim.dox.in Outdated Show resolved Hide resolved
clients/drcachesim/docs/drcachesim.dox.in Outdated Show resolved Hide resolved
clients/drcachesim/tests/allasm_repstr.asm Outdated Show resolved Hide resolved
clients/drcachesim/tracer/tracer.cpp Show resolved Hide resolved
…nale for always including; update docs, comments, and asm formatting.
@derekbruening
Copy link
Contributor Author

Failure is (yet again) api.rseq failed to synch #6185

@derekbruening derekbruening merged commit 3ef9e4c into master Oct 19, 2023
14 of 15 checks passed
@derekbruening derekbruening deleted the i6344-syscall-retval branch October 19, 2023 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