]> sourceware.org Git - systemtap.git/commit - tapsets.h
Move common CONFIG_UTRACE check to its own function.
authorDavid Smith <dsmith@redhat.com>
Fri, 18 Nov 2011 19:28:54 +0000 (13:28 -0600)
committerDavid Smith <dsmith@redhat.com>
Fri, 18 Nov 2011 19:28:54 +0000 (13:28 -0600)
commit5261f7ab82a4c5130e86d5ae3e3652515e7c92bc
tree13ce98667565396b8308d2131e015ab7855d41da
parent2db5adc1ea090630c2b87e1e8ce7b779f6e98639
Move common CONFIG_UTRACE check to its own function.

* tapsets.cxx (check_process_probe_kernel_support): New function.
  (dwarf_builder::build): Moved CONFIG_UTRACE check to
  check_process_probe_kernel_support() which we call instead.
* tapset-utrace.cxx (utrace_derived_probe::utrace_derived_probe): Call
  check_process_probe_kernel_support() instead of doing CONFIG_UTRACE
  check.
* tapsets.h: Declare check_process_probe_kernel_support().
tapset-utrace.cxx
tapsets.cxx
tapsets.h
This page took 0.024418 seconds and 5 git commands to generate.