[Buildroot] [Bug 12146] Oprofile runtime issue
bugzilla at busybox.net
bugzilla at busybox.net
Fri Nov 29 13:07:41 UTC 2019
https://bugs.busybox.net/show_bug.cgi?id=12146
Thomas Petazzoni <thomas.petazzoni at free-electrons.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |INVALID
--- Comment #2 from Thomas Petazzoni <thomas.petazzoni at free-electrons.com> ---
Looked at it in more details, if you get EOPNOTSUPP, then you probably do have
CONFIG_OPROFILE=y enabled, but the perf_event_open() syscall fails and returns
EOPNOTSUPP. One reason for this to happen is when:
if (is_sampling_event(event)) {
if (event->pmu->capabilities & PERF_PMU_CAP_NO_INTERRUPT) {
err = -EOPNOTSUPP;
goto err_alloc;
}
}
So this really depends on your hardware PMU, and the kernel support for it.
This is not a Buildroot bug.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the buildroot
mailing list