summaryrefslogtreecommitdiff
path: root/kernel/trace/ring_buffer.c
diff options
context:
space:
mode:
authorOleg Nesterov <oleg@redhat.com>2013-07-23 17:26:13 +0200
committerSteven Rostedt <rostedt@rostedt.homelinux.com>2013-07-24 11:22:53 -0400
commit9c01fe4593db123c5a72dc36f0400f776e92c954 (patch)
tree717207fb5fbd5b12c2aa7bba5457f79af18219a5 /kernel/trace/ring_buffer.c
parent6484c71cbc170634fa131b6d022d86d61686b88b (diff)
tracing: Kill trace_cpu struct/members
After the previous changes trace_array_cpu->trace_cpu and trace_array->trace_cpu becomes write-only. Remove these members and kill "struct trace_cpu" as well. As a side effect this also removes memset(per_cpu_memory, 0). It was not needed, alloc_percpu() returns zero-filled memory. Link: http://lkml.kernel.org/r/20130723152613.GA23741@redhat.com Signed-off-by: Oleg Nesterov <oleg@redhat.com> Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'kernel/trace/ring_buffer.c')
0 files changed, 0 insertions, 0 deletions