From: akpm@linux-foundation.org
To: ananth@in.ibm.com, mm-commits@vger.kernel.org
Subject: - kprobes-build-kretprobe-samples-only-if-arch-supports-kretprobes.patch removed from -mm tree
Date: Thu, 15 Nov 2007 18:16:46 -0800 [thread overview]
Message-ID: <200711160216.lAG2GkrT027473@imap1.linux-foundation.org> (raw)
The patch titled
Kprobes: Build kretprobe samples only if arch supports kretprobes
has been removed from the -mm tree. Its filename was
kprobes-build-kretprobe-samples-only-if-arch-supports-kretprobes.patch
This patch was dropped because Mathieu destroyed it
------------------------------------------------------
Subject: Kprobes: Build kretprobe samples only if arch supports kretprobes
From: Ananth N Mavinakayanahalli <ananth@in.ibm.com>
This patch builds samples/kprobes/kretprobe_example.c only on archs that
support kretprobes.
Signed-off-by: Ananth N Mavinakayanahalli <ananth@in.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
samples/kprobes/Makefile | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff -puN samples/kprobes/Makefile~kprobes-build-kretprobe-samples-only-if-arch-supports-kretprobes samples/kprobes/Makefile
--- a/samples/kprobes/Makefile~kprobes-build-kretprobe-samples-only-if-arch-supports-kretprobes
+++ a/samples/kprobes/Makefile
@@ -1,5 +1,8 @@
# builds the kprobes example kernel modules;
# then to use one (as root): insmod <module_name.ko>
-obj-$(CONFIG_SAMPLE_KPROBES) += kprobe_example.o jprobe_example.o \
- kretprobe_example.o
+obj-$(CONFIG_SAMPLE_KPROBES) += kprobe_example.o jprobe_example.o
+
+ifeq ($(CONFIG_ARCH_SUPPORTS_KRETPROBES),y)
+obj-$(CONFIG_SAMPLE_KPROBES) += kretprobe_example.o
+endif
_
Patches currently in -mm which might be from ananth@in.ibm.com are
move-kprobes-examples-to-samples-resend.patch
move-kprobes-examples-to-samples-resend-checkpatch-fixes.patch
kprobes-build-kretprobe-samples-only-if-arch-supports-kretprobes.patch
reply other threads:[~2007-11-16 2:17 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=200711160216.lAG2GkrT027473@imap1.linux-foundation.org \
--to=akpm@linux-foundation.org \
--cc=ananth@in.ibm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mm-commits@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.