This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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) {
  

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]