[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] Xenoprof oprofile patch update



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

Attachment: xenoprof-oprofile-0.8.1.patch
Description: xenoprof-oprofile-0.8.1.patch

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.