linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* perf_event_open system call support in powerpc
@ 2011-06-29  3:03 ashwath narasimhan
  2011-06-29 18:35 ` ashwath narasimhan
  2011-06-29 19:24 ` Scott Wood
  0 siblings, 2 replies; 3+ messages in thread
From: ashwath narasimhan @ 2011-06-29  3:03 UTC (permalink / raw)
  To: linuxppc-dev

[-- Attachment #1: Type: text/plain, Size: 484 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 621 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: perf_event_open system call support in powerpc
  2011-06-29  3:03 perf_event_open system call support in powerpc ashwath narasimhan
@ 2011-06-29 18:35 ` ashwath narasimhan
  2011-06-29 19:24 ` Scott Wood
  1 sibling, 0 replies; 3+ messages in thread
From: ashwath narasimhan @ 2011-06-29 18:35 UTC (permalink / raw)
  To: linuxppc-dev

[-- Attachment #1: Type: text/plain, Size: 754 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 1158 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: perf_event_open system call support in powerpc
  2011-06-29  3:03 perf_event_open system call support in powerpc ashwath narasimhan
  2011-06-29 18:35 ` ashwath narasimhan
@ 2011-06-29 19:24 ` Scott Wood
  1 sibling, 0 replies; 3+ messages in thread
From: Scott Wood @ 2011-06-29 19:24 UTC (permalink / raw)
  To: ashwath narasimhan; +Cc: linuxppc-dev

On Tue, 28 Jun 2011 20:03:10 -0700
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? 

perf event support for e500mc wasn't added until 2.6.34.

-Scott

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-06-29 19:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-29  3:03 perf_event_open system call support in powerpc ashwath narasimhan
2011-06-29 18:35 ` ashwath narasimhan
2011-06-29 19:24 ` Scott Wood

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).