Re: Identifying functions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



not sure what u mean.   but i think what u are asking is how to find
out at any point, when the CPU is stopped, which part of the kernel it
is executing at that point, right?

One way, how programmers can find that out is to do stack dump.  The
function is dump_stack() in the kernel source.   but to understand the
meaning of the stack dump, u need to know how the stack is organized,
frame pointer and it usage by GCC, stack frame per function called,
what is stack walking etc.   Not really pertaining to kernel, but more
on general computer science concepts.

On Mon, Aug 11, 2008 at 10:58 PM, Rohit Sharma <imreckless@xxxxxxxxx> wrote:
> i need to find out which function is being executed currently.
>
> On Mon, Aug 11, 2008 at 8:20 PM, Rohit Sharma <imreckless@xxxxxxxxx> wrote:
>> Is there a way to find out which function is being called
>> by examining executabls files or binary files ?
>>
>> i think we can do that but not able to figure out how.
>>
>
> --
> To unsubscribe from this list: send an email with
> "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
> Please read the FAQ at http://kernelnewbies.org/FAQ
>
>



-- 
Regards,
Peter Teoh

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux