]> sourceware.org Git - systemtap.git/commit
PR17858: Just warn and continue for stapdyn unknown globals
authorJosh Stone <jistone@redhat.com>
Fri, 23 Jan 2015 22:46:03 +0000 (14:46 -0800)
committerJosh Stone <jistone@redhat.com>
Fri, 23 Jan 2015 22:46:03 +0000 (14:46 -0800)
commit8f34d871e1c5382fe4cb59a4b474303281586d65
tree273cba2822aa918f5bd9c8d7cedbef05700c40c8
parent39495c1c73a25c2244ac8667a4a66a15c775a446
PR17858: Just warn and continue for stapdyn unknown globals

With staprun modules, the kernel just noted the unknown module option in
dmesg, and everything continues.  For stapdyn, we were getting a warning
which set enough of an error state to skip the rest of initialization,
including begin probes, but not enough to exit the script.  Now unknown
options just warn without setting error state, but invalid options like
bad number formats will set an error and properly exit.
runtime/dyninst/session_attributes.c
stapdyn/mutator.cxx
testsuite/systemtap.base/global_opt_invalid.exp [new file with mode: 0644]
testsuite/systemtap.base/global_opt_unknown.exp [new file with mode: 0644]
This page took 0.029372 seconds and 5 git commands to generate.