Hi, Xenperf seems to be broken with the 2.6.16.29 kernel. All the counters just show 0. I checked the 2.6.16.13 version and the current one and there seem to be quite a few changes Example XEN_SYSCTL_PERFCOP_query replaces DOM0_PERFCCONTROL_OP_QUERY Can someone please let me know how I can get it working again? Thanks - Padma _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
On 21/9/06 9:20 pm, "Apparao, Padmashree K" <padmashree.k.apparao@intel.com> wrote:> Xenperf seems to be broken with the 2.6.16.29 kernel. > All the counters just show 0. I checked the 2.6.16.13 version and the current > one and there seem to be quite a few changes > > Example XEN_SYSCTL_PERFCOP_query replaces DOM0_PERFCCONTROL_OP_QUERY > > Can someone please let me know how I can get it working again?It may need some debugging. Noone may have tried using it since the change to domctl/sysctl. -- Keir _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Changeset 11256:9091331dfb353 -- Keir On 21/9/06 10:57 pm, "Apparao, Padmashree K" <padmashree.k.apparao@intel.com> wrote:> Would it be possible to revert to a version before the domctl/sysctl. If so, > what changeset should I go back to. > > Thanks > - Padma > - >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Would it be possible to revert to a version before the domctl/sysctl. If so, what changeset should I go back to. Thanks - Padma - ________________________________ From: Keir Fraser [mailto:Keir.Fraser@cl.cam.ac.uk] Sent: Thursday, September 21, 2006 2:12 PM To: Apparao, Padmashree K; xen-devel@lists.xensource.com Subject: Re: [Xen-devel] problem with xenperf On 21/9/06 9:20 pm, "Apparao, Padmashree K" <padmashree.k.apparao@intel.com> wrote: Xenperf seems to be broken with the 2.6.16.29 kernel. All the counters just show 0. I checked the 2.6.16.13 version and the current one and there seem to be quite a few changes Example XEN_SYSCTL_PERFCOP_query replaces DOM0_PERFCCONTROL_OP_QUERY Can someone please let me know how I can get it working again? It may need some debugging. Noone may have tried using it since the change to domctl/sysctl. -- Keir _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Hi, I have made extensive modifications to the source code in my repository. How can I revert to an older changeset but keeping my modifications Thanks-Padma ________________________________ From: Keir Fraser [mailto:Keir.Fraser@cl.cam.ac.uk] Sent: Thursday, September 21, 2006 2:57 PM To: Apparao, Padmashree K; xen-devel@lists.xensource.com Subject: Re: [Xen-devel] problem with xenperf Changeset 11256:9091331dfb353 -- Keir On 21/9/06 10:57 pm, "Apparao, Padmashree K" <padmashree.k.apparao@intel.com> wrote: Would it be possible to revert to a version before the domctl/sysctl. If so, what changeset should I go back to. Thanks - Padma - _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
I take it to mean, you have made modifications since that changeset? Are you committing these changes to mercurial, or not? If you have uncommitted changes you can do this: $ hg diff > /tmp/hgdiff $ hg update -C [revision] $ patch -p1 < /tmp/hgdiff If you have committed changes, I suppose you could export all of those: $ hg export [revision 1] > /tmp/revision1 $ hg export [revision 2] > /tmp/revision2 ... $ hg update -C [revision] $ for I in /tmp/revision* ; do hg import $I ; done $ hg update Or alternately, you could start using hg quilt. Quilt will allow you to keep a "series" of patches on top of the development tree. When you want to move from one version fo the repository to another, you simply "pop" all the patches in the series off, move to that version, and "push" all the patches back on. (See instructions below.) To enable mercurial-quilt, add the following line to the [extensions] section of your ~/.hgrc file: mq On 9/21/06, Apparao, Padmashree K <padmashree.k.apparao@intel.com> wrote:> > > > > Hi, > > > > I have made extensive modifications to the source code in my repository. How > can I revert to an older changeset but keeping my modifications > > > > Thanks-Padma > > > > ________________________________ > > > From: Keir Fraser [mailto:Keir.Fraser@cl.cam.ac.uk] > Sent: Thursday, September 21, 2006 2:57 PM > To: Apparao, Padmashree K; xen-devel@lists.xensource.com > Subject: Re: [Xen-devel] problem with xenperf > > > > > Changeset 11256:9091331dfb353 > > -- Keir > > On 21/9/06 10:57 pm, "Apparao, Padmashree K" > <padmashree.k.apparao@intel.com> wrote: > > Would it be possible to revert to a version before the domctl/sysctl. If so, > what changeset should I go back to. > > Thanks > - Padma > - > > > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel > > >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
> To enable mercurial-quilt, add the following line to the [extensions] > section of your ~/.hgrc file: > mq[Sorry, pressed the ''send'' key accidentally] yes, add "mq=" to your ~/.hgrc file. To move over to quilt, you probably want to break your patches down into logical chunks. Make a new patch by: $ hg qnew [patchname] Then, make whatever edits you want; possibly, using "patch" from some of the exported changesets from before. When you''re done, type $ hg qrefresh This will push watever changes into the "current" patch. $ hg qseries -v Will show you all the patches in your series, and which ones have been applied. qpush and qpop will push and pop one patch in the series. "hg qpush -a" and "hg qpop -a" will push and pull all patches in the series, respectively. With quilt, when you want to move to a new place in the mainline repository, or update to the newest version, you can do the following: $ hg qpop -a $ hg update [rev] OR hg pull ; hg update $ hg qpush -a The "quilt" mode of operation is especially useful if you ever intend to submit the patches to the mailing list. The resulting patches can be found in the .hg/patches/ directory. Patches can be added manually by editing the ''series'' file in that directory. Is this helpful? -George> > > On 9/21/06, Apparao, Padmashree K <padmashree.k.apparao@intel.com> wrote: > > > > > > > > > > Hi, > > > > > > > > I have made extensive modifications to the source code in my repository. How > > can I revert to an older changeset but keeping my modifications > > > > > > > > Thanks-Padma > > > > > > > > ________________________________ > > > > > > From: Keir Fraser [mailto:Keir.Fraser@cl.cam.ac.uk] > > Sent: Thursday, September 21, 2006 2:57 PM > > To: Apparao, Padmashree K; xen-devel@lists.xensource.com > > Subject: Re: [Xen-devel] problem with xenperf > > > > > > > > > > Changeset 11256:9091331dfb353 > > > > -- Keir > > > > On 21/9/06 10:57 pm, "Apparao, Padmashree K" > > <padmashree.k.apparao@intel.com> wrote: > > > > Would it be possible to revert to a version before the domctl/sysctl. If so, > > what changeset should I go back to. > > > > Thanks > > - Padma > > - > > > > > > > > _______________________________________________ > > Xen-devel mailing list > > Xen-devel@lists.xensource.com > > http://lists.xensource.com/xen-devel > > > > > > >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel