From: Paul Mundt <lethal@linux-sh.org>
To: jidong xiao <jidong.xiao@gmail.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: What's does KPROBE_ENTRY mean?
Date: Thu, 26 Jul 2007 15:11:17 +0900 [thread overview]
Message-ID: <20070726061117.GA25926@linux-sh.org> (raw)
In-Reply-To: <4104961b0707252243l41addce8wca35d19c5de729ee@mail.gmail.com>
On Thu, Jul 26, 2007 at 01:43:10PM +0800, jidong xiao wrote:
> Anyone can help this?
>
> On 6/21/07, jidong xiao <jidong.xiao@gmail.com> wrote:
> > I searched in linux kernel 2.6.10, didn't find it, then I tried
> > 2.6.20, it is there. But I am not familiar with assembly language, so
> > can anybody kindly explain it, I don't know the difference between
> > KPROBE_ENTRY and ENTRY, however, I can find both of these items in
> > some files, such as arch/x86_64/kernel/entry.S.
> >
KPROBE_ENTRY() is the assembly equivalent of __kprobes, it places the
symbol in a special section (.kprobes.text) where probes can't be
inserted. This is usually helpful in cases where inserting the probe may
lead to recursion or other undesirable behaviour.
See include/linux/linkage.h and include/linux/kprobes.h.
next prev parent reply other threads:[~2007-07-26 6:11 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-21 5:13 What's does KPROBE_ENTRY mean? jidong xiao
2007-07-26 5:43 ` jidong xiao
2007-07-26 6:11 ` Paul Mundt [this message]
2007-07-26 6:50 ` jidong xiao
2007-07-26 7:06 ` Paul Mundt
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=20070726061117.GA25926@linux-sh.org \
--to=lethal@linux-sh.org \
--cc=jidong.xiao@gmail.com \
--cc=linux-kernel@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