From 0dc343224e63d8c6f2ba4f0688c93c8c9b5781b6 Mon Sep 17 00:00:00 2001 From: "Frank Ch. Eigler" Date: Fri, 5 Dec 2008 11:33:58 -0500 Subject: turn on elfutils-level debuginfo<->stripped-binary checksum matching This is necessary to detect mismatching debuginfo for user-space programs without build-id. We don't have run-time version assertions for user-space binaries. --- tapsets.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tapsets.cxx') diff --git a/tapsets.cxx b/tapsets.cxx index 178d2465..d49ea39d 100644 --- a/tapsets.cxx +++ b/tapsets.cxx @@ -895,7 +895,7 @@ struct dwflpp if (! sess.module_cache) sess.module_cache = new module_cache (); - static const char *debuginfo_path_arr = "-:.debug:/usr/lib/debug:build"; + static const char *debuginfo_path_arr = "+:.debug:/usr/lib/debug:build"; static const char *debuginfo_env_arr = getenv("SYSTEMTAP_DEBUGINFO_PATH"); static const char *debuginfo_path = (debuginfo_env_arr ?: debuginfo_path_arr ); @@ -957,7 +957,7 @@ struct dwflpp void setup_user(string module_name, bool debuginfo_needed = true) { - static const char *debuginfo_path_arr = "-:.debug:/usr/lib/debug:build"; + static const char *debuginfo_path_arr = "+:.debug:/usr/lib/debug:build"; static const char *debuginfo_env_arr = getenv("SYSTEMTAP_DEBUGINFO_PATH"); // NB: kernel_build_tree doesn't enter into this, as it's for // kernel-side modules only. -- cgit