Skip to content

Discoverability of perf event types #689

Open
@adamtassier

Description

@adamtassier

Is your feature request related to a problem? Please describe.
Hotspot was my first introduction to using perf. It took a me an (embarrassingly) long time to figure out there's other events than just 'cycles' and how good this is all integrated in hotspot.

Neither does the README contain any examples of using other events nor screenshots of the UI with multiple events enabled.

Describe the solution you'd like
An addition to the README's 'Using' section that demonstrates using multiple perf events, a list of some useful ones and a link to more information about perf events.

Maybe it could be integrated in the 'record' UI as well? I was thinking about adding some checkboxes next to the 'Event Type(s)' field containing the pre-defined events from perf list?

Describe alternatives you've considered
Reading the perf manual sooner :)

Additional context
UI mock:
mock

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions