From: Steven Rostedt <rostedt@goodmis.org>
To: Julia Lawall <julia.lawall@inria.fr>
Cc: linux-trace-users@vger.kernel.org
Subject: Re: CSV output
Date: Mon, 13 Mar 2023 13:53:32 -0400 [thread overview]
Message-ID: <20230313135332.075af0a9@gandalf.local.home> (raw)
In-Reply-To: <87b0589-28a5-1cb5-f3ee-4d5c2e817116@inria.fr>
On Mon, 13 Mar 2023 18:40:16 +0100 (CET)
Julia Lawall <julia.lawall@inria.fr> wrote:
> Thanks for the patch. But actually, I was hoping for something like this:
>
> cpus=96
> <...>-20420,074,3057.962369,sched_process_exec,/tmp/tmp2abf06.sh,20420,20420
> <...>-20420,074,3057.963487,sched_switch,tmp2abf06.sh,20420,120,D,swapper/74,0,120
> <idle>-0,034,3057.963602,sched_waking,kworker/u192,6,500,120,075
> <idle>-0,075,3057.963632,sched_wakeup,kworker/u192,6,500,120,075
> <idle>-0,075,3057.963637,sched_switch,swapper/75,0,120,R,kworker/u192,6,500,120
> kworker/u192,6-500,075,3057.963656,sched_waking,tmp2abf06.sh,20420,120,074
> kworker/u192,6-500,075,3057.963665,sched_switch,kworker/u192,6,500,120,W,swapper/75,0,120
> <idle>-0,074,3057.963686,sched_wakeup,tmp2abf06.sh,20420,120,074
> <idle>-0,074,3057.963691,sched_switch,swapper/74,0,120,R,tmp2abf06.sh,20420,120
>
> It still remains human readable (more or less, with practice), but there
> are not a lot of spaces that a parser has to get rid of. The separator
> character would have to be something that can't occur in a command name.
Should be rather trivial to implement.
Better yet, I'm hoping to get some time to finish looking at the python
updates that were sent to me, and where it could be possible to just allow
you to override the output with a python script.
-- Steve
next prev parent reply other threads:[~2023-03-13 17:53 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-12 7:07 CSV output Julia Lawall
2023-03-13 16:15 ` Steven Rostedt
2023-03-13 17:40 ` Julia Lawall
2023-03-13 17:53 ` Steven Rostedt [this message]
2023-03-13 17:59 ` Julia Lawall
2023-03-13 18:24 ` Steven Rostedt
2023-03-15 19:39 ` Alexander Aring
2023-03-15 20:24 ` Julia Lawall
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=20230313135332.075af0a9@gandalf.local.home \
--to=rostedt@goodmis.org \
--cc=julia.lawall@inria.fr \
--cc=linux-trace-users@vger.kernel.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