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

From: Tu, Xiaobing
Sent: Wednesday, April 11, 2012 4:07 PM
To: 'akpm@linux-foundation.org'; 'mingo@elte.hu'; 'rusty@rustcorp.com.au'; 'a.p.zijlstra@chello.nl'; 'linux-kernel@vger.kernel.org'; 'yanmin_zhang@linux.intel.com'; 'rostedt@goodmis.org'
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.

Br
Xiaobing


\
 
 \ /
  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