> -Original Message-
> From: Masami Hiramatsu [mailto:masami.hiramatsu...@hitachi.com]
> Sent: Sunday, October 20, 2013 12:00 AM
> To: Liuyongan
> Cc: linux-kernel@vger.kernel.org; Qianhuibin
> Subject: Re: kprobe pre_handler change return IP
>
> (2013/10/17
(2013/10/17 21:57), Liuyongan wrote:
> I use kprobe to probe a function suppose:
> int is_winter(int num) { ... }
> int replace_is_winter(int num) { ...}
> I want to replace is_winter() with replace_is_winter(), so when we call
> is_winter, replace_is_winter will be called.
>
I use kprobe to probe a function suppose:
int is_winter(int num) { ... }
int replace_is_winter(int num) { ...}
I want to replace is_winter() with replace_is_winter(), so when we call
is_winter, replace_is_winter will be called.
3 matches
Mail list logo