Messages in this thread | | | Date | Tue, 26 Nov 2013 18:50:37 +0100 | From | Oleg Nesterov <> | Subject | modules, add_kallsyms() && DEFINE_PER_CPU |
| |
On 11/26, Oleg Nesterov wrote: > > Note: this doesn't work for modules, but module's per-cpu data is > not visible for kallsyms_lookup_name() anyway.
Rusty, I am just curious if it makes sense to change this or not...
But DEFINE_PER_CPU'ed symbols are ignored by add_kallsyms(). I guess this is because is_core_symbol() requires "sh_flags & SHF_ALLOC". And probably because of INIT_OFFSET_MASK.
Oleg.
| |