From: "Frank Ch. Eigler" <fche@redhat.com>
To: David Smith <dsmith@redhat.com>
Cc: Systemtap List <systemtap@sourceware.org>, pcp <pcp@oss.sgi.com>
Subject: Re: systemtap/pcp integration
Date: Tue, 22 Jul 2014 15:21:00 -0000 [thread overview]
Message-ID: <20140722152127.GC20079@redhat.com> (raw)
In-Reply-To: <53CE743E.9030807@redhat.com>
Hi, David -
> [...]
> I think a JSON fetcher/parser is a good idea.
Good enough to redirect from MMV?
> [...]
> > To spell it out, the idea was to encode the mmv format logic
> > (including metadata management) within a stap tapset script instead of
> > as C in the runtime. Then the C runtime would need to do nothing but
> > provide a memory-mapped-byte-array kind of abstraction, and a way for
> > the script code to read/write it (maybe a variant of
> > sprintf("%b...")?).
>
> Hmm. I think I see where you are going with this, but I don't know if it
> will work well for a couple of reasons. One is that you don't just write
> to this array, you have to be able to read it back (in order to shuffle
> things around, hook up instances to indoms, etc.).
(Not if the stap tapset just rewrites the whole metadata if necessary.)
> In addition, the best way to ensure that a client can read the data
> produced by the mmv stuff is to use the same header file so we know
> the data is laid out the same way.
Right ... though since MMV is a fixed ABI, a completely separate
implementation would help test the robustness of its specification.
- FChE
next prev parent reply other threads:[~2014-07-22 15:21 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 [this message]
2014-07-22 21:02 ` David Smith
2014-07-18 21:10 ` [pcp] " William Cohen
2014-07-21 15:43 ` 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=20140722152127.GC20079@redhat.com \
--to=fche@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).