]> sourceware.org Git - systemtap.git/commit - staptree.cxx
Consolidate print_format creation
authorJosh Stone <jistone@redhat.com>
Tue, 13 Oct 2009 23:57:38 +0000 (16:57 -0700)
committerJosh Stone <jistone@redhat.com>
Tue, 13 Oct 2009 23:57:38 +0000 (16:57 -0700)
commitd5e178c1d6eb0e7c1a317b925687050aa1cb6c1b
tree0d46cafccc4518b81b6462b59333dca0fe5eca63
parent42b2e52658603d3e1384a909ad816d05529fc1d3
Consolidate print_format creation

We almost had a factory in print_format::parse_print, so let's take that
the rest of the way.  This way we don't have so much duplication in
initializing the print flags.

* staptree.cxx (print_format::parse_print): Replaced with...
  (print_format::create): New factory to parse and create print_formats.
* elaborate.cxx (add_global_var_display): Use this factory.
* parse.cxx (parser::parse_symbol): Ditto.
* tapset-mark.cxx
  (mark_var_expanding_visitor::visit_target_symbol_context): Ditto.
* tapset-utrace.cxx
  (utrace_var_expanding_visitor::visit_target_symbol_arg): Ditto.
* tapsets.cxx
  (dwarf_var_expanding_visitor::visit_target_symbol_context): Ditto.
  (tracepoint_var_expanding_visitor::visit_target_symbol_context) Ditto.
elaborate.cxx
parse.cxx
staptree.cxx
staptree.h
tapset-mark.cxx
tapset-utrace.cxx
tapsets.cxx
This page took 0.028536 seconds and 5 git commands to generate.