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

Tracepoint hover #684

Open
wants to merge 13 commits into
base: master
Choose a base branch
from
Open

Tracepoint hover #684

wants to merge 13 commits into from

Conversation

lievenhey
Copy link
Contributor

@lievenhey lievenhey commented Nov 18, 2024

This PR expands the tracepoint PR to show additional information when hovering over a tracepoint.
This requires the perfparser PR to be merged.
image

This is still wip. The following things are planned:

  • Cache for tracepoint formats
  • Custom Tracepoint formatters (some format strings execute code which we don't support)

The tracepoints are getting a better visual representation on the
timelinewidget so this is no longer necessary.
Move the tracepoints from TimeAxisHeaderView to TimeLineWidget so that
we can use the header for cpu usage.
This also improves usability since the tracepoints are no longer bundles
in one line. They now each have their own line.
lievenhey and others added 11 commits December 2, 2024 13:18
Enum automatically counts up so there is no need to manually set these
values.
this allows the user to group important timelines together so that he
can compare them better
The favourites and tracepoint patches include some rows in the model
that may be empty. To keep the code simple an readable all rows will be
shown. Then a proxy model is put ontop to remove empty rows.
This way we can more easily find them and changing the sort order
doesn't move them to the bottom.
Showing only one cost is fine if we only show a hardware event, but
since we now support tracepoints and some come in an enter/exit pair it
requires us to rework the timeline delegate.
This patch makes the event source combobox multi select and allows to
select multiple event sources.
This patch allows hotspot to correctly parse most format string from the
tracepoint definition. If that fails every entry in the tracepoint will
be printed unformatted. In this case it is possible to add a custom
formatter.
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