summaryrefslogtreecommitdiffstats
path: root/stap.1.in
diff options
context:
space:
mode:
authorRajan Arora <rarora@redhat.com>2009-03-11 18:44:21 -0400
committerRajan Arora <rarora@redhat.com>2009-03-11 18:58:30 -0400
commit3bd0d4df7ccfd9afe7771441b26d8baaaf180e29 (patch)
treeb8195f2cb1b61dee52acd701a47723abb7ecb59c /stap.1.in
parente248aea9a04dd0d3c4e066afdca52176aaf9a536 (diff)
downloadsystemtap-steved-3bd0d4df7ccfd9afe7771441b26d8baaaf180e29.tar.gz
systemtap-steved-3bd0d4df7ccfd9afe7771441b26d8baaaf180e29.tar.xz
systemtap-steved-3bd0d4df7ccfd9afe7771441b26d8baaaf180e29.zip
PR 7071: Optional $context variables fix
* tapsets.cxx (dwarf_var_expanding_visitor::visit_target_symbol): Substitute erroneous target symbol with literal 0 if session level flag, skip_badvars is set. * session.h (struct systemtap_session): New flag: skip_badvars. * main.cxx: Command line argument --skip-badvars added. * stap.1.in: Entry for new option --skip-badvars. * NEWS: Added blurb for new option now available. * testsuite/semok/badvar.stp: Test case to check added functionality.
Diffstat (limited to 'stap.1.in')
-rw-r--r--stap.1.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/stap.1.in b/stap.1.in
index 546bebb8..5a2e35f9 100644
--- a/stap.1.in
+++ b/stap.1.in
@@ -230,6 +230,9 @@ nor the kernel debugging information can be found.
.TP
.B \-\-ignore\-dwarf
For testing, act as though vmlinux and modules lack debugging information.
+.TP
+.B \-\-skip\-badvars
+Ignore out of context variables and substitute with literal 0.
.SH ARGUMENTS