vm_map_xen_pages removal breaks modular oprofile
Hi Keir:
It has been brought to my attention that modular oprofile is broken because it now calls get_vm_area which is not an exported function.
This appears to be the result of the changeset that removed vm_map_xen_pages which was only used by oprofile.
So we either need to export get_vm_area in Xen, or put that function back. What do you think about this?
Thanks,
Signature · 4 lines
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <[email protected]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txtQuoted 8 lines · Herbert Xu
It has been brought to my attention that modular oprofile is broken because it now calls
get_vm_areawhich is not an exported function.This appears to be the result of the changeset that removed
vm_map_xen_pageswhich was only used by oprofile.So we either need to export
get_vm_areain Xen, or put that function back. What do you think about this?
Oops. It should use alloc_vm_area(), which we do export.
-- Keir
Quoted 2 lines · Keir Fraser
Oops. It should use
alloc_vm_area(), which we do export.
Thanks for the quick response and fix!
Signature · 4 lines
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <[email protected]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt