summaryrefslogtreecommitdiffstats
path: root/coveragedb.cxx
Commit message (Collapse)AuthorAgeFilesLines
* PR10877: Fix coveragedb.cxx to account for new components/token structureCharley Wang2009-11-101-4/+4
|
* Add Vim modelines for GNU style in stapJosh Stone2009-01-281-0/+2
|
* PR6876: translator speedup for many $varsFrank Ch. Eigler2008-09-101-14/+16
|
* trailing whitespace removal, as approved by emacsFrank Ch. Eigler2008-08-281-2/+2
| | | | (add-hook 'before-save-hook 'delete-trailing-whitespace)
* 2008-02-13 Dave Brolley <brolley@redhat.com>brolley2008-02-131-4/+4
| | | | | | | | | | | | | | | | | PR5609 * staptree.h (probe::collect_derivation_chain): Now takes vector<probe*>. (probe::get_alias): New virtual method. * elaborate.h (derived_probe::collect_derivation_chain): Now takes vector<probe*>. * staptree.cxx (probe::collect_derivation_chain): Now takes vector<probe*>. Don't cast 'this' to (derived_probe*). * elaborate.cxx (derived_probe::collect_derivation_chain): Now takes vector<probe*>. (alias_derived_probe::get_alias): New virtual method. (alias_derived_probe::alias): New member. (alias_expansion_builder::build): Call checkForRecursiveExpansion and emit a diagnostic if recursion is detected. Pass alias to constructor of alias_derived_probe. (alias_expansion_builder::checkForRecursiveExpansion): New method. * coveragedb.cxx: Pass vector<probe*> on all calls to collect_derivation_chain.
* 2008-01-30 Dave Brolley <brolley@redhat.com>brolley2008-01-301-2/+2
| | | | | | * coveragedb.cxx (print_coverage_info): Fix typo: s.probes -> s.unused_probes where appropriate. (sql_update_unused_probes): Likewise.
* 2007-07-11 Frank Ch. Eigler <fche@elastic.org>fche2007-07-111-0/+4
| | | | | | | * configure.ac: Don't AC_MSG_ERROR if don't HAVE_LIBSQLITE3. * coveragedb.cxx: Compile to nothing unless HAVE_LIBSQLITE3. * main.cxx: Print no error message on -q if HAVE_LIBSQLITE3. * configure: Regenerated, looks rosier with HAVE_LIBSQLITE3.
* PR 4529wcohen2007-07-081-1/+1
| | | | * coveragedb.cxx (update_coverage_db): Make index "unique" to optimize.
* 2007-07-08 William Cohen <wcohen@redhat.com>wcohen2007-07-071-49/+94
| | | | | | | | | | | | | | | | | | | | PR 4529 * coveragedb.h (db_type): New enum for type column in coverage_element. (coverage_element): Remove removed column, change type to int. * coveragedb.cxx (has_table, has_index): New. (update_coverage_db): Use has_table, has_index. (enter_element): Change for new table format. (increment_element): Ditto. (sql_update_used_probes): Ditto. (sql_update_unused_probes): Ditto. (sql_update_used_functions): Ditto. (sql_update_unused_functions): Ditto. (sql_update_used_globals): Ditto. (sql_update_unused_globals): Ditto. (update_coverage_db): Ditto. (print_coverage_info(systemtap_session): Relocate vector. (sql_update_used_probes): Ditto. (sql_update_unused_probes): Ditto.
* PR 4717wcohen2007-07-021-0/+1
| | | | | From Eugeniy Meshcheryakov <eugen@debian.org> * staptree.cxx: Add #include <cstdlib> for gcc 4.3.
* PR 4529wcohen2007-06-291-13/+10
| | | | | | | | | | * configure.ac: * Makefile.am: Limit where sqlite3 linked in. * configure: * Makefile.in: Regenerate. * coveragedb.cxx (update_coverage_db): Remove unneeded print. * coveragedb.cxx (increment_element): Correct formatting.
* 2007-06-26 William Cohen <wcohen@redhat.com>wcohen2007-06-261-0/+322
PR 4529 * coveragedb.cxx: New. * coveragedb.h: New. * Makefile.am: Add coveragedb.cxx and sqlite3 to build. * Makefile.in: Regenerated. * configure.ac: Add test for sqlite3 * configure: Regenerated. * systemtap.spec.in: Add dependencies for sqlite3/sqlite3-devel. * elaborate.h, elaborate.cxx (derived_probe::collect_derivation_chain): New. (alias_expansion_builder::build): Correct token location. (semantic_pass_opt[12): Track used and unused variables/functions. * session.h (tapset_compile_coverage, unused_globals, unused_probes, unused_functions): New fields. * staptree.h (unused_locals, probe_point::str): New member. * staptree.cxx: Ditto. * main.cxx: Add "-q" tapset coverage option and SYSTEMTAP_COVERAGE env.