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


Groups > linux.kernel > #1481323 > unrolled thread

Re: [PATCH] tracing/hwlat: select TRACER_MAX_TRACE

Started bySteven Rostedt <rostedt@goodmis.org>
First post2016-09-12 16:10 +0200
Last post2016-09-12 16:10 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH] tracing/hwlat: select TRACER_MAX_TRACE Steven Rostedt <rostedt@goodmis.org> - 2016-09-12 16:10 +0200

#1481323 — Re: [PATCH] tracing/hwlat: select TRACER_MAX_TRACE

FromSteven Rostedt <rostedt@goodmis.org>
Date2016-09-12 16:10 +0200
SubjectRe: [PATCH] tracing/hwlat: select TRACER_MAX_TRACE
Message-ID<sgA5Q-4ka-29@gated-at.bofh.it>
On Wed,  7 Sep 2016 18:08:31 +0200
Arnd Bergmann <arnd@arndb.de> wrote:

> hwlat_trace cannot work without CONFIG_TRACER_MAX_TRACE:
> 
> kernel/trace/trace_hwlat.c: In function 'get_sample':
> kernel/trace/trace_hwlat.c:258:18: error: 'struct trace_array' has no member named 'max_latency'; did you mean 'max_lock'?
>    if (sample > tr->max_latency)
>                   ^~
> kernel/trace/trace_hwlat.c:259:6: error: 'struct trace_array' has no member named 'max_latency'; did you mean 'max_lock'?
>     tr->max_latency = sample;
>       ^~
> kernel/trace/trace_hwlat.c: In function 'hwlat_tracer_init':
> kernel/trace/trace_hwlat.c:583:4: error: 'struct trace_array' has no member named 'max_latency'; did you mean 'max_lock'?
>   tr->max_latency = 0;
> 
> We also have to enable CONFIG_TRACER_SNAPSHOT, which in turn
> is a dependency of CONFIG_TRACER_MAX_TRACE.

Hi Arnd,

Thanks.

Randy Dunlap already reported this, and it's been fixed. I just
finished testing and it will be uploaded today. The real fix was posted
in the thread here:

http://lkml.kernel.org/r/d6c3b7eb-ba95-1ffa-0453-464e1e24262a@infradead.org

-- Steve

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web