summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorDexuan Cui <dexuan.cui@intel.com>2011-03-14 16:52:37 +0800
committerSaul Wold <sgw@linux.intel.com>2011-03-14 17:41:47 -0700
commitc7f5dcaf38411dd3abd201b85e49fd26468cd44d (patch)
tree55f1a55753042c7580522227baa1f9803cb0a2bf /scripts
parent95fa18fd1b39aaae77a81750a095c4a27cd62cee (diff)
downloadpoky-c7f5dcaf38411dd3abd201b85e49fd26468cd44d.tar.gz
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. (From OE-Core rev: 39249cfde962b3338c2c55b99a03842ec25ecd44) Signed-off-by: Dexuan Cui <dexuan.cui@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/poky-qemu-internal6
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/poky-qemu-internal b/scripts/poky-qemu-internal
index 3638a65a8e..046e2b6e04 100755
--- a/scripts/poky-qemu-internal
+++ b/scripts/poky-qemu-internal
@@ -309,6 +309,9 @@ if [ "$MACHINE" = "qemux86" ]; then
309 KERNCMDLINE="root=/dev/nfs nfsroot=$NFS_SERVER:$NFS_DIR,$UNFS_OPTS rw $KERNEL_NETWORK_CMD mem=$QEMU_MEMORY" 309 KERNCMDLINE="root=/dev/nfs nfsroot=$NFS_SERVER:$NFS_DIR,$UNFS_OPTS rw $KERNEL_NETWORK_CMD mem=$QEMU_MEMORY"
310 QEMUOPTIONS="$QEMU_NETWORK_CMD $QEMU_UI_OPTIONS" 310 QEMUOPTIONS="$QEMU_NETWORK_CMD $QEMU_UI_OPTIONS"
311 fi 311 fi
312 # Currently oprofile's event based interrupt mode doesn't work(Bug #828) in
313 # qemux86 and qemux86-64. We can use timer interrupt mode for now.
314 KERNCMDLINE="$KERNCMDLINE oprofile.timer=1"
312fi 315fi
313 316
314if [ "$MACHINE" = "qemux86-64" ]; then 317if [ "$MACHINE" = "qemux86-64" ]; then
@@ -330,6 +333,9 @@ if [ "$MACHINE" = "qemux86-64" ]; then
330 KERNCMDLINE="root=/dev/nfs nfsroot=$NFS_SERVER:$NFS_DIR,$UNFS_OPTS rw $KERNEL_NETWORK_CMD mem=$QEMU_MEMORY" 333 KERNCMDLINE="root=/dev/nfs nfsroot=$NFS_SERVER:$NFS_DIR,$UNFS_OPTS rw $KERNEL_NETWORK_CMD mem=$QEMU_MEMORY"
331 QEMUOPTIONS="$QEMU_NETWORK_CMD $QEMU_UI_OPTIONS" 334 QEMUOPTIONS="$QEMU_NETWORK_CMD $QEMU_UI_OPTIONS"
332 fi 335 fi
336 # Currently oprofile's event based interrupt mode doesn't work(Bug #828) in
337 # qemux86 and qemux86-64. We can use timer interrupt mode for now.
338 KERNCMDLINE="$KERNCMDLINE oprofile.timer=1"
333fi 339fi
334 340
335if [ "$MACHINE" = "spitz" ]; then 341if [ "$MACHINE" = "spitz" ]; then