diff options
author | Tejun Heo <tj@kernel.org> | 2009-10-29 14:34:13 +0100 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2009-10-29 14:34:13 +0100 |
commit | 9705f69ed0a5ef593f45e618bcb3cbfdbf391f64 (patch) | |
tree | 18db802e8a985d6f7427e0949aea2e08f53ff2a8 /block | |
parent | percpu: make percpu symbols under kernel/ and mm/ unique (diff) | |
download | linux-9705f69ed0a5ef593f45e618bcb3cbfdbf391f64.tar.xz linux-9705f69ed0a5ef593f45e618bcb3cbfdbf391f64.zip |
percpu: make percpu symbols in tracer unique
This patch updates percpu related symbols in kernel tracer such that
percpu symbols are unique and don't clash with local symbols. This
serves two purposes of decreasing the possibility of global percpu
symbol collision and allowing dropping per_cpu__ prefix from percpu
symbols.
* kernel/trace/trace.c: s/max_data/max_tr_data/
* kernel/trace/trace_hw_branches: s/tracer/hwb_tracer/, s/buffer/hwb_buffer/
Partly based on Rusty Russell's "alloc_percpu: rename percpu vars
which cause name clashes" patch.
Signed-off-by: Tejun Heo <tj@kernel.org>
Acked-by: Steven Rostedt <rostedt@goodmis.org>
Cc: Rusty Russell <rusty@rustcorp.com.au>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@redhat.com>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions