projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e531e90
)
tracing/histogram: Fix documentation inline emphasis warning
author
Kalesh Singh
<kaleshsingh@google.com>
Thu, 28 Oct 2021 17:05:48 +0000
(10:05 -0700)
committer
Steven Rostedt (VMware)
<rostedt@goodmis.org>
Fri, 29 Oct 2021 01:21:45 +0000
(21:21 -0400)
This fixes the warning:
Documentation/trace/histogram.rst:1766: WARNING: Inline emphasis
start-string without end-string
The issue was caused by an unescaped '*' character.
Link:
https://lore.kernel.org/all/20211028170548.2597449-1-kaleshsingh@google.com/T/#m77da47432f5cc6521d4294ffdb9621949cc35d04
Link:
https://lkml.kernel.org/r/20211028170548.2597449-1-kaleshsingh@google.com
Fixes: 2d2f6d4b8ce7 ("tracing/histogram: Document expression arithmetic and constants")
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Kalesh Singh <kaleshsingh@google.com>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Documentation/trace/histogram.rst
patch
|
blob
|
history
diff --git
a/Documentation/trace/histogram.rst
b/Documentation/trace/histogram.rst
index e12699abaee86560b2c10d7f06d25b15681366dc..66ec972dfb780e277d894e0e94561b419584fa34 100644
(file)
--- a/
Documentation/trace/histogram.rst
+++ b/
Documentation/trace/histogram.rst
@@
-1764,7
+1764,7
@@
using the same key and variable from yet another event::
# echo 'hist:key=pid:wakeupswitch_lat=$wakeup_lat+$switchtime_lat ...' >> event3/trigger
Expressions support the use of addition, subtraction, multiplication and
-division operators (+-*/).
+division operators (+-
\
*/).
Note that division by zero always returns -1.