From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-iy0-f179.google.com (mail-iy0-f179.google.com [209.85.210.179]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority" (verified OK)) by ozlabs.org (Postfix) with ESMTPS id B466FB6F5D for ; Thu, 30 Jun 2011 04:35:42 +1000 (EST) Received: by iyn35 with SMTP id 35so1465453iyn.38 for ; Wed, 29 Jun 2011 11:35:38 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: Date: Wed, 29 Jun 2011 11:35:38 -0700 Message-ID: Subject: Re: perf_event_open system call support in powerpc From: ashwath narasimhan To: linuxppc-dev@lists.ozlabs.org Content-Type: multipart/alternative; boundary=0050450145380bf87504a6de0dd2 List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , --0050450145380bf87504a6de0dd2 Content-Type: text/plain; charset=ISO-8859-1 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 --0050450145380bf87504a6de0dd2 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Yep e500mc supports performance counters in hardware. Found the mapping for= the kernel call in=A0/arch/powerpc/include/asm/systbl.h

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

=A0I am new to th= e 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 th= is system call number supported for power pc architecture? If yes, is there= something similar to =A0arch/x86/kernel/syscall_table_32.S =A0listing 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<= br>



--
-Ash
--0050450145380bf87504a6de0dd2--