[libcamera-devel] [PATCH v2 1/2] libcamera: ipa_module: add path to module loading error message
Paul Elder
paul.elder at ideasonboard.com
Mon Jul 1 16:13:35 CEST 2019
Add an error message to tell, if an IPA module failed to load, the
path to the IPA module shared object that was attempted to be loaded.
Signed-off-by: Paul Elder <paul.elder at ideasonboard.com>
---
Changes in v2: don't show module version
src/libcamera/ipa_module.cpp | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/src/libcamera/ipa_module.cpp b/src/libcamera/ipa_module.cpp
index 58e8d1d..5a46ec3 100644
--- a/src/libcamera/ipa_module.cpp
+++ b/src/libcamera/ipa_module.cpp
@@ -286,6 +286,11 @@ int IPAModule::loadIPAModuleInfo()
ret = -EINVAL;
}
+ if (ret)
+ LOG(IPAModule, Error)
+ << "Error loading IPA module at "
+ << libPath_;
+
unmap:
munmap(map, soSize);
close:
--
2.17.1
More information about the libcamera-devel
mailing list