summaryrefslogtreecommitdiffstats
path: root/stap.1.in
diff options
context:
space:
mode:
Diffstat (limited to 'stap.1.in')
-rw-r--r--stap.1.in11
1 files changed, 7 insertions, 4 deletions
diff --git a/stap.1.in b/stap.1.in
index c3ce0725..387fe640 100644
--- a/stap.1.in
+++ b/stap.1.in
@@ -646,10 +646,13 @@ with "$") are found and have their run-time locations decoded.
.PP
Next, all probes and functions are analyzed for optimization
opportunities, in order to remove variables, expressions, and
-functions that have no useful value and no side-effect. Since this
-process can hide latent code errors such as type mismatches or invalid
-$target variables, it sometimes may be useful to disable the
-optimizations with the
+functions that have no useful value and no side-effect. Embedded-C
+functions are assumed to have side-effects unless they include the
+magic string
+.BR /*\ pure\ */ .
+Since this optimization can hide latent code errors such as type
+mismatches or invalid $target variables, it sometimes may be useful
+to disable the optimizations with the
.BR \-u
option.
.PP