powerpc: Add virtual processor dispatch trace log
authorJeremy Kerr <jk@ozlabs.org>
Wed, 11 Mar 2009 17:55:52 +0000 (17:55 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 24 Mar 2009 02:47:28 +0000 (13:47 +1100)
commitfc59a3fc8eed3a2c811e64ec65015d7eb1459ace
treeb2ba8d071b92e85ba74ca59c402e0c63d4be1b95
parent098e8957afd86323db04cbb8deea3bd158f9cc71
powerpc: Add virtual processor dispatch trace log

pseries SPLPAR machines are able to retrieve a log of dispatch and
preempt events from the hypervisor. With this information, we can
see when and why each dispatch & preempt is occuring.

This change adds a set of debugfs files allowing userspace to read this
dispatch log.

Based on initial patches from Nishanth Aravamudan <nacc@us.ibm.com>.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/platforms/pseries/Kconfig
arch/powerpc/platforms/pseries/Makefile
arch/powerpc/platforms/pseries/dtl.c [new file with mode: 0644]
arch/powerpc/platforms/pseries/plpar_wrappers.h