task_struct related query

Rajat Jain rajatjain at juniper.net
Wed Feb 16 02:27:35 EST 2011


> when a process executes a function  , is there any way  by which i can > 
> figure out the reference to that function or any footprint of that 
> function via task_struct (current)?

Do you want to know the currently executing functions? You can always get the current stack frame (whether in user space or in kernel space) from the stack pointer.

Thanks,

Rajat



More information about the Kernelnewbies mailing list