perf_event_open system call support in powerpc

3 messages, 2 authors, 2011-06-29 · open the first message on its own page

perf_event_open system call support in powerpc

From: ashwath narasimhan <hidden>
Date: 2011-06-29 03:03:14

Hello,

 I am new to the powerpc architecture and I am trying to use
perf_event_open() system call for power pc architecture (e500mc) using
2.6.32 kernel distribution. Is this system call number supported for power
pc architecture? If yes, is there something similar to
 arch/x86/kernel/syscall_table_32.S  listing for powerpc that indicates the
number for the above system call?

Thanks in advance for assisting me. Please email me at
ashwath.narasimhan@oneconvergence.com

-- 
-Ash

Re: perf_event_open system call support in powerpc

From: ashwath narasimhan <hidden>
Date: 2011-06-29 18:35:42

Yep e500mc supports performance counters in hardware. Found the mapping for
the kernel call in /arch/powerpc/include/asm/systbl.h

On Tue, Jun 28, 2011 at 8:03 PM, ashwath narasimhan <
ashwath.narasimhan@oneconvergence.com> wrote:
Hello,

 I am new to the powerpc architecture and I am trying to use
perf_event_open() system call for power pc architecture (e500mc) using
2.6.32 kernel distribution. Is this system call number supported for power
pc architecture? If yes, is there something similar to
 arch/x86/kernel/syscall_table_32.S  listing for powerpc that indicates the
number for the above system call?

Thanks in advance for assisting me. Please email me at
ashwath.narasimhan@oneconvergence.com

--
-Ash


-- 
-Ash

Re: perf_event_open system call support in powerpc

From: Scott Wood <hidden>
Date: 2011-06-29 19:24:32

On Tue, 28 Jun 2011 20:03:10 -0700
ashwath narasimhan [off-list ref] wrote:
Hello,

 I am new to the powerpc architecture and I am trying to use
perf_event_open() system call for power pc architecture (e500mc) using
2.6.32 kernel distribution. Is this system call number supported for power
pc architecture? 
perf event support for e500mc wasn't added until 2.6.34.

-Scott
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help