diff options
author | Josh Stone <jistone@redhat.com> | 2009-08-25 17:42:55 -0700 |
---|---|---|
committer | Josh Stone <jistone@redhat.com> | 2009-08-25 17:42:55 -0700 |
commit | be53d3135d2f22032917b0da19a2f9783d3f2705 (patch) | |
tree | 9267cc8aad1f61f86574df43a9a76d47074f7c02 /dwflpp.h | |
parent | d089f5b2932a473692f8c3e1badb883fabc55dee (diff) | |
download | systemtap-steved-be53d3135d2f22032917b0da19a2f9783d3f2705.tar.gz systemtap-steved-be53d3135d2f22032917b0da19a2f9783d3f2705.tar.xz systemtap-steved-be53d3135d2f22032917b0da19a2f9783d3f2705.zip |
Convert module_cu_cache_t to a stap_map
* dwflpp.cxx (module_cu_cache_t): Typedef as a stap_map instead.
Diffstat (limited to 'dwflpp.h')
-rw-r--r-- | dwflpp.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -59,6 +59,9 @@ template<class K, class V> struct stap_map { }; #endif +// module -> cu die[] +typedef stap_map<Dwarf*, std::vector<Dwarf_Die>*>::type module_cu_cache_t; + // function -> die typedef stap_map<std::string, Dwarf_Die>::type cu_function_cache_t; @@ -289,7 +292,6 @@ private: void setup_kernel(const std::string& module_name, bool debuginfo_needed = true); void setup_user(const std::vector<std::string>& modules, bool debuginfo_needed = true); - typedef std::map<Dwarf*, std::vector<Dwarf_Die>*> module_cu_cache_t; module_cu_cache_t module_cu_cache; cu_inl_function_cache_t cu_inl_function_cache; |