From: Suthikulpanit, S. <Sur...@am...> - 2009-12-03 19:22:17
|
Hi, Is "CONFIG_X86_LOCAL_APIC=y" in the kernel config file? Suravee -----Original Message----- From: Maynard Johnson [mailto:may...@us...] Sent: Thursday, December 03, 2009 12:04 PM To: joshiro; Suthikulpanit, Suravee; Andi Kleen Cc: opr...@li... Subject: Re: Unable to use Performance counters joshiro wrote: > Thanks for the reply. Doing a 'cat /dev/oprofile/cpu_type' says "timer". So > I look in Kernel options, below options are set: > > CONFIG_PROFILING=y > CONFIG_TRACEPOINTS=y > CONFIG_OPROFILE=y > CONFIG_HAVE_OPROFILE=y > CONFIG_STACKTRACE=y > CONFIG_NOP_TRACER=y > CONFIG_RING_BUFFER=y > CONFIG_TRACING=y > I am not sure what more options should I be looking for. Suravee, Andi . . . any ideas why Joshiro can't get oprofile 0.9.6 to support h/w counters on Atom running kernel 2.6.31? -Maynard > > Thanks. > > > joshiro wrote: >> I have Oprofile0.9.6 installed on my target which has Atom. I know >> Atom supports performance counters and the version of Oprofile supports >> Atom. When I launch the Oprofile daemon, it is set to "timer interrupt " >> mode. >> How do I force it to use the "events" (performance counter mode) >> My Linux kernel has both "Profiling Support" and "OProfile system >> Profiling" enabled. >> Have I missed something else in the kernel(2.6.31.6) config or >> something went wrong in cross-compile? >> Thanks in advance. >> >> > |