[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20180919035446.4fb6b856ab51229984eb2736@kernel.org>
Date: Wed, 19 Sep 2018 03:54:46 +0900
From: Masami Hiramatsu <mhiramat@...nel.org>
To: Tom Zanussi <zanussi@...nel.org>
Cc: rostedt@...dmis.org, tglx@...utronix.de, mhiramat@...nel.org,
namhyung@...nel.org, vedang.patel@...el.com, bigeasy@...utronix.de,
joel@...lfernandes.org, mathieu.desnoyers@...icios.com,
julia@...com, linux-kernel@...r.kernel.org,
linux-rt-users@...r.kernel.org
Subject: Re: [PATCH v4 8/8] trace: Add alternative synthetic event trace
action syntax
Hi Tom,
On Mon, 10 Sep 2018 14:10:46 -0500
Tom Zanussi <zanussi@...nel.org> wrote:
> From: Tom Zanussi <tom.zanussi@...ux.intel.com>
>
> Add a 'trace(synthetic_event_name, params)' alternative to
> synthetic_event_name(params).
>
> Currently, the syntax used for generating synthetic events is to
> invoke synthetic_event_name(params) i.e. use the synthetic event name
> as a function call.
>
> Users requested a new form that more explicitly shows that the
> synthetic event is in effect being traced. In this version, a new
> 'trace()' keyword is used, and the synthetic event name is passed in
> as the first argument.
Hmm, what is the advantage of adding this new form?
Thanks,
--
Masami Hiramatsu <mhiramat@...nel.org>
Powered by blists - more mailing lists