]> sourceware.org Git - systemtap.git/commitdiff
Removed (unused) consult_symtab and kernel_symtab_path session variables
authorLukas Berk <lberk@redhat.com>
Fri, 29 Nov 2013 22:03:46 +0000 (17:03 -0500)
committerLukas Berk <lberk@redhat.com>
Fri, 29 Nov 2013 22:03:46 +0000 (17:03 -0500)
* session.cxx - remove consult_symtab
* session.h   - remove consult_symtab and kernel_symtab_path
* tapsets.cxx - remove consult_symtab

session.cxx
session.h
tapsets.cxx

index cbce3b9f4eee6877df422bb90b9953bb17d6b8a7..bf652482a1960fda74b15103209b16007d828285 100644 (file)
@@ -146,7 +146,6 @@ systemtap_session::systemtap_session ():
   need_unwind = false;
   need_symbols = false;
   uprobes_path = "";
-  consult_symtab = false;
   load_only = false;
   skip_badvars = false;
   privilege = pr_stapdev;
@@ -327,7 +326,6 @@ systemtap_session::systemtap_session (const systemtap_session& other,
   need_unwind = false;
   need_symbols = false;
   uprobes_path = "";
-  consult_symtab = other.consult_symtab;
   load_only = other.load_only;
   skip_badvars = other.skip_badvars;
   privilege = other.privilege;
index 76ccedd77f54ffe72ea0a16f3b64ff591ce88d2b..ee467b856a6bc842432177702f2f10a15fd45bfc 100644 (file)
--- a/session.h
+++ b/session.h
@@ -282,10 +282,6 @@ public:
   std::string stapconf_path;    // path to the cached stapconf
   stap_hash *base_hash;         // hash common to all caching
 
-  // dwarfless operation
-  bool consult_symtab;
-  std::string kernel_symtab_path;
-
   // Skip bad $ vars
   bool skip_badvars;
 
index 4e05d4a50efd0821d162d860f1e0da6bd4b56f04..618765225ede774a2f463795d5ed00d084a2e69c 100644 (file)
@@ -1078,7 +1078,7 @@ dwarf_query::handle_query_module()
       return;
     }
 
-  bool report = dbinfo_reqt == dbr_need_dwarf || !sess.consult_symtab;
+  bool report = dbinfo_reqt == dbr_need_dwarf;
   dw.get_module_dwarf(false, report);
 
   // prebuild the symbol table to resolve aliases
This page took 0.054696 seconds and 5 git commands to generate.