-
Notifications
You must be signed in to change notification settings - Fork 72
Open
Labels
Description
Right now --timer=perf fails on non-Intel platforms (and even on Intel platforms if the event file is not downloaded or not found for the current platform), with the obscure error ERROR: jevents failed while reading events, error -5 as described in #83.
This is because we rely on jevents, which is Intel-only as both the event source and event configuration and sampling code. We should more away from jevents for both things (using libpfm4 for the event lists, which is the more complex of the two which we already do in libpfm).
Probably we can introduce a new --timer=perf-generic using the generic implementation and leave the old one alone for now.