Renato,
As we know, your patch can only treat passive domain samples
as a whole, without any further symbol mapping. We did some enhancement to map IP
samples of passive domains (VMX or domU) to Xen/kernel symbol table.
Not much update of the other 2 patches, just found 3 small bugs.
1.
in linux-2.6.12-xen0/driver/oprofile/cpu_buffer.c
log_sample() line 200:
-if (cpu_mode > CPU_MODE_XEN)
+if (cpu_mode > CPU_MODE_XEN
&& cpu_mode != 255)
Otherwise, all passive domain
samples will be considered as active’s.
2.
in p4_init(),
-if (cpu_mode > 3)
+if (cpu_mode > 4)
3.
xen/arch/x86/Makefile is
buggy, we prefer not changing the original structure much, just adding another
line at the beginning:
OBJS += $(patsubst %.c,
%.0,$(wildcard oprofile/*.c))
Thanks,
Xiaowei