etw-stackwalk: finalize packet before starting new [chromium/src : main]

2 views
Skip to first unread message

Jesse McKenna (Gerrit)

unread,
Jun 9, 2026, 7:58:39 PM (2 days ago) Jun 9
to Etienne Pierre-Doray, Chromium LUCI CQ, chromium...@chromium.org, spang...@chromium.org, tracing...@chromium.org, wfh+...@chromium.org
Attention needed from Etienne Pierre-Doray

Jesse McKenna added 1 comment

Patchset-level comments
File-level comment, Patchset 4 (Latest):
Jesse McKenna . resolved

PTAL, thank you : )

Open in Gerrit

Related details

Attention is currently required from:
  • Etienne Pierre-Doray
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement is not satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: Ibbf57004d9b0b50151f6fc774c610b32e5170a72
Gerrit-Change-Number: 7909536
Gerrit-PatchSet: 4
Gerrit-Owner: Jesse McKenna <jessem...@google.com>
Gerrit-Reviewer: Etienne Pierre-Doray <etie...@chromium.org>
Gerrit-Reviewer: Jesse McKenna <jessem...@google.com>
Gerrit-Attention: Etienne Pierre-Doray <etie...@chromium.org>
Gerrit-Comment-Date: Tue, 09 Jun 2026 23:58:26 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
satisfied_requirement
unsatisfied_requirement
open
diffy

Etienne Pierre-Doray (Gerrit)

unread,
Jun 10, 2026, 11:16:38 AM (14 hours ago) Jun 10
to Jesse McKenna, Chromium LUCI CQ, chromium...@chromium.org, spang...@chromium.org, tracing...@chromium.org, wfh+...@chromium.org
Attention needed from Jesse McKenna

Etienne Pierre-Doray voted and added 1 comment

Votes added by Etienne Pierre-Doray

Code-Review+1

1 comment

Patchset-level comments
Etienne Pierre-Doray . resolved

LGTM

Open in Gerrit

Related details

Attention is currently required from:
  • Jesse McKenna
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement satisfiedCode-Owners
  • requirement satisfiedCode-Review
  • requirement satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: Ibbf57004d9b0b50151f6fc774c610b32e5170a72
Gerrit-Change-Number: 7909536
Gerrit-PatchSet: 4
Gerrit-Owner: Jesse McKenna <jessem...@google.com>
Gerrit-Reviewer: Etienne Pierre-Doray <etie...@chromium.org>
Gerrit-Reviewer: Jesse McKenna <jessem...@google.com>
Gerrit-Attention: Jesse McKenna <jessem...@google.com>
Gerrit-Comment-Date: Wed, 10 Jun 2026 15:16:15 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
satisfied_requirement
open
diffy

Jesse McKenna (Gerrit)

unread,
Jun 10, 2026, 7:21:12 PM (6 hours ago) Jun 10
to Etienne Pierre-Doray, Chromium LUCI CQ, chromium...@chromium.org, spang...@chromium.org, tracing...@chromium.org, wfh+...@chromium.org

Jesse McKenna voted Commit-Queue+2

Commit-Queue+2
Open in Gerrit

Related details

Attention set is empty
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement satisfiedCode-Owners
  • requirement satisfiedCode-Review
  • requirement satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: Ibbf57004d9b0b50151f6fc774c610b32e5170a72
Gerrit-Change-Number: 7909536
Gerrit-PatchSet: 4
Gerrit-Owner: Jesse McKenna <jessem...@google.com>
Gerrit-Reviewer: Etienne Pierre-Doray <etie...@chromium.org>
Gerrit-Reviewer: Jesse McKenna <jessem...@google.com>
Gerrit-Comment-Date: Wed, 10 Jun 2026 23:20:52 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
satisfied_requirement
open
diffy

Chromium LUCI CQ (Gerrit)

unread,
Jun 10, 2026, 9:03:15 PM (5 hours ago) Jun 10
to Jesse McKenna, Etienne Pierre-Doray, chromium...@chromium.org, spang...@chromium.org, tracing...@chromium.org, wfh+...@chromium.org

Chromium LUCI CQ submitted the change

Change information

Commit message:
etw-stackwalk: finalize packet before starting new

crrev.com/c/7794326 added `ResetEmittedState()`, but when testing a
follow-up change locally I hit failing `PERFETTO_CHECK`
`cur_packet_->is_finalized()`: "the caller is calling NewTracePacket()
without having finalized the previous packet".

This change fixes the above failure by finalizing the previous packet
before calling `NewTracePacket()`. It also moves the code to do so into
helper `FinalizePreviousData()` to make it a bit clearer what these
steps do.
Bug: 400769265
Change-Id: Ibbf57004d9b0b50151f6fc774c610b32e5170a72
Commit-Queue: Jesse McKenna <jessem...@google.com>
Reviewed-by: Etienne Pierre-Doray <etie...@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1645011}
Files:
  • M components/tracing/common/etw_consumer_win.cc
  • M components/tracing/common/etw_consumer_win.h
Change size: S
Delta: 2 files changed, 13 insertions(+), 7 deletions(-)
Branch: refs/heads/main
Submit Requirements:
  • requirement satisfiedCode-Review: +1 by Etienne Pierre-Doray
Open in Gerrit
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: merged
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: Ibbf57004d9b0b50151f6fc774c610b32e5170a72
Gerrit-Change-Number: 7909536
Gerrit-PatchSet: 5
Gerrit-Owner: Jesse McKenna <jessem...@google.com>
Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
Gerrit-Reviewer: Etienne Pierre-Doray <etie...@chromium.org>
Gerrit-Reviewer: Jesse McKenna <jessem...@google.com>
open
diffy
satisfied_requirement
Reply all
Reply to author
Forward
0 new messages