diff options
author | Jeremy Kerr <jk@ozlabs.org> | 2009-03-11 13:55:52 -0400 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2009-03-23 22:47:28 -0400 |
commit | fc59a3fc8eed3a2c811e64ec65015d7eb1459ace (patch) | |
tree | b2ba8d071b92e85ba74ca59c402e0c63d4be1b95 /arch/powerpc/platforms/pseries/Kconfig | |
parent | 098e8957afd86323db04cbb8deea3bd158f9cc71 (diff) |
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>
Diffstat (limited to 'arch/powerpc/platforms/pseries/Kconfig')
-rw-r--r-- | arch/powerpc/platforms/pseries/Kconfig | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/pseries/Kconfig b/arch/powerpc/platforms/pseries/Kconfig index c0e6ec240f46..f0e6f28427bd 100644 --- a/arch/powerpc/platforms/pseries/Kconfig +++ b/arch/powerpc/platforms/pseries/Kconfig | |||
@@ -68,3 +68,13 @@ config CMM | |||
68 | makes sense for a system running in an LPAR where the unused pages | 68 | makes sense for a system running in an LPAR where the unused pages |
69 | will be reused for other LPARs. The interface allows firmware to | 69 | will be reused for other LPARs. The interface allows firmware to |
70 | balance memory across many LPARs. | 70 | balance memory across many LPARs. |
71 | |||
72 | config DTL | ||
73 | bool "Dispatch Trace Log" | ||
74 | depends on PPC_SPLPAR && DEBUG_FS | ||
75 | help | ||
76 | SPLPAR machines can log hypervisor preempt & dispatch events to a | ||
77 | kernel buffer. Saying Y here will enable logging these events, | ||
78 | which are accessible through a debugfs file. | ||
79 | |||
80 | Say N if you are unsure. | ||