linux-newbie.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Bob.Wang" <merrysoft@tom.com>
To: linux-newbie@vger.kernel.org
Cc: linux-apps@vger.kernel.org, linux-bbs@vger.kernel.org
Subject: about kernel stack FP
Date: Thu, 18 Jul 2013 16:32:14 +0800	[thread overview]
Message-ID: <000101ce8391$4ec1e6b0$ec45b410$@com> (raw)

Hello everyone

I have meeted a problem with linux kernel 2.6.X.X that my user app wants to
get thread kernel stack frame ponter(FP)
from user space by system call or /proc system or any other ways except
driver. I do not want to write a driver,) to steal
FP from kernel. I have tried to use ptrace syscall to get FP with command
PTRACE_GETREGS, but It returns only user 
stack FP rather than kernel stack fp.

would anyone please to give me a hint to solve the problem.


thanks a lot.

regards

Bob Wang


                 reply	other threads:[~2013-07-18  8:32 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='000101ce8391$4ec1e6b0$ec45b410$@com' \
    --to=merrysoft@tom.com \
    --cc=linux-apps@vger.kernel.org \
    --cc=linux-bbs@vger.kernel.org \
    --cc=linux-newbie@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).