* [Buildroot] [Bug 12146] New: Oprofile runtime issue
@ 2019-08-26 11:11 bugzilla at busybox.net
2019-11-29 7:35 ` [Buildroot] [Bug 12146] " bugzilla at busybox.net
2019-11-29 13:07 ` bugzilla at busybox.net
0 siblings, 2 replies; 3+ messages in thread
From: bugzilla at busybox.net @ 2019-08-26 11:11 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=12146
Bug ID: 12146
Summary: Oprofile runtime issue
Product: buildroot
Version: 2019.02.4
Hardware: All
OS: Linux
Status: NEW
Severity: blocker
Priority: P5
Component: Other
Assignee: unassigned at buildroot.uclibc.org
Reporter: ragaprasanth at gmail.com
CC: buildroot at uclibc.org
Target Milestone: ---
Created attachment 8221
--> https://bugs.busybox.net/attachment.cgi?id=8221&action=edit
defconfig used for Beaglebone Black + oprofile
Hi,
I tried building oprofile for my Beagle bone Black (cortex-A8), where the build
went fine. But, I could see a runtime issue.
Could any help me with this?
Attached defconfig and pasted the error-log at runtime.
# operf --version
Unexpected error running operf: Operation not supported
#
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 3+ messages in thread* [Buildroot] [Bug 12146] Oprofile runtime issue 2019-08-26 11:11 [Buildroot] [Bug 12146] New: Oprofile runtime issue bugzilla at busybox.net @ 2019-11-29 7:35 ` bugzilla at busybox.net 2019-11-29 13:07 ` bugzilla at busybox.net 1 sibling, 0 replies; 3+ messages in thread From: bugzilla at busybox.net @ 2019-11-29 7:35 UTC (permalink / raw) To: buildroot https://bugs.busybox.net/show_bug.cgi?id=12146 --- Comment #1 from Thomas Petazzoni <thomas.petazzoni@free-electrons.com> --- Thanks for your bug report. This seems like a kernel configuration issue. Did you had CONFIG_OPROFILE=y in your kernel configuration? -- You are receiving this mail because: You are on the CC list for the bug. ^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] [Bug 12146] Oprofile runtime issue 2019-08-26 11:11 [Buildroot] [Bug 12146] New: Oprofile runtime issue bugzilla at busybox.net 2019-11-29 7:35 ` [Buildroot] [Bug 12146] " bugzilla at busybox.net @ 2019-11-29 13:07 ` bugzilla at busybox.net 1 sibling, 0 replies; 3+ messages in thread From: bugzilla at busybox.net @ 2019-11-29 13:07 UTC (permalink / raw) To: buildroot https://bugs.busybox.net/show_bug.cgi?id=12146 Thomas Petazzoni <thomas.petazzoni@free-electrons.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |INVALID --- Comment #2 from Thomas Petazzoni <thomas.petazzoni@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. ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-11-29 13:07 UTC | newest] Thread overview: 3+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2019-08-26 11:11 [Buildroot] [Bug 12146] New: Oprofile runtime issue bugzilla at busybox.net 2019-11-29 7:35 ` [Buildroot] [Bug 12146] " bugzilla at busybox.net 2019-11-29 13:07 ` bugzilla at busybox.net
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox