[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <tip-01bdee64f9cf8e15f998bf52789ed9d0ebdfa621@git.kernel.org>
Date: Fri, 22 Jun 2018 02:15:50 -0700
From: tip-bot for Masami Hiramatsu <tipbot@...or.com>
To: linux-tip-commits@...r.kernel.org
Cc: corbet@....net, torvalds@...ux-foundation.org, hpa@...or.com,
rdunlap@...radead.org, mhiramat@...nel.org, peterz@...radead.org,
rostedt@...dmis.org, linux-kernel@...r.kernel.org,
akpm@...ux-foundation.org, tglx@...utronix.de, mingo@...nel.org,
ananth@...ux.vnet.ibm.com
Subject: [tip:perf/core] kprobes/Documentation: Fix various typos
Commit-ID: 01bdee64f9cf8e15f998bf52789ed9d0ebdfa621
Gitweb: https://git.kernel.org/tip/01bdee64f9cf8e15f998bf52789ed9d0ebdfa621
Author: Masami Hiramatsu <mhiramat@...nel.org>
AuthorDate: Fri, 22 Jun 2018 15:07:40 +0900
Committer: Ingo Molnar <mingo@...nel.org>
CommitDate: Fri, 22 Jun 2018 11:10:55 +0200
kprobes/Documentation: Fix various typos
Fix typos and clean up the wording, with the help of Randy Dunlap.
Suggested-by: Randy Dunlap <rdunlap@...radead.org>
Signed-off-by: Masami Hiramatsu <mhiramat@...nel.org>
Cc: Ananth N Mavinakayanahalli <ananth@...ux.vnet.ibm.com>
Cc: Andrew Morton <akpm@...ux-foundation.org>
Cc: Jonathan Corbet <corbet@....net>
Cc: Linus Torvalds <torvalds@...ux-foundation.org>
Cc: Peter Zijlstra <peterz@...radead.org>
Cc: Steven Rostedt <rostedt@...dmis.org>
Cc: Thomas Gleixner <tglx@...utronix.de>
Cc: linux-arch@...r.kernel.org
Cc: linux-doc@...r.kernel.org
Link: http://lkml.kernel.org/r/20180622150740.bd26241032c972d86e23bf73@kernel.org
Signed-off-by: Ingo Molnar <mingo@...nel.org>
---
Documentation/kprobes.txt | 24 ++++++++++++------------
1 file changed, 12 insertions(+), 12 deletions(-)
diff --git a/Documentation/kprobes.txt b/Documentation/kprobes.txt
index 13d8efdb9718..10f4499e677c 100644
--- a/Documentation/kprobes.txt
+++ b/Documentation/kprobes.txt
@@ -83,22 +83,22 @@ Execution then continues with the instruction following the probepoint.
Changing Execution Path
-----------------------
-Since the kprobes can probe into a running kernel code, it can change
-the register set, including instruction pointer. This operation
-requires maximum attention, such as keeping the stack frame, recovering
-execution path etc. Since it is operated on running kernel and need deep
-knowladge of the archtecture and concurrent computing, you can easily
-shot your foot.
+Since kprobes can probe into a running kernel code, it can change the
+register set, including instruction pointer. This operation requires
+maximum care, such as keeping the stack frame, recovering the execution
+path etc. Since it operates on a running kernel and needs deep knowledge
+of computer architecture and concurrent computing, you can easily shoot
+your foot.
If you change the instruction pointer (and set up other related
-registers) in pre_handler, you must return !0 so that the kprobes
-stops single stepping and just returns to given address.
+registers) in pre_handler, you must return !0 so that kprobes stops
+single stepping and just returns to the given address.
This also means post_handler should not be called anymore.
-Note that this operation may be harder on some architectures which
-use TOC (Table of Contents) for function call, since you have to
-setup new TOC for your function in your module, and recover old
-one after back from it.
+Note that this operation may be harder on some architectures which use
+TOC (Table of Contents) for function call, since you have to setup a new
+TOC for your function in your module, and recover the old one after
+returning from it.
Return Probes
-------------
Powered by blists - more mailing lists