diff options
author | 2015-11-10 05:15:15 +0800 | |
---|---|---|
committer | 2015-11-10 10:16:05 -0500 | |
commit | e428abbbf616cd8fdd1162e4a624ad1d47b47544 (patch) | |
tree | 1c8bbd0d8b22a264dcc35827892a950894e504c8 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | tracing: Remove unused ftrace_cpu_disabled per cpu variable (diff) | |
download | wireguard-linux-e428abbbf616cd8fdd1162e4a624ad1d47b47544.tar.xz wireguard-linux-e428abbbf616cd8fdd1162e4a624ad1d47b47544.zip |
tracing: #ifdef out uses of max trace when CONFIG_TRACER_MAX_TRACE is not set
tracing_max_lat_fops is used only when TRACER_MAX_TRACE enabled, so also
swith the related code. The related warning with defconfig under x86_64:
CC kernel/trace/trace.o
kernel/trace/trace.c:5466:37: warning: ‘tracing_max_lat_fops’ defined but not used [-Wunused-const-variable]
static const struct file_operations tracing_max_lat_fops = {
Signed-off-by: Chen Gang <gang.chen.5i5j@gmail.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions