This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[patch] Obvious Fix?
- From: Dave Brolley <brolley at redhat dot com>
- To: systemtap at sources dot redhat dot com
- Date: Tue, 29 Jan 2008 17:20:37 -0500
- Subject: [patch] Obvious Fix?
Hi,
This appears to be an obvious fix to me, but I though that I would check
first given that I'm still new to the project.
Dave
Index: coveragedb.cxx
===================================================================
RCS file: /cvs/systemtap/src/coveragedb.cxx,v
retrieving revision 1.6
diff -c -p -r1.6 coveragedb.cxx
*** coveragedb.cxx 11 Jul 2007 15:48:29 -0000 1.6
--- coveragedb.cxx 29 Jan 2008 22:17:32 -0000
*************** void print_coverage_info(systemtap_sessi
*** 52,58 ****
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);
for (unsigned j=0; j<unused_probe_list.size(); ++j) {
for (unsigned k=0; k< unused_probe_list[j]->locations.size(); ++k)
clog << "probe: "
--- 52,58 ----
for (unsigned i=0; i<s.unused_probes.size(); i++) {
// walk through the chain of probes
vector<derived_probe*> 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: "
*************** sql_update_unused_probes(sqlite3 *db, sy
*** 241,247 ****
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);
for (unsigned j=0; j<unused_probe_list.size(); ++j) {
for (unsigned k=0; k< unused_probe_list[j]->locations.size(); ++k) {
--- 241,247 ----
for (unsigned i=0; i<s.unused_probes.size(); i++) {
// walk through the chain of probes
vector<derived_probe*> 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) {