Page MenuHomeFreeBSD

libpmc: remove pe->alias
ClosedPublic

Authored by mhorne on May 28 2021, 6:11 PM.
Tags
None
Referenced Files
F110712055: D30530.diff
Sat, Feb 22, 5:09 AM
F110698654: D30530.id.diff
Sat, Feb 22, 1:13 AM
Unknown Object (File)
Wed, Feb 19, 12:46 AM
Unknown Object (File)
Sat, Feb 15, 10:18 AM
Unknown Object (File)
Tue, Jan 28, 12:07 AM
Unknown Object (File)
Dec 12 2024, 11:15 AM
Unknown Object (File)
Dec 9 2024, 5:33 AM
Unknown Object (File)
Nov 15 2024, 7:39 AM
Subscribers

Details

Summary

It has never been a part of upstream's struct pmu_event. The jevents
utility will not fill this field, so remove it.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 39545
Build 36434: arc lint + arc unit

Event Timeline

Linux (now?) has const char *compat; in this slot, is that equivalent?

Linux (now?) has const char *compat; in this slot, is that equivalent?

They seem to be different. The intent of the alias field was to allow events to have multiple names (I guess). The purpose of the compat field is to allow for mapping events to specific SoCs, rather than CPUs. How this is achieved is not obvious from the commit message, but the compat feature was added much more recently (2020).

This revision is now accepted and ready to land.May 28 2021, 7:10 PM
This revision was automatically updated to reflect the committed changes.