• Tejun Heo's avatar
    percpu: make percpu symbols in oprofile unique · b3e9f672
    Tejun Heo authored
    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: default avatarTejun Heo <tj@kernel.org>
    Acked-by: default avatarRobert Richter <robert.richter@amd.com>
    Cc: Rusty Russell <rusty@rustcorp.com.au>
    b3e9f672
cpu_buffer.h 2.81 KB