]> sourceware.org Git - systemtap.git/commit
stap: unite all dumping modes into s.dump_mode
authorJonathan Lebon <jlebon@redhat.com>
Mon, 31 Mar 2014 20:11:27 +0000 (16:11 -0400)
committerJonathan Lebon <jlebon@redhat.com>
Tue, 1 Apr 2014 19:37:15 +0000 (15:37 -0400)
commitbba368c5c5feab138b872fa924b57856de32ba8d
treed3461991a7c2f25fee7b795cee53930da3952ca0
parentbf8a96820f58888322070a315aaa55ef950f2f44
stap: unite all dumping modes into s.dump_mode

Clean up the way dumping modes are implement. We create a new enum
member which tracks the type of dumping wanted. This enum handles all
stap invocations which do not directly handle a user-script:
-l/-L/--dump-probe-types/--dump-probe-aliases/--dump-functions. It also
allows us to clean up the cmdline_script/have_script hacks previously
used in switch handling.

The trickiest part about this patch is to now allow for the possibility
of s.user_file to be NULL throughout passes 1 and 2, which previously
always assumed a script was present.
csclient.cxx
elaborate.cxx
main.cxx
man/stap.1
session.cxx
session.h
tapsets.cxx
This page took 0.028121 seconds and 5 git commands to generate.