Re: linux-next: Tree for Sep 7 (kernel/trace/trace_hwlat.c)

From: Steven Rostedt
Date: Wed Sep 07 2016 - 14:49:01 EST


On Wed, 7 Sep 2016 11:34:24 -0700
Randy Dunlap <rdunlap@xxxxxxxxxxxxx> wrote:


> Hm, now I get:
>
> ../kernel/trace/trace.c: In function 'tracing_set_tracer':
> ../kernel/trace/trace.c:4850:3: error: implicit declaration of function 'free_snapshot' [-Werror=implicit-function-declaration]
> free_snapshot(tr);
> ^
> ../kernel/trace/trace.c:4856:3: error: implicit declaration of function 'alloc_snapshot' [-Werror=implicit-function-declaration]
> ret = alloc_snapshot(tr);

Grumble.

OK, thanks for testing. The hwlat tracer actually only uses part of the
max trace infrastructure. I need to make a less trivial patch for this
fix.

Will send another one soon.

-- Steve