[lkml]   [2008]   [Aug]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: PATCH] debug: add notifier chain debugging
>> This breaks on ia64 (and pa-risc I think) where function pointers
>> don't point directly at the code, they point to a {code,data}
>> structure which is itself located in data space, not text space.
> is there a way to go to the actual address? I'm sure this is a bit more
> common.... (like kallsyms!)

See dereference_function_descriptor() in lib/vsprintf.c (where it will
be clear that my memory was wrong and that PPC64 is the other
architecture that needs this).

Perhaps this needs to be moved to some place in asm-generic so
that it can be used by code like your sanity check?


 \ /
  Last update: 2008-08-26 07:11    [W:0.035 / U:50.140 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site