summaryrefslogtreecommitdiffstats
path: root/coveragedb.h
Commit message (Collapse)AuthorAgeFilesLines
* Remove the filename copy from token->locationJosh Stone2009-07-091-5/+6
| | | | | The location already has a pointer to a stapfile with the filename, so there's no need to keep an extra copy.
* Add Vim modelines for GNU style in stapJosh Stone2009-01-281-0/+1
|
* trailing whitespace removal, as approved by emacsFrank Ch. Eigler2008-08-281-2/+2
| | | | (add-hook 'before-save-hook 'delete-trailing-whitespace)
* 2007-07-08 William Cohen <wcohen@redhat.com>wcohen2007-07-071-5/+14
| | | | | | | | | | | | | | | | | | | | 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.
* 2007-06-26 William Cohen <wcohen@redhat.com>wcohen2007-06-261-0/+70
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.