Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1728511

Re: [PATCH v2 28/40] tracing: Add support for 'field variables'

From Steven Rostedt <rostedt@goodmis.org>
Newsgroups linux.kernel
Subject Re: [PATCH v2 28/40] tracing: Add support for 'field variables'
Date 2017-09-08 01:50 +0200
Message-ID <uneIx-6Zu-1@gated-at.bofh.it> (permalink)
References <umu2Z-5m-5@gated-at.bofh.it> <umucI-oz-87@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue,  5 Sep 2017 16:57:40 -0500
Tom Zanussi <tom.zanussi@linux.intel.com> wrote:

> Users should be able to directly specify event fields in hist trigger
> 'actions' rather than being forced to explicitly create a variable for
> that purpose.
> 
> Add support allowing fields to be used directly in actions, which
> essentially does just that - creates 'invisible' variables for each
> bare field specified in an action.  If a bare field refers to a field
> on another (matching) event, it even creates a special histogram for
> the purpose (since variables can't be defined on an existing histogram
> after histogram creation).

Can you show some examples here to describe what you mean better?

-- Steve

> 
> Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
> ---
>  kernel/trace/trace_events_hist.c | 452 ++++++++++++++++++++++++++++++++++++++-
>  1 file changed, 451 insertions(+), 1 deletion(-)
> 
>

Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v2 28/40] tracing: Add support for 'field variables' Tom Zanussi <tom.zanussi@linux.intel.com> - 2017-09-06 00:10 +0200
  Re: [PATCH v2 28/40] tracing: Add support for 'field variables' Steven Rostedt <rostedt@goodmis.org> - 2017-09-08 01:50 +0200
    Re: [PATCH v2 28/40] tracing: Add support for 'field variables' Tom Zanussi <tom.zanussi@linux.intel.com> - 2017-09-08 17:40 +0200

csiph-web