Re: linux-next: Tree for Sep 7 (kernel/trace/trace_hwlat.c)
From: Randy Dunlap
Date: Wed Sep 07 2016 - 14:34:33 EST
On 09/07/16 09:44, Steven Rostedt wrote:
> Thanks!
>
> Below is the fix. I'll have to add it.
>
> -- Steve
>
>
> diff --git a/kernel/trace/Kconfig b/kernel/trace/Kconfig
> index 72c07c2ffd79..d9000a81960e 100644
> --- a/kernel/trace/Kconfig
> +++ b/kernel/trace/Kconfig
> @@ -224,6 +224,7 @@ config SCHED_TRACER
> config HWLAT_TRACER
> bool "Tracer to detect hardware latencies (like SMIs)"
> select GENERIC_TRACER
> + select TRACER_MAX_TRACE
> help
> This tracer, when enabled will create one or more kernel threads,
> depening on what the cpumask file is set to, which each thread
>
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);
^
--
~Randy