oprofile: use timer interrupt mode for now
cover oprofile: use timer interrupt mode for now
From: Dexuan Cui <[email protected]>
Currently oprofile's event based interrupt mode doesn't work(Bug #828) in qemux86 and qemux86-64. We can use timer interrupt mode for now.
With this workaround, oprofile can work in qemux86 and qemux86-64. I tested in Ubuntu 10.04.
With this workaround, we can lower the priority of bug #828 and I'll continue to look into it.
Pull URL: git://git.pokylinux.org/poky-contrib.git
Branch: dcui/master
Browse: http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=dcui/master
Thanks,
Dexuan Cui <[email protected]>
---
Dexuan Cui (1):
poky-qemu-internal: force oprofile into using timer interrupt mode
for qemux86/qemux86-64 for now
scripts/poky-qemu-internal | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-)
Signature · 1 line
1.7.2
PATCH 1/1 poky-qemu-internal: force oprofile into using timer interrupt mode for qemux86/qemux86-64 for now
From: Dexuan Cui <[email protected]>
Currently oprofile's event based interrupt mode doesn't work(Bug #828) in qemux86 and qemux86-64. We can use timer interrupt mode for now.
--- scripts/poky-qemu-internal | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-)
scripts/poky-qemu-internal +6 -0
@@ -309,6 +309,9 @@ if [ "$MACHINE" = "qemux86" ]; then KERNCMDLINE="root=/dev/nfs nfsroot=$NFS_SERVER:$NFS_DIR,$UNFS_OPTS rw $KERNEL_NETWORK_CMD mem=$QEMU_MEMORY" QEMUOPTIONS="$QEMU_NETWORK_CMD $QEMU_UI_OPTIONS" fi + # Currently oprofile's event based interrupt mode doesn't work(Bug #828) in + # qemux86 and qemux86-64. We can use timer interrupt mode for now. + KERNCMDLINE="$KERNCMDLINE oprofile.timer=1" fi if [ "$MACHINE" = "qemux86-64" ]; then
@@ -330,6 +333,9 @@ if [ "$MACHINE" = "qemux86-64" ]; then KERNCMDLINE="root=/dev/nfs nfsroot=$NFS_SERVER:$NFS_DIR,$UNFS_OPTS rw $KERNEL_NETWORK_CMD mem=$QEMU_MEMORY" QEMUOPTIONS="$QEMU_NETWORK_CMD $QEMU_UI_OPTIONS" fi + # Currently oprofile's event based interrupt mode doesn't work(Bug #828) in + # qemux86 and qemux86-64. We can use timer interrupt mode for now. + KERNCMDLINE="$KERNCMDLINE oprofile.timer=1" fi if [ "$MACHINE" = "spitz" ]; then
Signature · 1 line
1.7.2
Richard Purdie
AppliedQuoted 20 lines · Dexuan Cui
From: Dexuan Cui <[email protected]>
Currently oprofile's event based interrupt mode doesn't work(Bug #828) in qemux86 and qemux86-64. We can use timer interrupt mode for now.
With this workaround, oprofile can work in qemux86 and qemux86-64. I tested in Ubuntu 10.04.
With this workaround, we can lower the priority of bug #828 and I'll continue to look into it.
Pull URL:
git://git.pokylinux.org/poky-contrib.git
Branch: dcui/master
Browse: http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=dcui/masterThanks,
Dexuan Cui <[email protected]>
---
Quoted 6 lines
Dexuan Cui (1):
poky-qemu-internal: force oprofile into using timer interrupt modefor qemux86/qemux86-64 for nowscripts/poky-qemu-internal | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-)
Merged into OE-Core and Poky master.
Cheers,
Richard