From: Ingo Molnar <mingo@kernel.org>
To: Jovi Zhangwei <jovi.zhangwei@gmail.com>
Cc: "Greg Kroah-Hartman" <gregkh@linuxfoundation.org>,
"zhangwei(Jovi)" <jovi.zhangwei@huawei.com>,
"Frédéric Weisbecker" <fweisbec@gmail.com>,
"Peter Zijlstra" <a.p.zijlstra@chello.nl>,
"Arnaldo Carvalho de Melo" <acme@infradead.org>,
"Thomas Gleixner" <tglx@linutronix.de>,
"Steven Rostedt" <rostedt@goodmis.org>,
"Linus Torvalds" <torvalds@linux-foundation.org>,
"Andrew Morton" <akpm@linux-foundation.org>,
LKML <linux-kernel@vger.kernel.org>,
"Tom Zanussi" <tom.zanussi@linux.intel.com>,
"Namhyung Kim" <namhyung@kernel.org>,
"David Ahern" <dsahern@gmail.com>, "Jiri Olsa" <jolsa@redhat.com>,
"Masami Hiramatsu" <masami.hiramatsu.pt@hitachi.com>
Subject: Re: ktap inclusion in drivers/staging/?
Date: Sat, 26 Oct 2013 10:59:55 +0200 [thread overview]
Message-ID: <20131026085955.GD14237@gmail.com> (raw)
In-Reply-To: <CAGdX0WGrGbb-eJvS4HHg9umk7X3-vrzyrJCuhAJrfGvOriKHSQ@mail.gmail.com>
* Jovi Zhangwei <jovi.zhangwei@gmail.com> wrote:
> Thanks. An addition question I want to discuss in here is the ktap
> code structure layout in first patch series, this don't need to
> dig out any ktap design detail, so we can make agreement on this
> point, and ease for me to prepare patch series.
>
> Do I need to prepare patchset target on staging tree or "real"
> part of kernel? [...]
I'd suggest adding it to the core, i.e. kernel/tracing/ and
kernel/trace/trace_events_filter.c in particular which includes the
current filter script interpreter.
(Please also make sure that the Lua copyright notices get carried
over properly.)
> [...] If target on driver/staging/ktap, then kernel code and
> userspace code still need to locate at same directory, that many
> people may don't like it.
>
> Target on "real" part kernel? - include/trace/ktap (header file
> common used by interpreter and userspace compiler) -
> kernel/trace/ktap (interpreter code, ktapvm, pure kernel module) -
> tools/perf/ktap?(userspace compiler code)
> As I also agree integrating ktap and perf together, two
> subsystem can share many codes, so it's better putting ktap
> userspace into perf directory.
Once there's a more split-out submission it will be easier to see
what belongs where. I agree with Pekka that for the user the UI
should be integrated and obvious.
I'd also like there to be a natural 'extract the script'
functionality from an installed tap script. This gives more
flexibiliy and improves security as well: no hidden, binary-only
crap, every script installed on a running system should be
extractable in source form, should be reviewable and modifiable.
Thanks,
Ingo
next prev parent reply other threads:[~2013-10-26 9:00 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-24 7:58 ktap inclusion in drivers/staging/? Ingo Molnar
2013-10-24 8:46 ` Steven Rostedt
2013-10-24 9:42 ` Linus Torvalds
2013-10-24 10:04 ` Greg Kroah-Hartman
2013-10-25 10:10 ` Ingo Molnar
2013-10-24 9:49 ` Greg Kroah-Hartman
2013-10-24 12:44 ` Jovi Zhangwei
2013-10-24 12:11 ` Jovi Zhangwei
2013-10-24 12:25 ` Steven Rostedt
2013-10-24 19:46 ` Arnaldo Carvalho de Melo
2013-10-25 3:00 ` Jovi Zhangwei
2013-10-24 12:32 ` Jovi Zhangwei
2013-10-25 10:15 ` Ingo Molnar
2013-10-26 5:02 ` Jovi Zhangwei
2013-10-26 8:59 ` Ingo Molnar [this message]
2013-10-28 12:12 ` Masami Hiramatsu
2013-10-28 12:19 ` Ingo Molnar
2013-10-28 12:16 ` Masami Hiramatsu
2013-10-28 13:19 ` Jovi Zhangwei
2013-10-28 5:48 ` Masami Hiramatsu
2013-10-25 11:25 ` Pekka Enberg
2013-10-25 11:34 ` Ingo Molnar
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=20131026085955.GD14237@gmail.com \
--to=mingo@kernel.org \
--cc=a.p.zijlstra@chello.nl \
--cc=acme@infradead.org \
--cc=akpm@linux-foundation.org \
--cc=dsahern@gmail.com \
--cc=fweisbec@gmail.com \
--cc=gregkh@linuxfoundation.org \
--cc=jolsa@redhat.com \
--cc=jovi.zhangwei@gmail.com \
--cc=jovi.zhangwei@huawei.com \
--cc=linux-kernel@vger.kernel.org \
--cc=masami.hiramatsu.pt@hitachi.com \
--cc=namhyung@kernel.org \
--cc=rostedt@goodmis.org \
--cc=tglx@linutronix.de \
--cc=tom.zanussi@linux.intel.com \
--cc=torvalds@linux-foundation.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 NNTP newsgroup(s).