lkml.org 
[lkml]   [2012]   [Apr]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC 1/2] kernel patch for dump user space stack tool
On 04/17/2012 10:37 PM, Tu, Xiaobing wrote:
> Resend the patch because of the log is too long on a single line.
>
> From: xiaobing tu<xiaobing.tu@intel.com>
>
> Here is the kernel patch for this tool, The idea is to output user space stack call-chain from
> /proc/xxx/stack, currently, /proc/xxx/stack only output kernel stack call chain. We extend
> it to output user space call chain in hex format
>

Can you teach me why we still need this as we have pstack?

~% pstack $$
#0 0x00000036ae2365da in sigsuspend () from /lib64/libc.so.6
#1 0x0000000000472c25 in signal_suspend ()
#2 0x0000000000443323 in ?? ()
#3 0x0000000000443be6 in waitjobs ()
#4 0x000000000042b6d3 in ?? ()
#5 0x000000000042c0bd in execlist ()
#6 0x000000000042c64f in execode ()
#7 0x000000000043cd32 in loop ()
#8 0x000000000043fb36 in zsh_main ()
#9 0x00000036ae22169d in __libc_start_main () from /lib64/libc.so.6
#10 0x000000000040e571 in _start ()
Thanks!


\
 
 \ /
  Last update: 2012-04-19 05:55    [from the cache]
©2003-2011 Jasper Spaans