linux-mips
[Top] [All Lists]

[Q] MIPS: How to record the user stack backtrace in the kernel

To: linux-mips@linux-mips.org
Subject: [Q] MIPS: How to record the user stack backtrace in the kernel
From: Deng-Cheng Zhu <dengcheng.zhu@gmail.com>
Date: Sat, 5 Jun 2010 06:22:35 +0800
Cc: dengcheng.zhu@gmail.com
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:cc:content-type; bh=BtmlN0yNE3VgWRrldYqZ88uRBtvH+Svqwi6xthZW+t4=; b=cwiFCTzYia5D34sSJBYRKEmRpeiCIJWTOQPm/fhKQ1+P/PvdAgjzyhoOf+Rz0fqa0V K49Lmc1dvaYfTGcLkyWrn4Xv1fTzIqvuJDkevbXsabXhEhofRakISpSDn9umLLRb5/5S c9XubxlFgnWfN228GLhbCfj/CtlI2aN1gagZk=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:cc:content-type; b=BwFwTlVLE6lN/3GyxEaIkSS/6WO9gLkTNeVFZ+jYyf5w3xFpJmrXraSTXHXpymRYy0 DIrzzSCSBrCzMpxUvxNnjI2g3tPL8h2k1F38oulUvrfV93NL7IOQsHFm8cD5A+w3lAJy aPs7TdevPRc0XazQf77+KdHXXyXXX5H6KzzCs=
Sender: linux-mips-bounce@linux-mips.org
Hi, developers


In the kernel, we don't have frame unwinder to work on the user stack.
Given the different possible compiler flags, getting the backtrace for the
user stack is especially challenging. Certainly, I don't want symbols -
only to get a list of return addresses. Do you have any comments?


Thanks!

Deng-Cheng

<Prev in Thread] Current Thread [Next in Thread>