s390/diag: add tracepoint for diagnose calls
authorMartin Schwidefsky <schwidefsky@de.ibm.com>
Fri, 21 Aug 2015 14:05:32 +0000 (16:05 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Wed, 14 Oct 2015 12:32:06 +0000 (14:32 +0200)
commitb5a6b71b1901b9ca495f669c9ad86f2181960aba
tree26279ca6f071672d96ac6713c7ce4997d84482de
parent1ec2772e0c3ca3159035c03165355e355efc326b
s390/diag: add tracepoint for diagnose calls

To be able to analyse problems in regard to hypervisor overhead
add a tracepoing for diagnose calls. It reports the number of
the diagnose issued, e.g.

            sshd-1385  [002] ....    42.701431: diagnose: nr=0x9c
          <idle>-0     [001] ..s.    43.587528: diagnose: nr=0x9c

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/include/asm/diag.h
arch/s390/include/asm/trace/diag.h [new file with mode: 0644]
arch/s390/kernel/Makefile
arch/s390/kernel/diag.c
arch/s390/kernel/smp.c
arch/s390/kernel/trace.c [new file with mode: 0644]