Skip to contentSkip to conversation

OProfile patch for Linux 2.6.39.rc5.git5

DISCUSSION W. Michael Petullo 3 participants 8 messages May 3, 2011 – May 10, 2011

lore
Share & tools
lore
#1 lore raw

Hi, Michael,
The link does not work.
And is this a dom0 kernel?

- Hui

Quoted 18 lines · W. Michael Petullo

I have ported Anil's passive profile-capable OProfile patch to Linux 2.6.39.rc5.git5. Please see:

       http://www.flyn.org/patches/linux-2.6.39.rc5.git5-xen-passive-oprofile/linux-2.6.38-xen-passive-oprofile.patch.gz

With this patch applied to Linux 2.6.39.rc5.git5, I can perform passive profiling on an unprivileged Xen domain.

--
Mike

:wq

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#3 lore raw
Quoted 10 lines · W. Michael Petullo
Quoted 1 line

The link does not work.

Sorry, the link should have been:

       http://www.flyn.org/patches/linux-xen-passive-oprofile/linux-2.6.39.rc5.git5-xen-passive-oprofile.patch.gz

Quoted 1 line

And is this a dom0 kernel?

Yes. This is a patch against linux-2.6.39.rc5.git5. This feature is relavent when Linux is built to be run in Dom0.

This is cool, given that Jeremy's dom0 kernel is based on only 2.6.32.
git://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git

- Hui

Quoted 6 lines

--
Mike

:wq

#4 lore raw
Quoted 6 lines · Steven
Quoted 5 lines · W. Michael Petullo
Quoted 1 line

The link does not work.

Sorry, the link should have been:

       http://www.flyn.org/patches/linux-xen-passive-oprofile/linux-2.6.39.rc5.git5-xen-passive-oprofile.patch.gz

Is there a git of this by any chance? BTW, when I ran diffstat on this I saw

..

 arch/x86/include/asm/xen/hypercall.h.orig |  565 ++++++
 arch/x86/xen/mmu.c.orig                   | 2486 ++++++++++++++++++++++++++++++
 include/linux/oprofile.h.orig             |  211 ++

I don't think the .orig file are neccessary?

#5 lore raw

The git repository is https://github.com/avsm/linux-2.6.32-xen-oprofile
But it is for 2.6.32.

Quoted 18 lines · Konrad Rzeszutek Wilk
Quoted 6 lines · Steven
Quoted 5 lines · W. Michael Petullo
Quoted 1 line

The link does not work.

Sorry, the link should have been:

       http://www.flyn.org/patches/linux-xen-passive-oprofile/linux-2.6.39.rc5.git5-xen-passive-oprofile.patch.gz

Is there a git of this by any chance? BTW, when I ran diffstat on this I saw

..
 arch/x86/include/asm/xen/hypercall.h.orig |  565 ++++++ arch/x86/xen/mmu.c.orig                   | 2486 ++++++++++++++++++++++++++++++ include/linux/oprofile.h.orig             |  211 ++

I don't think the .orig file are neccessary?

#7 lore raw

Yes, I am working on it now and will post a git patch against the 2.6.39 tree.

Quoted 6 lines · Konrad Rzeszutek Wilk
Quoted 2 lines · Steven

The git repository is https://github.com/avsm/linux-2.6.32-xen-oprofile
But it is for 2.6.32.

Were you thinking to establish one for the 2.6.39 tree by any chance?