Skip to contentSkip to conversation

vm_map_xen_pages removal breaks modular oprofile

DISCUSSION Herbert Xu 2 participants 3 messages Sep 1, 2006 – Sep 2, 2006

lore
Share & tools
lore

Herbert Xu

author
#0 lore raw

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.txt
#1 lore raw
Quoted 8 lines · Herbert Xu

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?

Oops. It should use alloc_vm_area(), which we do export.

-- Keir

author
#2 lore raw
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