diff options
author | Srikar Dronamraju <srikar@linux.vnet.ibm.com> | 2008-05-30 13:53:59 +0530 |
---|---|---|
committer | Srikar Dronamraju <srikar@linux.vnet.ibm.com> | 2008-05-30 13:53:59 +0530 |
commit | 921d61030221bc5ff27f8d63d3fa30e93f659484 (patch) | |
tree | c4df636c217e2037fcc844a8d86e17505fe5c972 /tapsets.cxx | |
parent | 974665688b988acc952c9a09c55079844c2bbc63 (diff) | |
download | systemtap-steved-921d61030221bc5ff27f8d63d3fa30e93f659484.tar.gz systemtap-steved-921d61030221bc5ff27f8d63d3fa30e93f659484.tar.xz systemtap-steved-921d61030221bc5ff27f8d63d3fa30e93f659484.zip |
PR 6562, Modify SYSTEMTAP_DEBUGINFO_PATH behaviour.
Diffstat (limited to 'tapsets.cxx')
-rw-r--r-- | tapsets.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tapsets.cxx b/tapsets.cxx index 151a1c45..f20f184e 100644 --- a/tapsets.cxx +++ b/tapsets.cxx @@ -903,6 +903,8 @@ struct dwflpp static char *debuginfo_path = (debuginfo_env_arr ? debuginfo_env_arr : debuginfo_path_arr); + static const char *debug_path = (debuginfo_env_arr ? + debuginfo_env_arr : sess.kernel_release.c_str()); static const Dwfl_Callbacks proc_callbacks = { @@ -936,7 +938,7 @@ struct dwflpp else callback = NULL; int rc = dwfl_linux_kernel_report_offline (dwfl, - sess.kernel_release.c_str(), + debug_path, /* selection predicate */ callback); if (debuginfo_needed) |