powerpc: tracing: Give hypervisor call tracepoints access to arguments
authorAnton Blanchard <anton@samba.org>
Mon, 26 Oct 2009 18:51:09 +0000 (18:51 +0000)
committerPaul Mackerras <paulus@samba.org>
Wed, 28 Oct 2009 05:13:04 +0000 (16:13 +1100)
commit6f26353ca29e96475208bce673efb6a2c58b73f2
treea564c9c71407a83f81d42e15bbe48f647ec72285
parentc8cd093a6e9f96ea6b871576fd4e46d7c818bb89
powerpc: tracing: Give hypervisor call tracepoints access to arguments

While most users of the hcall tracepoints will only want the opcode
and return code, some will want all the arguments.  To avoid the
complexity of using varargs we pass a pointer to the register save
area, which contains all the arguments.

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/include/asm/trace.h
arch/powerpc/platforms/pseries/hvCall.S
arch/powerpc/platforms/pseries/hvCall_inst.c
arch/powerpc/platforms/pseries/lpar.c