* [PATCH 0/1] oprofile: use timer interrupt mode for now
@ 2011-03-14 9:03 Dexuan Cui
2011-03-14 9:03 ` [PATCH 1/1] poky-qemu-internal: force oprofile into using timer interrupt mode for qemux86/qemux86-64 " Dexuan Cui
2011-03-14 21:11 ` [PATCH 0/1] oprofile: use timer interrupt mode " Richard Purdie
0 siblings, 2 replies; 3+ messages in thread
From: Dexuan Cui @ 2011-03-14 9:03 UTC (permalink / raw)
To: poky
From: Dexuan Cui <dexuan.cui@intel.com>
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 <dexuan.cui@intel.com>
---
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(-)
--
1.7.2
^ permalink raw reply [flat|nested] 3+ messages in thread* [PATCH 1/1] poky-qemu-internal: force oprofile into using timer interrupt mode for qemux86/qemux86-64 for now
2011-03-14 9:03 [PATCH 0/1] oprofile: use timer interrupt mode for now Dexuan Cui
@ 2011-03-14 9:03 ` Dexuan Cui
2011-03-14 21:11 ` [PATCH 0/1] oprofile: use timer interrupt mode " Richard Purdie
1 sibling, 0 replies; 3+ messages in thread
From: Dexuan Cui @ 2011-03-14 9:03 UTC (permalink / raw)
To: poky
From: Dexuan Cui <dexuan.cui@intel.com>
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>
---
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 3638a65..046e2b6 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
--
1.7.2
^ permalink raw reply related [flat|nested] 3+ messages in thread* Re: [PATCH 0/1] oprofile: use timer interrupt mode for now
2011-03-14 9:03 [PATCH 0/1] oprofile: use timer interrupt mode for now Dexuan Cui
2011-03-14 9:03 ` [PATCH 1/1] poky-qemu-internal: force oprofile into using timer interrupt mode for qemux86/qemux86-64 " Dexuan Cui
@ 2011-03-14 21:11 ` Richard Purdie
1 sibling, 0 replies; 3+ messages in thread
From: Richard Purdie @ 2011-03-14 21:11 UTC (permalink / raw)
To: Dexuan Cui; +Cc: poky
On Mon, 2011-03-14 at 17:03 +0800, Dexuan Cui wrote:
> From: Dexuan Cui <dexuan.cui@intel.com>
>
> 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 <dexuan.cui@intel.com>
> ---
>
>
> 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(-)
Merged into OE-Core and Poky master.
Cheers,
Richard
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-03-14 21:11 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-14 9:03 [PATCH 0/1] oprofile: use timer interrupt mode for now Dexuan Cui
2011-03-14 9:03 ` [PATCH 1/1] poky-qemu-internal: force oprofile into using timer interrupt mode for qemux86/qemux86-64 " Dexuan Cui
2011-03-14 21:11 ` [PATCH 0/1] oprofile: use timer interrupt mode " Richard Purdie
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.