From: John Kacur <jkacur@redhat.com>
To: Daniel Wagner <wagi@monom.org>
Cc: Clark Williams <williams@redhat.com>,
Daniel Wagner <dwagner@suse.de>,
linux-rt-users@vger.kernel.org
Subject: Re: [rt-tests 0/4] Streamlining code base?
Date: Fri, 4 Sep 2020 11:40:06 -0400 (EDT) [thread overview]
Message-ID: <alpine.LFD.2.23.451.2009041112370.4562@fionn> (raw)
In-Reply-To: <20200904063123.uu37gp4ipom64ao6@beryllium.lan>
On Fri, 4 Sep 2020, Daniel Wagner wrote:
> On Thu, Sep 03, 2020 at 08:39:48PM -0500, Clark Williams wrote:
> > I think it's a noble goal and I'd be up for it, especially trying to come
> > up with a parsable output format. Got any thoughts on it? Personally I'd
> > go for (in order of preference):
> >
> > XML
> > JSON
> > Random Gibberish
> > Any Damned thing
> > YAML
>
> For jitterdebugger I ended up adding a bunch of plugins for the output
> format. So I don't have to argue which format it best, though if I had
> to choose I'd properly pick JSON.
>
> > Did I mention that I hate YAML?
>
> Named must be your fear before banish it you can.
>
We have some software called rteval that parses the output of cyclictest.
https://git.kernel.org/pub/scm/utils/rteval/rteval.git/
(I'll take patches for that too)
It runs cyclictest under-the-covers like this
cyclictest -qmu -h 2000 -p95 -t -a
and parses the output.
The output is then transformed into XML.
What I like about this, is that it keeps cyclictest lightweight since the
data it parses is just text. Then rteval could generate whatever kind of
output you are interested in. xml for clark, yaml for the yammering crowd
and so on.
I'm not saying this is the only legitimate approach, but I would like to
keep the individual tools lightweight in rt-tests, so that you could run
them individually in the embedded space as well as on large machines.
So one way to start would be to make sure that the other tools in the
rt-tests suite are capable of generating a similar kind of output, that
could then be processed by other tools.
John
next prev parent reply other threads:[~2020-09-04 15:40 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-02 8:27 [rt-tests 0/4] Streamlining code base? Daniel Wagner
2020-09-02 8:27 ` [rt-tests 1/4] cyclicdeadline: Streamline usage output and man page Daniel Wagner
2020-09-02 8:27 ` [rt-tests 2/4] deadline_test: " Daniel Wagner
2020-09-02 8:27 ` [rt-tests 3/4] oslat: " Daniel Wagner
2020-09-02 8:27 ` [rt-tests 4/4] oslat: Use string parser utilies Daniel Wagner
2020-09-04 1:39 ` [rt-tests 0/4] Streamlining code base? Clark Williams
2020-09-04 6:31 ` Daniel Wagner
2020-09-04 15:40 ` John Kacur [this message]
2020-09-07 8:13 ` Daniel Wagner
2020-09-08 15:23 ` John Kacur
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=alpine.LFD.2.23.451.2009041112370.4562@fionn \
--to=jkacur@redhat.com \
--cc=dwagner@suse.de \
--cc=linux-rt-users@vger.kernel.org \
--cc=wagi@monom.org \
--cc=williams@redhat.com \
/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