We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1b881fe + 9a4a6cf commit b45f2fbCopy full SHA for b45f2fb
src/common/TracepointProvider.cc
@@ -3,6 +3,7 @@
3
4
#include "common/TracepointProvider.h"
5
#include "common/config.h"
6
+#include "common/dout.h"
7
8
TracepointProvider::TracepointProvider(CephContext *cct, const char *library,
9
const char *config_key)
@@ -40,6 +41,10 @@ void TracepointProvider::verify_config(const ConfigProxy& conf) {
40
41
}
42
43
m_handle = dlopen(m_library.c_str(), RTLD_NOW | RTLD_NODELETE);
44
+ if (!m_handle) {
45
+ lderr(m_cct) << __func__ << " failed dlopen(): "<< m_library.c_str() <<", "
46
+ << dlerror() << dendl;
47
+ }
48
ceph_assert(m_handle);
49
50
0 commit comments