diff options
Diffstat (limited to 'kernel/trace')
-rw-r--r-- | kernel/trace/blktrace.c | 2 | ||||
-rw-r--r-- | kernel/trace/ftrace.c | 2 | ||||
-rw-r--r-- | kernel/trace/ring_buffer.c | 1 | ||||
-rw-r--r-- | kernel/trace/trace_events.c | 6 | ||||
-rw-r--r-- | kernel/trace/trace_stack.c | 1 |
5 files changed, 12 insertions, 0 deletions
diff --git a/kernel/trace/blktrace.c b/kernel/trace/blktrace.c index 959f8d6c8cc1..2d5f3a757316 100644 --- a/kernel/trace/blktrace.c +++ b/kernel/trace/blktrace.c | |||
@@ -326,6 +326,7 @@ static const struct file_operations blk_dropped_fops = { | |||
326 | .owner = THIS_MODULE, | 326 | .owner = THIS_MODULE, |
327 | .open = blk_dropped_open, | 327 | .open = blk_dropped_open, |
328 | .read = blk_dropped_read, | 328 | .read = blk_dropped_read, |
329 | .llseek = default_llseek, | ||
329 | }; | 330 | }; |
330 | 331 | ||
331 | static int blk_msg_open(struct inode *inode, struct file *filp) | 332 | static int blk_msg_open(struct inode *inode, struct file *filp) |
@@ -365,6 +366,7 @@ static const struct file_operations blk_msg_fops = { | |||
365 | .owner = THIS_MODULE, | 366 | .owner = THIS_MODULE, |
366 | .open = blk_msg_open, | 367 | .open = blk_msg_open, |
367 | .write = blk_msg_write, | 368 | .write = blk_msg_write, |
369 | .llseek = noop_llseek, | ||
368 | }; | 370 | }; |
369 | 371 | ||
370 | /* | 372 | /* |
diff --git a/kernel/trace/ftrace.c b/kernel/trace/ftrace.c index fa7ece649fe1..5e1ad4763090 100644 --- a/kernel/trace/ftrace.c +++ b/kernel/trace/ftrace.c | |||
@@ -800,6 +800,7 @@ static const struct file_operations ftrace_profile_fops = { | |||
800 | .open = tracing_open_generic, | 800 | .open = tracing_open_generic, |
801 | .read = ftrace_profile_read, | 801 | .read = ftrace_profile_read, |
802 | .write = ftrace_profile_write, | 802 | .write = ftrace_profile_write, |
803 | .llseek = default_llseek, | ||
803 | }; | 804 | }; |
804 | 805 | ||
805 | /* used to initialize the real stat files */ | 806 | /* used to initialize the real stat files */ |
@@ -2632,6 +2633,7 @@ static const struct file_operations ftrace_graph_fops = { | |||
2632 | .read = seq_read, | 2633 | .read = seq_read, |
2633 | .write = ftrace_graph_write, | 2634 | .write = ftrace_graph_write, |
2634 | .release = ftrace_graph_release, | 2635 | .release = ftrace_graph_release, |
2636 | .llseek = seq_lseek, | ||
2635 | }; | 2637 | }; |
2636 | #endif /* CONFIG_FUNCTION_GRAPH_TRACER */ | 2638 | #endif /* CONFIG_FUNCTION_GRAPH_TRACER */ |
2637 | 2639 | ||
diff --git a/kernel/trace/ring_buffer.c b/kernel/trace/ring_buffer.c index 492197e2f86c..3aea966d16de 100644 --- a/kernel/trace/ring_buffer.c +++ b/kernel/trace/ring_buffer.c | |||
@@ -3965,6 +3965,7 @@ static const struct file_operations rb_simple_fops = { | |||
3965 | .open = tracing_open_generic, | 3965 | .open = tracing_open_generic, |
3966 | .read = rb_simple_read, | 3966 | .read = rb_simple_read, |
3967 | .write = rb_simple_write, | 3967 | .write = rb_simple_write, |
3968 | .llseek = default_llseek, | ||
3968 | }; | 3969 | }; |
3969 | 3970 | ||
3970 | 3971 | ||
diff --git a/kernel/trace/trace_events.c b/kernel/trace/trace_events.c index 4c758f146328..0369c5e09984 100644 --- a/kernel/trace/trace_events.c +++ b/kernel/trace/trace_events.c | |||
@@ -951,6 +951,7 @@ static const struct file_operations ftrace_enable_fops = { | |||
951 | .open = tracing_open_generic, | 951 | .open = tracing_open_generic, |
952 | .read = event_enable_read, | 952 | .read = event_enable_read, |
953 | .write = event_enable_write, | 953 | .write = event_enable_write, |
954 | .llseek = default_llseek, | ||
954 | }; | 955 | }; |
955 | 956 | ||
956 | static const struct file_operations ftrace_event_format_fops = { | 957 | static const struct file_operations ftrace_event_format_fops = { |
@@ -963,29 +964,34 @@ static const struct file_operations ftrace_event_format_fops = { | |||
963 | static const struct file_operations ftrace_event_id_fops = { | 964 | static const struct file_operations ftrace_event_id_fops = { |
964 | .open = tracing_open_generic, | 965 | .open = tracing_open_generic, |
965 | .read = event_id_read, | 966 | .read = event_id_read, |
967 | .llseek = default_llseek, | ||
966 | }; | 968 | }; |
967 | 969 | ||
968 | static const struct file_operations ftrace_event_filter_fops = { | 970 | static const struct file_operations ftrace_event_filter_fops = { |
969 | .open = tracing_open_generic, | 971 | .open = tracing_open_generic, |
970 | .read = event_filter_read, | 972 | .read = event_filter_read, |
971 | .write = event_filter_write, | 973 | .write = event_filter_write, |
974 | .llseek = default_llseek, | ||
972 | }; | 975 | }; |
973 | 976 | ||
974 | static const struct file_operations ftrace_subsystem_filter_fops = { | 977 | static const struct file_operations ftrace_subsystem_filter_fops = { |
975 | .open = tracing_open_generic, | 978 | .open = tracing_open_generic, |
976 | .read = subsystem_filter_read, | 979 | .read = subsystem_filter_read, |
977 | .write = subsystem_filter_write, | 980 | .write = subsystem_filter_write, |
981 | .llseek = default_llseek, | ||
978 | }; | 982 | }; |
979 | 983 | ||
980 | static const struct file_operations ftrace_system_enable_fops = { | 984 | static const struct file_operations ftrace_system_enable_fops = { |
981 | .open = tracing_open_generic, | 985 | .open = tracing_open_generic, |
982 | .read = system_enable_read, | 986 | .read = system_enable_read, |
983 | .write = system_enable_write, | 987 | .write = system_enable_write, |
988 | .llseek = default_llseek, | ||
984 | }; | 989 | }; |
985 | 990 | ||
986 | static const struct file_operations ftrace_show_header_fops = { | 991 | static const struct file_operations ftrace_show_header_fops = { |
987 | .open = tracing_open_generic, | 992 | .open = tracing_open_generic, |
988 | .read = show_header, | 993 | .read = show_header, |
994 | .llseek = default_llseek, | ||
989 | }; | 995 | }; |
990 | 996 | ||
991 | static struct dentry *event_trace_events_dir(void) | 997 | static struct dentry *event_trace_events_dir(void) |
diff --git a/kernel/trace/trace_stack.c b/kernel/trace/trace_stack.c index a6b7e0e0f3eb..4c5dead0c239 100644 --- a/kernel/trace/trace_stack.c +++ b/kernel/trace/trace_stack.c | |||
@@ -195,6 +195,7 @@ static const struct file_operations stack_max_size_fops = { | |||
195 | .open = tracing_open_generic, | 195 | .open = tracing_open_generic, |
196 | .read = stack_max_size_read, | 196 | .read = stack_max_size_read, |
197 | .write = stack_max_size_write, | 197 | .write = stack_max_size_write, |
198 | .llseek = default_llseek, | ||
198 | }; | 199 | }; |
199 | 200 | ||
200 | static void * | 201 | static void * |