about backtrace!
Frank Ch. Eigler
fche@redhat.com
Mon May 1 14:23:00 GMT 2006
"Kevin Jia" <jiaminghao@gmail.com> writes:
> [...]
> trace for 3730 (bash)
> 0xc01232d5 : put_files_struct+0x7/0xbf []
> 0xc0174bc0 : flush_old_exec+0x65/0x368 []
> 0xc0174642 : kernel_read+0x31/0x3b []
> [...]
> So, my question is:
> 1. what address is the front address?
It is a PC value saved in the stack, and identifies the call site.
> 2. what is mean of the last "+0x7/0xb"...?
It is description of that PC value within the function: 0x7 bytes into
the function, which is 0xb bytes long.
> 3. Named backtrace, so in my option, syscall_call call sys_execve then
> sys_execve call do_execve, ...... the last flush_old_ thread call is
> flush_thread. right?
Correct, the order is from innermost to outermost caller.
- FChE
More information about the Systemtap
mailing list