[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20190722233826.bafd7aeaad3b821157f2d2ff@kernel.org>
Date: Mon, 22 Jul 2019 23:38:26 +0900
From: Masami Hiramatsu <mhiramat@...nel.org>
To: Masami Hiramatsu <mhiramat@...nel.org>
Cc: Frank Rowand <frowand.list@...il.com>,
Steven Rostedt <rostedt@...dmis.org>,
Rob Herring <robh+dt@...nel.org>, Tim Bird <Tim.Bird@...y.com>,
Ingo Molnar <mingo@...hat.com>,
Namhyung Kim <namhyung@...nel.org>,
Jiri Olsa <jolsa@...hat.com>,
Arnaldo Carvalho de Melo <acme@...nel.org>,
Tom Zanussi <tom.zanussi@...ux.intel.com>,
linux-kernel@...r.kernel.org, devicetree@...r.kernel.org
Subject: Re: [RFC PATCH v2 00/15] tracing: of: Boot time tracing using
devicetree
Hello,
I discussed with Frank and other kernel developers last week at OSSJ 2019.
Eventually, I decided to leave from devicetree, because it can unstabilize
current devicetree desgin and policy. Instead, aim to introduce a new
generic structured kernel cmdline, something like "configtree".
I thought JSON or other generic data format, but they look a bit bloated
for my purpose. I just need something like "extended hierarchical kernel
cmdline". For example,
ftrace {
options = "sym-addr"
events = "initcall:*"
tp-printk
event.0 {
name = "tasl:task_newtask"
filter = "pid < 128"
}
}
Which can be written as
ftrace.options="sym-addr" ftrace.events="initcall:*" ftrace.tp-printk ftrace.event.0.name="tasl:task_newtask" ftrace.event.0.filter="pid < 128"
on current kernel cmdline.
So, the parameters are linearly extended from current kernel cmdline.
Kernel internal APIs must be able to handle both of current cmdline
key-values and configtree key-values.
Thank you,
--
Masami Hiramatsu <mhiramat@...nel.org>
Powered by blists - more mailing lists