From be53d3135d2f22032917b0da19a2f9783d3f2705 Mon Sep 17 00:00:00 2001 From: Josh Stone Date: Tue, 25 Aug 2009 17:42:55 -0700 Subject: Convert module_cu_cache_t to a stap_map * dwflpp.cxx (module_cu_cache_t): Typedef as a stap_map instead. --- dwflpp.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'dwflpp.h') diff --git a/dwflpp.h b/dwflpp.h index 9c342090..08c137c7 100644 --- a/dwflpp.h +++ b/dwflpp.h @@ -59,6 +59,9 @@ template struct stap_map { }; #endif +// module -> cu die[] +typedef stap_map*>::type module_cu_cache_t; + // function -> die typedef stap_map::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& modules, bool debuginfo_needed = true); - typedef std::map*> module_cu_cache_t; module_cu_cache_t module_cu_cache; cu_inl_function_cache_t cu_inl_function_cache; -- cgit