LinuxPPC-Dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* Perfmon feature
@ 2005-04-05 16:21 Andy Fleming
  0 siblings, 0 replies; only message in thread
From: Andy Fleming @ 2005-04-05 16:21 UTC (permalink / raw)
  To: Linux/PPC Development

I'm adding oprofile support for 7450 (and derivative) processors, and 
I'm considering adding a couple PPC_FEATURE bits (one for classic, and 
one for fsl-book-e perfmon).

Reasons:
1) The need to distinguish between Freescale Book-E processors with 
performance monitor support, Classic PPC processors with perfmon 
support, and processors without perfmon support.  (ie - 7450 parts will 
have support, but 7410 parts will not for now).

2) Applications could determine if these features were present, and 
decide between using mfspr and mfpmr instructions to read the counters 
from user-space.

Thoughts, objections?


Andy Fleming
Open Source Team
Freescale Semiconductor, Inc

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-04-05 16:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-05 16:21 Perfmon feature Andy Fleming

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox