I'm new to OProfile and am running into the "Your kernel's Performance Events Subsystem does not support your processor type." message when running operf.
I built the 22.214.171.124 kernel and selected OProfile support when I configured the kernel:
# CONFIG_OPROFILE_EVENT_MULTIPLEX is not set
I also built oprofile-0.9.8 using --with-kernel to point to the kernel's source tree. I had to make a symlink to asm->asm_generic in the kernel's include dir. I also had to remove references to PERF_RECORD_MISC_GUEST_KERNEL and to PERF_RECORD_MISC_GUEST_USER in libperf_events/operf_utils.cpp since these aren't in 2.6.34.
# diff operf_utils.cpp operf_utils.cpp.orig
> case PERF_RECORD_MISC_GUEST_KERNEL:
> domain = "guest OS";
> case PERF_RECORD_MISC_GUEST_USER:
> domain = "guest user";
I'm not sure why operf says my kernel's perf_events doesn't support my processor type (AMD Opteron 6220). Is it true that I can't use operf on this kernel/architecture? What I am missing here?
Kevin Van Workum, PhD
Sabalcore Computing Inc.
"Where Data Becomes Discovery"http://www.sabalcore.com
877-492-8027 ext. 11