On Fri, Nov 13, 2009 at 01:00:41PM +1100, Nathan Scott wrote:
> This version fixes a problem in mmv_children(), adds the
> new syntax into the pmns file, and in general works Much
> More Betterer when run from pmcd (rather than dbpmda).
>
I didn't have any time to debug, but running my same simple test of
`./gendata.sh | perl ./mmvtest.pl`
0x00007f7d01541210 in strlen () from /lib/libc.so.6
(gdb) bt
#0 0x00007f7d01541210 in strlen () from /lib/libc.so.6
#1 0x00007f7d01828ffe in __pmSendNameList () from /usr/lib/libpcp.so.3
#2 0x00007f7d01a5904e in __pmdaMainPDU () from /usr/lib/libpcp_pmda.so.3
#3 0x00007f7d01a590d0 in pmdaMain () from /usr/lib/libpcp_pmda.so.3
#4 0x0000000000404057 in main (argc=3, argv=0x7fff3971a178) at mmv.c:898
(gdb)
> cheers.
>
> ----- "Nathan Scott" <nscott@xxxxxxxxxx> wrote:
> > ----- "Nathan Scott" <nscott@xxxxxxxxxx> wrote:
> > > ----- "Martin Hicks" <mort@xxxxxxxx> wrote:
> > > > ...
> > > > Is this something wrong with the way I wrote the PMDA, or is this
> > a
> > > > bug in the MMV PMDA?
> > >
> > > Its a bug that cannot really be fixed in the current MMV design
> > > (to do with the way pmdammv and pmcd communicate the namespace
> > > changes) ... MMV needs to switch to using the all-singing, all-
> > > dancing dynamic namespace infrastructure to really fix this.
> >
> > Here's a patch which converts pmdammv to use Kens new "dynamic
> > namespace" interfaces. It seems to function correctly when I
> > throw queries at it via dbpmda ... but no testing beyond that
> > has been done just yet.
> >
> > Lemme know how it goes. It also implements a DSO MMV, which I
> > also ran under dbpmda successfully. Both these binaries should
> > no longer have the annoying-spurious-errors feature.
>
> --
> Nathan
> _______________________________________________
> pcp mailing list
> pcp@xxxxxxxxxxx
> http://oss.sgi.com/mailman/listinfo/pcp
|