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.
Right now
--timer=perffails 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 errorERROR: jevents failed while reading events, error -5as 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-genericusing the generic implementation and leave the old one alone for now.