|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v1 01/13] Export hypervisor symbols
On 09/11/2013 10:12 AM, Jan Beulich wrote:
As it is written now, we pass XENSYMS_SZ worth of (formatted) symbol information to dom0. And no, there's no PAGE_SIZE in the public interface as far as I'm aware. That would be just having xen_symnum (and caching xen_offset in the hypervisor). + + /* + * Symbols data, formatted similar to /proc/kallsyms: + * <address> <type> <name> + */ + XEN_GUEST_HANDLE(char) buf;This is too simplistic: Please use a proper structure here, to allow switching the internal symbol table representation (which I have on my todo list) without having to mimic old behavior.I don't think I know what you are referring to here.Rather than having a handle to a simply byte array, you ought to have a handle to a structure containing address, type, and (pointer to/handle of) name. Are you suggesting passing symbols one per hypercall? That's over 4000 hypercalls per one file read. How about requesting N next symbols? -boris _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |