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#6648 trim tool: Remove over-threshold timestamp #6671

Merged
merged 1 commit into from
Feb 21, 2024

Conversation

derekbruening
Copy link
Contributor

The original PR #6651 ended up keeping the timestamp (+ cpuid) whose value is beyond the trim-after threshold, as it logically makes sense to have that endpoint's timestamp. However, when that's across a blocking syscall, it canbe far into the future and result in large time gaps in the trimmed trace. Instead, we throw out the timestamp, as the PR #6551 did in its first form. (Other options such as editing the timestamp seem worse.)

Adjusts the unit test that tests this.

Issue: #6648

The original PR #6651 ended up keeping the timestamp (+ cpuid) whose
value is beyond the trim-after threshold, as it logically makes sense
to have that endpoint's timestamp.  However, when that's across a
blocking syscall, it canbe far into the future and result in large
time gaps in the trimmed trace.  Instead, we throw out the timestamp,
as the PR #6551 did in its first form.  (Other options such as editing
the timestamp seem worse.)

Adjusts the unit test that tests this.

Issue: #6648
@derekbruening derekbruening merged commit 168569e into master Feb 21, 2024
16 checks passed
@derekbruening derekbruening deleted the i6648-trim-away-final-timestamp branch February 21, 2024 22:35
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