oprofile: don't pass around redundant, easily derived arguments
authorJan Beulich <jbeulich@suse.com>
Thu, 8 Mar 2012 16:02:57 +0000 (17:02 +0100)
committerJan Beulich <jbeulich@suse.com>
Thu, 8 Mar 2012 16:02:57 +0000 (17:02 +0100)
commitcae10a689a5ee104a24dc01131e1d71d4060cc70
tree74c22cad4cd0d7263a4b99cb57e258491c5d6521
parent48844dc21098fa59f1cac06eba31b548f576a446
oprofile: don't pass around redundant, easily derived arguments

Passing both a struct vcpu pointer and the corresponding struct domain
one is simply pointless, especially when intermediate functions just
forward it without themselves making use of the already obtained value.

Also constify a few function parameters.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Keir Fraser <keir@xen.org>
xen/arch/ia64/xen/oprofile/xenoprof.c
xen/arch/x86/oprofile/backtrace.c
xen/arch/x86/oprofile/xenoprof.c
xen/common/xenoprof.c
xen/include/asm-ia64/xenoprof.h
xen/include/asm-x86/xenoprof.h
xen/include/xen/xenoprof.h