diff options
author | Dexuan Cui <dexuan.cui@intel.com> | 2011-03-14 16:52:37 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-03-14 20:59:55 +0000 |
commit | 39249cfde962b3338c2c55b99a03842ec25ecd44 (patch) | |
tree | 97e9cf084472dbe06eda21906666a98b526d3565 /scripts/poky-qemu-internal | |
parent | 9b94486c6cc7295ed872e3c03ea297c3f3c7dcdf (diff) | |
download | openembedded-core-39249cfde962b3338c2c55b99a03842ec25ecd44.tar.gz openembedded-core-39249cfde962b3338c2c55b99a03842ec25ecd44.tar.bz2 openembedded-core-39249cfde962b3338c2c55b99a03842ec25ecd44.tar.xz openembedded-core-39249cfde962b3338c2c55b99a03842ec25ecd44.zip |
poky-qemu-internal: force oprofile into using timer interrupt mode for qemux86/qemux86-64 for now
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.
Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
Diffstat (limited to 'scripts/poky-qemu-internal')
-rwxr-xr-x | scripts/poky-qemu-internal | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/poky-qemu-internal b/scripts/poky-qemu-internal index 3638a65a8..046e2b6e0 100755 --- a/scripts/poky-qemu-internal +++ b/scripts/poky-qemu-internal @@ -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 |