kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
* Kernel symbol naming rules
@ 2016-03-24 15:58 Wenda Ni
  2016-04-20 10:59 ` Nikolay Borisov
  0 siblings, 1 reply; 2+ messages in thread
From: Wenda Ni @ 2016-03-24 15:58 UTC (permalink / raw)
  To: kernelnewbies

Hi all,

When doing insmod, we find our function named "rxe_mem_alloc" is renamed as
"rxe_mem_alloc.isra.2" in kernel symbol table @ /proc/kallsyms

 I am curious why the kernel appends ".isra.2" to the original function.
Why this happens? What is this for?

Thank you for sharing your thoughts.


Cheers,

Wenda Ni, Ph.D.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20160324/d5ea074d/attachment.html 

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Kernel symbol naming rules
  2016-03-24 15:58 Kernel symbol naming rules Wenda Ni
@ 2016-04-20 10:59 ` Nikolay Borisov
  0 siblings, 0 replies; 2+ messages in thread
From: Nikolay Borisov @ 2016-04-20 10:59 UTC (permalink / raw)
  To: kernelnewbies



On 03/24/2016 05:58 PM, Wenda Ni wrote:
> Hi all,
> 
> When doing insmod, we find our function named "rxe_mem_alloc" is renamed as
> "rxe_mem_alloc.isra.2" in kernel symbol table @ /proc/kallsyms
> 
>  I am curious why the kernel appends ".isra.2" to the original function.
> Why this happens? What is this for?
> 
> Thank you for sharing your thoughts.

This is not kernel specific, rather it comes from the compiler, the
following stackoverflow answer puts it rather nicely:

http://stackoverflow.com/questions/18907580/what-is-isra-in-the-kernel-thread-dump


> 
> 
> Cheers,
> 
> Wenda Ni, Ph.D.
> 
> 
> 
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
> 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-04-20 10:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-24 15:58 Kernel symbol naming rules Wenda Ni
2016-04-20 10:59 ` Nikolay Borisov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).