public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* perf events: how to implement TLB misses as SW event ?
@ 2013-11-24 18:10 christophe leroy
  2013-11-27 11:43 ` Peter Zijlstra
  0 siblings, 1 reply; 2+ messages in thread
From: christophe leroy @ 2013-11-24 18:10 UTC (permalink / raw)
  To: Peter Zijlstra, Paul Mackerras, Ingo Molnar,
	Arnaldo Carvalho de Melo
  Cc: linux-kernel@vger.kernel.org

Today in the perfevents subsystem it looks like DTLB/ITLB misses are 
implemented as HW counter only.
On some processors, like PowerPC 8xx, there is no counter for that. 
However DTLB/ITLB misses are handled as exceptions via software, so we 
have an opportunity to implement a SW counter for that.
What's the easiest/best way to implement it ?

Christophe

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

end of thread, other threads:[~2013-11-27 11:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-24 18:10 perf events: how to implement TLB misses as SW event ? christophe leroy
2013-11-27 11:43 ` Peter Zijlstra

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