Skip to content

Remove trigger field from StackWalk ETW event#5895

Open
jessemckenna wants to merge 1 commit into
mainfrom
dev/jessemckenna/stackwalk-proto
Open

Remove trigger field from StackWalk ETW event#5895
jessemckenna wants to merge 1 commit into
mainfrom
dev/jessemckenna/stackwalk-proto

Conversation

@jessemckenna
Copy link
Copy Markdown
Contributor

This change removes the trigger field from StackWalkEtwEvent. It also updates the event proto's comment to refer to the correct Callstack message (just a small cleanup while I'm here).

The trigger field was intended to contain the type of event that triggered the call stack event, e.g., "CSWITCH", and be populated by the trace recorder. However, the work involved in matching each StackWalk event to its corresponding ETW event is better suited to being done in the trace processor, so this proto field is not needed.

The field is being removed, rather than deprecated, because it hasn't been used in any Chromium code yet. Since it has no references in any other code, I think it's safe to remove outright.

@github-actions
Copy link
Copy Markdown

🎨 Perfetto UI Builds

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.

1 participant