tracing: Kill trace_cpu struct/members
commit9c01fe4593db123c5a72dc36f0400f776e92c954
authorOleg Nesterov <oleg@redhat.com>
Tue, 23 Jul 2013 15:26:13 +0000 (23 17:26 +0200)
committerSteven Rostedt <rostedt@rostedt.homelinux.com>
Wed, 24 Jul 2013 15:22:53 +0000 (24 11:22 -0400)
tree717207fb5fbd5b12c2aa7bba5457f79af18219a5
parent6484c71cbc170634fa131b6d022d86d61686b88b
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>
kernel/trace/trace.c
kernel/trace/trace.h