Re: [PATCH] Documentation: add description for FTRACE probe status

From: Masami Hiramatsu
Date: Wed Feb 04 2015 - 05:42:20 EST


(2015/02/04 18:43), Wang Long wrote:
> Now kprobe status have four flags, so kprobes.txt
> should reflect all of them.

Yes, it has been introduced by commit ae6aa16fdc163afe6b04b6c073ad4ddd4663c03b

>
> Signed-off-by: Wang Long <long.wanglong@xxxxxxxxxx>

Acked-by: Masami Hiramatsu <masami.hiramatsu.pt@xxxxxxxxxxx>

Thank you!

> ---
> Documentation/kprobes.txt | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/Documentation/kprobes.txt b/Documentation/kprobes.txt
> index 4227ec2..1488b65 100644
> --- a/Documentation/kprobes.txt
> +++ b/Documentation/kprobes.txt
> @@ -702,7 +702,8 @@ a virtual address that is no longer valid (module init sections, module
> virtual addresses that correspond to modules that've been unloaded),
> such probes are marked with [GONE]. If the probe is temporarily disabled,
> such probes are marked with [DISABLED]. If the probe is optimized, it is
> -marked with [OPTIMIZED].
> +marked with [OPTIMIZED]. If the probe is ftrace-based, it is marked with
> +[FTRACE].
>
> /sys/kernel/debug/kprobes/enabled: Turn kprobes ON/OFF forcibly.
>
>


--
Masami HIRAMATSU
Software Platform Research Dept. Linux Technology Research Center
Hitachi, Ltd., Yokohama Research Laboratory
E-mail: masami.hiramatsu.pt@xxxxxxxxxxx


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/