[lkml]   [2012]   [Apr]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subject[RFC 0/2] dump user space stack
Resend as linux-kernel kicked it back.

From: Tu, Xiaobing
Sent: Wednesday, April 11, 2012 4:07 PM
To: ''; ''; ''; ''; ''; ''; ''
Cc: Zuo, Jiao
Subject: [RFC 0/2] dump user space stack
Importance: High

  We often need user space stack call-chain information when debugging hard issues. Here is a prototype and it could work well on X86 architecture.
         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
With hex format.
    In user space, we implement a backtrace tool, it read kernel space and user space stack call chain from /proc/xxx/stack, and converts the hex format into symbols., we tested it on i386/i686 and x86-64. It works well.


 \ /
  Last update: 2012-04-11 10:21    [W:0.028 / U:2.296 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site