Skip to content
This repository was archived by the owner on Apr 30, 2025. It is now read-only.

Event-based profiling #122

Merged
merged 18 commits into from
Nov 20, 2023
Merged

Event-based profiling #122

merged 18 commits into from
Nov 20, 2023

Conversation

eamsden
Copy link
Collaborator

@eamsden eamsden commented Nov 9, 2023

@ashelkovnykov since this builds off the demo-debug work and in particular the cold-state matching, I'm targeting it at your demo-debug cleanup branch

This PR adds event-tracing profiling (-j in the king) to Ares.

TODO:

  • log fast-hinted core invocations
  • omit invocations with duration <33us
  • trace serf events

@eamsden eamsden mentioned this pull request Nov 10, 2023
7 tasks
Base automatically changed from as/demo-debug to status November 15, 2023 21:09
@ashelkovnykov ashelkovnykov marked this pull request as ready for review November 20, 2023 05:26
@ashelkovnykov ashelkovnykov requested a review from joemfb November 20, 2023 05:26
Copy link

@joemfb joemfb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks reasonable at a glance.

One difference to note: vere rolls over the trace file every 100K entries, as a workaround for the difficulty of rendering large files. This was put in place before the Perfetto trace viewer was published, so perhaps it should be revisited on the vere side ...

@eamsden eamsden merged commit eb89817 into status Nov 20, 2023
@eamsden eamsden deleted the eamsden/event-profiling branch November 20, 2023 16:14
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants