Skip to content

perf timer should work on non-Intel #87

@travisdowns

Description

@travisdowns

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.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions