pcp
[Top] [All Lists]

Out-of-tree DSO PMDA

To: pcp@xxxxxxxxxxx
Subject: Out-of-tree DSO PMDA
From: "Josef 'Jeff' Sipek" <jeffpc@xxxxxxxxxxxxxx>
Date: Sat, 18 Feb 2012 13:14:28 -0500
User-agent: Mutt/1.5.21 (2010-09-15)
I am considering replacing some code I have which uses the MMV PMDA with a
custom PMDA that exports the metrics with less overhead.  (The application
already has tons of internal metrics and keeping the MMV file updated is
significant enough overhead that I'd like to have a faster way to feed the
stats right into the PMCD.  Currently, I'm thinking that having a DSO PMDA
which uses shared memory or a mmap'ed file to access the raw stats
structures in the application.)

What's the best way to develop an out-of-tree DSO PMDA?  Can I avoid having
to patch the PCP source to build just the PMDA?  (I'd like to keep the PMDA
code in the application source tree instead of keeping a patched PCP tree
around.)

Thanks,

Jeff.

-- 
Don't drink and derive. Alcohol and algebra don't mix.

<Prev in Thread] Current Thread [Next in Thread>