2015-02-04 09:49:20

by Wang Long

[permalink] [raw]
Subject: [PATCH] Documentation: add description for FTRACE probe status

Now kprobe status have four flags, so kprobes.txt
should reflect all of them.

Signed-off-by: Wang Long <[email protected]>
---
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.

--
1.8.3.4


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

(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 <[email protected]>

Acked-by: Masami Hiramatsu <[email protected]>

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: [email protected]

2015-02-04 21:06:27

by Jonathan Corbet

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

On Wed, 04 Feb 2015 19:42:03 +0900
Masami Hiramatsu <[email protected]> wrote:

> > Signed-off-by: Wang Long <[email protected]>
>
> Acked-by: Masami Hiramatsu <[email protected]>

Applied-to-docs-tree-by: me

Thanks,

jon