login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
June
»
23
Re: [PATCH 2/4] kprobes: enable clean usage of get_kprobe
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
[view in full thread]
From:
Ananth N Mavinakayanahalli <ananth@...>
To: Abhishek Sagar <sagar.abhishek@...>
Cc: Steven Rostedt <rostedt@...>, Ingo Molnar <mingo@...>, Masami Hiramatsu <mhiramat@...>, <jkenisto@...>, Thomas Gleixner <tglx@...>, LKML <linux-kernel@...>
Subject:
Re: [PATCH 2/4] kprobes: enable clean usage of get_kprobe
Date: Monday, June 23, 2008 - 12:29 am
On Sat, Jun 21, 2008 at 11:47:39PM +0530, Abhishek Sagar wrote:
quoted text
> Allow clean use of get_kprobe() outside of core kprobe code. Ftrace makes use > of get_kprobe to identify probes installed on mcount call-sites. > > Signed-off-by: Abhishek Sagar <sagar.abhishek@gmail.com>
Acked-by: Ananth N Mavinakayanahalli <ananth@in.ibm.com>
quoted text
> --- > > diff --git a/include/linux/kprobes.h b/include/linux/kprobes.h > index 1036631..04a3556 100644 > --- a/include/linux/kprobes.h > +++ b/include/linux/kprobes.h > @@ -259,6 +259,10 @@ void recycle_rp_inst(struct kretprobe_instance *ri, struct hlist_head *head); > struct jprobe; > struct kretprobe; > > +static inline struct kprobe *get_kprobe(void *addr) > +{ > + return NULL; > +} > static inline struct kprobe *kprobe_running(void) > { > return NULL;
--
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
Messages in current thread:
[PATCH 2/4] kprobes: enable clean usage of get_kprobe
, Abhishek Sagar
, (Sat Jun 21, 2:17 pm)
Re: [PATCH 2/4] kprobes: enable clean usage of get_kprobe
, Ananth N Mavinakayanahalli...
, (Mon Jun 23, 12:29 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
david
Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
Greg Kroah-Hartman
[PATCH 001/196] Chinese: Add the known_regression URI to the HOWTO
Justin C. Sherrill
Mailing list archive
Ingo Molnar
[patch 08/13] syslets: x86, add move_user_context() method
git
:
linux-netdev
:
Steven Rostedt
Re: -rt scheduling: wakeup bug?
David Miller
[GIT]: Networking
Jarek Poplawski
Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Gerrit Renker
[PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side)
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
14 users
and
944 guests
online.
Online users
strcmp
AriLeverettGi78
licassar
zeekec
tomleyton
simonsil99
Johann43kondt
bushirenynt
laptopsetlczw
michellestarl27
childrensfurni
electricpatioh
loanschicagopx
torontomortgag
Syndicate