I have pushed a new important update
for libpfm4. This one focuses on the
This is a major simplification of the internal
code and data structures. Many of the pmu
specific callbacks have been eliminated in
favor of the pfm_get_event_*info() model.
There are two new pmu-specific callbacks
which map to the user API event and attribute
The notion of umask vs. modifier is gone from
the generic code and from thus from parsing.
This is all buried into pmu specific code.
The parser can now handle equivalent events.
In other words, if event A is equivalent to B,
then the conversion from A to B is done
in generic code. Same thing for unit masks
equivalence. The code is now split between
pmu + event and attributes.
Event tables were updated where needed to
reflect those changes.
The showevtinfo example has been updated
to show equivalent for events (not attributes).
check it out and report problems on your hardware.
Get latest updates about Open Source Projects, Conferences and News.