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>
Showing
- arch/powerpc/platforms/pseries/Kconfig 10 additions, 0 deletionsarch/powerpc/platforms/pseries/Kconfig
- arch/powerpc/platforms/pseries/Makefile 1 addition, 0 deletionsarch/powerpc/platforms/pseries/Makefile
- arch/powerpc/platforms/pseries/dtl.c 274 additions, 0 deletionsarch/powerpc/platforms/pseries/dtl.c
- arch/powerpc/platforms/pseries/plpar_wrappers.h 10 additions, 0 deletionsarch/powerpc/platforms/pseries/plpar_wrappers.h
Loading
Please register or sign in to comment