Skip to contentSkip to conversation

Documentation: add description for FTRACE probe status

PATCH In review Wang Long 3 participants 3 messages Feb 4, 2015 Documentation

lore
Share & tools
lore

Wang Long

author
#0 lore raw

PATCH 1/1 Documentation: add description for FTRACE probe status

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

---
 Documentation/kprobes.txt | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
Documentation/kprobes.txt +2 -1
index 4227ec2..1488b65 100644
@@ -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.
 
Signature · 1 line
1.8.3.4
Acked-by on v1 1/1
#1 lore raw
Quoted 2 lines · Wang Long

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

Yes, it has been introduced by commit ae6aa16fdc163afe6b04b6c073ad4ddd4663c03b

Quoted 2 lines

Thank you!

Quoted 19 lines
---
 Documentation/kprobes.txt | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
Documentation/kprobes.txt +2 -1
index 4227ec2..1488b65 100644
@@ -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.
 
Signature · 4 lines
Masami HIRAMATSU
Software Platform Research Dept. Linux Technology Research Center
Hitachi, Ltd., Yokohama Research Laboratory
E-mail: [email protected]