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


Groups > linux.kernel > #1728970

Re: [PATCH v2 25/40] tracing: Add support for dynamic tracepoints

From Tom Zanussi <tom.zanussi@linux.intel.com>
Newsgroups linux.kernel
Subject Re: [PATCH v2 25/40] tracing: Add support for dynamic tracepoints
Date 2017-09-08 16:20 +0200
Message-ID <unsiu-8c2-29@gated-at.bofh.it> (permalink)
References <umu2Z-5m-5@gated-at.bofh.it> <umu30-5m-19@gated-at.bofh.it> <und9L-69J-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Hi Steve,

On Thu, 2017-09-07 at 18:02 -0400, Steven Rostedt wrote:
> On Tue,  5 Sep 2017 16:57:37 -0500
> Tom Zanussi <tom.zanussi@linux.intel.com> wrote:
> 
> > The tracepoint infrastructure assumes statically-defined tracepoints
> > and uses static_keys for tracepoint enablement.  In order to define
> > tracepoints on the fly, we need to have a dynamic counterpart.
> 
> Do we?
> 
> I believe the static keys should work just fine if you don't have any
> defined static keys jumps, and they should work as a simple counter.
> 
> Could we do that instead of adding another variable to a structure that
> is defined over a thousand times? Save us 4k of memory.
> 

OK, yeah, makes sense if possible - let me look into that... 

Tom

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


Thread

[PATCH v2 25/40] tracing: Add support for dynamic tracepoints Tom Zanussi <tom.zanussi@linux.intel.com> - 2017-09-06 00:00 +0200
  Re: [PATCH v2 25/40] tracing: Add support for dynamic tracepoints Mathieu Desnoyers <mathieu.desnoyers@efficios.com> - 2017-09-06 01:30 +0200
    Re: [PATCH v2 25/40] tracing: Add support for dynamic tracepoints Tom Zanussi <tom.zanussi@linux.intel.com> - 2017-09-06 04:40 +0200
  Re: [PATCH v2 25/40] tracing: Add support for dynamic tracepoints Steven Rostedt <rostedt@goodmis.org> - 2017-09-08 00:10 +0200
    Re: [PATCH v2 25/40] tracing: Add support for dynamic tracepoints Tom Zanussi <tom.zanussi@linux.intel.com> - 2017-09-08 16:20 +0200

csiph-web