From: Peter De Schrijver <pdeschrijver@nvidia.com>
To: Stephen Warren <swarren@wwwdotorg.org>
Cc: Mike Turquette <mturquette@linaro.org>,
Prashant Gaikwad <pgaikwad@nvidia.com>,
Stephen Warren <swarren@nvidia.com>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"linux-arm-kernel@lists.infradead.org"
<linux-arm-kernel@lists.infradead.org>
Subject: Re: [PATCH] clk: debug clock tree
Date: Fri, 14 Dec 2012 12:43:10 +0200 [thread overview]
Message-ID: <20121214104310.GW19258@tbergstrom-lnx.Nvidia.com> (raw)
In-Reply-To: <50CA17FB.9060606@wwwdotorg.org>
On Thu, Dec 13, 2012 at 07:01:31PM +0100, Stephen Warren wrote:
> On 12/13/2012 09:27 AM, Mike Turquette wrote:
> > On Wed, Dec 12, 2012 at 7:49 PM, Prashant Gaikwad <pgaikwad@nvidia.com> wrote:
> >> Adds debug file "clock_tree" in /sys/kernel/debug/clk dir.
> >> It helps to view all the clock registered in tree format.
> >>
> >
> > Prashant,
> >
> > Thanks for submitting this. We've been talking about having a single
> > file for representing the tree for some time.
> >
> > Regarding the output format had you considered using a well known
> > format which can be parsed using well known parsing libs? This avoids
> > needing a custom parser just for this one file. JSON springs to mind
> > as something lightweight and well-understood.
>
> One advantage of the format below is that it's very easily
> human-readable, and it's not too hard to parse (although I guess you'd
> have to parse the indent level to get parent/child relation, which would
> suck a bit). Is there room to provide both? Otherwise, I guess the
> kernel could include a script to convert from JSON/whatever into the
> format below.
We already have the clk directory for an easy to parse version. So I think
this one should be focused on being human readable.
Cheers,
Peter.
next prev parent reply other threads:[~2012-12-14 10:43 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-13 3:49 Prashant Gaikwad
2012-12-13 16:27 ` Mike Turquette
2012-12-13 18:01 ` Stephen Warren
2012-12-14 10:43 ` Peter De Schrijver [this message]
2012-12-14 16:43 ` Mike Turquette
2012-12-20 5:53 ` Prashant Gaikwad
2012-12-21 22:56 ` Mike Turquette
2012-12-23 10:26 ` Prashant Gaikwad
2012-12-24 17:37 ` Mike Turquette
2012-12-25 4:52 ` Prashant Gaikwad
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=20121214104310.GW19258@tbergstrom-lnx.Nvidia.com \
--to=pdeschrijver@nvidia.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mturquette@linaro.org \
--cc=pgaikwad@nvidia.com \
--cc=swarren@nvidia.com \
--cc=swarren@wwwdotorg.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
all inboxes | Powered by JetHome®