From: William Cohen <wcohen@redhat.com>
To: David Smith <dsmith@redhat.com>,
Systemtap List <systemtap@sourceware.org>,
pcp <pcp@oss.sgi.com>
Subject: Re: [pcp] systemtap/pcp integration
Date: Fri, 18 Jul 2014 21:10:00 -0000 [thread overview]
Message-ID: <53C98D38.7080703@redhat.com> (raw)
In-Reply-To: <53C83CB9.3020808@redhat.com>
On 07/17/2014 05:14 PM, David Smith wrote:
> Here's a small update on the prototype systemtap/pcp integration work
> I'm doing. I've create a systemtap branch, called 'dsmith/mmv' that
> contains all my work. Basically this work allows systemtap to create
> 'mmv' memory mapped files.
>
> If you checkout and build that, then you should be able to run the
> attached systemtap script. This script is a translation of pcp's example
> python mmv script found in src/python/mmv.py.
>
> Note that systemtap will create a file called 'mmv' in
> /proc/systemtap/{MODULE_NAME}. I've just been using pcp's 'mmvdump'
> utility to dump the contents of the /proc/systemtap/{MODULE_NAME}/mmv
> file. Currently the pcp mmv pmda only looks in one place for mmv files,
> but it might be possible to create a symbolic link to systemtap's mmv
> file to make it happy.
>
> The code works for the attached script, but I'm sure it is quite
> fragile. Things like locking, error checking, documentation, etc. need
> to be done.
>
>
>
> _______________________________________________
> pcp mailing list
> pcp@oss.sgi.com
> http://oss.sgi.com/mailman/listinfo/pcp
>
Hi David,
I was able to get this to work on RHEL 7. However, on fedora20 the mmvdump gets a sigsegv in the dump() function.
-Will
next prev parent reply other threads:[~2014-07-18 21:10 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-17 21:14 David Smith
2014-07-18 15:49 ` Frank Ch. Eigler
2014-07-18 17:02 ` David Smith
2014-07-18 18:27 ` Frank Ch. Eigler
2014-07-22 14:25 ` David Smith
2014-07-22 15:21 ` Frank Ch. Eigler
2014-07-22 21:02 ` David Smith
2014-07-18 21:10 ` William Cohen [this message]
2014-07-21 15:43 ` [pcp] " David Smith
2014-07-21 15:54 ` William Cohen
2014-07-22 1:32 ` Nathan Scott
2014-07-22 2:57 ` Frank Ch. Eigler
2014-07-22 14:50 ` [pcp] " David Smith
2014-07-23 10:29 ` Nathan Scott
2014-07-23 14:42 ` Frank Ch. Eigler
2014-07-24 7:40 ` Nathan Scott
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=53C98D38.7080703@redhat.com \
--to=wcohen@redhat.com \
--cc=dsmith@redhat.com \
--cc=pcp@oss.sgi.com \
--cc=systemtap@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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 read-only IMAP folder(s) and NNTP newsgroup(s).