• T
    percpu: make percpu symbols in oprofile unique · b3e9f672
    Tejun Heo 提交于
    This patch updates percpu related symbols in oprofile 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.
    
    * drivers/oprofile/cpu_buffer.c: s/cpu_buffer/op_cpu_buffer/
    
    Partly based on Rusty Russell's "alloc_percpu: rename percpu vars
    which cause name clashes" patch.
    Signed-off-by: NTejun Heo <tj@kernel.org>
    Acked-by: NRobert Richter <robert.richter@amd.com>
    Cc: Rusty Russell <rusty@rustcorp.com.au>
    b3e9f672
oprofile_stats.c 2.3 KB