xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* OProfile patch for Linux 3.2
@ 2012-01-28 23:54 W. Michael Petullo
  2012-02-01  1:05 ` Konrad Rzeszutek Wilk
  0 siblings, 1 reply; 4+ messages in thread
From: W. Michael Petullo @ 2012-01-28 23:54 UTC (permalink / raw)
  To: xen-devel

I have ported Anil's passive profile-capable OProfile patch to Linux
3.2. I have be able to hobble this patch along to new kernel versions, but
it is in need of additional work if it is to be submitted upstream. Please
see:

http://www.flyn.org/patches/linux-xen-passive-oprofile/linux-3.2-xen-passive-oprofile.patch.gz

With this patch applied to Linux 3.2, I can perform passive
profiling of an unprivileged Xen domain.

-- 
Mike

:wq

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: OProfile patch for Linux 3.2
  2012-01-28 23:54 OProfile patch for Linux 3.2 W. Michael Petullo
@ 2012-02-01  1:05 ` Konrad Rzeszutek Wilk
  2012-02-01  1:28   ` W. Michael Petullo
  0 siblings, 1 reply; 4+ messages in thread
From: Konrad Rzeszutek Wilk @ 2012-02-01  1:05 UTC (permalink / raw)
  To: W. Michael Petullo; +Cc: xen-devel

On Sat, Jan 28, 2012 at 05:54:49PM -0600, W. Michael Petullo wrote:
> I have ported Anil's passive profile-capable OProfile patch to Linux
> 3.2. I have be able to hobble this patch along to new kernel versions, but
> it is in need of additional work if it is to be submitted upstream. Please
> see:
> 
> http://www.flyn.org/patches/linux-xen-passive-oprofile/linux-3.2-xen-passive-oprofile.patch.gz
> 
> With this patch applied to Linux 3.2, I can perform passive
> profiling of an unprivileged Xen domain.

What version of oprofile did you use?
> 
> -- 
> Mike
> 
> :wq
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xensource.com
> http://lists.xensource.com/xen-devel

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: OProfile patch for Linux 3.2
  2012-02-01  1:05 ` Konrad Rzeszutek Wilk
@ 2012-02-01  1:28   ` W. Michael Petullo
  2012-02-17 16:44     ` Konrad Rzeszutek Wilk
  0 siblings, 1 reply; 4+ messages in thread
From: W. Michael Petullo @ 2012-02-01  1:28 UTC (permalink / raw)
  To: Konrad Rzeszutek Wilk; +Cc: xen-devel

>> I have ported Anil's passive profile-capable OProfile patch to Linux
>> 3.2. I have be able to hobble this patch along to new kernel versions, but
>> it is in need of additional work if it is to be submitted upstream. Please
>> see:
>> 
>> http://www.flyn.org/patches/linux-xen-passive-oprofile/linux-3.2-xen-passive-oprofile.patch.gz
>> 
>> With this patch applied to Linux 3.2, I can perform passive
>> profiling of an unprivileged Xen domain.

> What version of oprofile did you use?

Fedora's oprofile-0.9.6-21.fc16.x86_64.

-- 
Mike

:wq

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: OProfile patch for Linux 3.2
  2012-02-01  1:28   ` W. Michael Petullo
@ 2012-02-17 16:44     ` Konrad Rzeszutek Wilk
  0 siblings, 0 replies; 4+ messages in thread
From: Konrad Rzeszutek Wilk @ 2012-02-17 16:44 UTC (permalink / raw)
  To: W. Michael Petullo; +Cc: xen-devel

On Tue, Jan 31, 2012 at 07:28:12PM -0600, W. Michael Petullo wrote:
> >> I have ported Anil's passive profile-capable OProfile patch to Linux
> >> 3.2. I have be able to hobble this patch along to new kernel versions, but
> >> it is in need of additional work if it is to be submitted upstream. Please
> >> see:
> >> 
> >> http://www.flyn.org/patches/linux-xen-passive-oprofile/linux-3.2-xen-passive-oprofile.patch.gz
> >> 
> >> With this patch applied to Linux 3.2, I can perform passive
> >> profiling of an unprivileged Xen domain.
> 
> > What version of oprofile did you use?
> 
> Fedora's oprofile-0.9.6-21.fc16.x86_64.

So I took a spin at this - it applies nicely and cleanly to 3.2, and
was wondering how you profile passive domains?

I do something like this:

opcontrol --vmlinux=/mnt/lab/vmlinux-dom0 --xen=/mnt/lab/xen-syms --passive-domains=3,2 --callgraph=10 --passive-images=/mnt/lab/10gb/tiny-vmlinux  -p=cpu 
opcontrol --start-daemon

opcontrol --start
/mnt/lab/10gb/create_csv.sh 1
opcontrol --stop

The little create_csv.sh makes the two domains talk to each other
(netperf) and I want to get a feel for what it is happening.

But what I get is exclusivly to domain0 and to xen. Nothing about
the guests?

Are you doing something speciail to profile the passive domains?

Thanks.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-02-17 16:44 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-28 23:54 OProfile patch for Linux 3.2 W. Michael Petullo
2012-02-01  1:05 ` Konrad Rzeszutek Wilk
2012-02-01  1:28   ` W. Michael Petullo
2012-02-17 16:44     ` Konrad Rzeszutek Wilk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).