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

create_perf_json: Expose PDIST Counter information in PublicDescription #292

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

kliang2
Copy link
Contributor

@kliang2 kliang2 commented Feb 28, 2025

The generic PDIST availability information can only be found in the SDM. Also, some events may not support PDIST. It's hard to find that information either.

Append the PDIST information into the PublicDescription of the event list, if it's available.

If the event or platform doesn't support PDIST, nothing is changed.

The PDIST Counter information may be useful for the hardware-aware grouping of Linux perf. But the hardware-aware grouping only works for perf stat for now. There is no plan to enable the hardware-aware grouping for perf record shortly. Adding a dedicated PDIST field is unnecessary.

The generic PDIST availability information can only be found in the SDM.
Also, some events may not support PDIST. It's hard to find that
information either.

Append the PDIST information into the PublicDescription of the event
list, if it's available.

If the event or platform doesn't support PDIST, nothing is changed.

The PDIST Counter information may be useful for the hardware-aware
grouping of Linux perf. But the hardware-aware grouping only works for
perf stat for now. There is no plan to enable the hardware-aware
grouping for perf record shortly. Adding a dedicated PDIST field is
unnecessary.

Signed-off-by: Kan Liang <[email protected]>
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