summaryrefslogtreecommitdiffstats
path: root/coveragedb.cxx
diff options
context:
space:
mode:
authorbrolley <brolley>2008-01-30 16:17:00 +0000
committerbrolley <brolley>2008-01-30 16:17:00 +0000
commit5657c32c8ae7d344ccf62549739e605f23d6e660 (patch)
tree7f167901fd35e23ee405b4f4aff9329926b4f3df /coveragedb.cxx
parent787abf66a1807e62f54b84732bcc6a12480db8ed (diff)
downloadsystemtap-steved-5657c32c8ae7d344ccf62549739e605f23d6e660.tar.gz
systemtap-steved-5657c32c8ae7d344ccf62549739e605f23d6e660.tar.xz
systemtap-steved-5657c32c8ae7d344ccf62549739e605f23d6e660.zip
2008-01-30 Dave Brolley <brolley@redhat.com>
* coveragedb.cxx (print_coverage_info): Fix typo: s.probes -> s.unused_probes where appropriate. (sql_update_unused_probes): Likewise.
Diffstat (limited to 'coveragedb.cxx')
-rw-r--r--coveragedb.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/coveragedb.cxx b/coveragedb.cxx
index bee84db9..6def56e7 100644
--- a/coveragedb.cxx
+++ b/coveragedb.cxx
@@ -52,7 +52,7 @@ void print_coverage_info(systemtap_session &s)
for (unsigned i=0; i<s.unused_probes.size(); i++) {
// walk through the chain of probes
vector<derived_probe*> unused_probe_list;
- s.probes[i]->collect_derivation_chain(unused_probe_list);
+ s.unused_probes[i]->collect_derivation_chain(unused_probe_list);
for (unsigned j=0; j<unused_probe_list.size(); ++j) {
for (unsigned k=0; k< unused_probe_list[j]->locations.size(); ++k)
clog << "probe: "
@@ -241,7 +241,7 @@ sql_update_unused_probes(sqlite3 *db, systemtap_session &s)
for (unsigned i=0; i<s.unused_probes.size(); i++) {
// walk through the chain of probes
vector<derived_probe*> unused_probe_list;
- s.probes[i]->collect_derivation_chain(unused_probe_list);
+ s.unused_probes[i]->collect_derivation_chain(unused_probe_list);
for (unsigned j=0; j<unused_probe_list.size(); ++j) {
for (unsigned k=0; k< unused_probe_list[j]->locations.size(); ++k) {