diff options
author | Chen Gang <gang.chen.5i5j@gmail.com> | 2015-11-10 05:15:15 +0800 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2015-11-10 10:16:05 -0500 |
commit | e428abbbf616cd8fdd1162e4a624ad1d47b47544 (patch) | |
tree | 1c8bbd0d8b22a264dcc35827892a950894e504c8 /samples | |
parent | 03e88ae6b369da2a26a6e09ad165e57d210789cd (diff) | |
download | linux-e428abbbf616cd8fdd1162e4a624ad1d47b47544.tar.bz2 |
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 'samples')
0 files changed, 0 insertions, 0 deletions