Merge pull request #32065 from bluca/dlopen_debug

dlopen: fix bpf symbol loading check and log at debug level when loading a library
This commit is contained in:
Luca Boccassi
2024-04-03 16:36:35 +01:00
committed by GitHub
5 changed files with 19 additions and 3 deletions
+2
View File
@@ -49,6 +49,8 @@ int dlopen_many_sym_or_warn_sentinel(void **dlp, const char *filename, int log_l
return log_debug_errno(SYNTHETIC_ERRNO(EOPNOTSUPP),
"%s is not installed: %s", filename, dlerror());
log_debug("Loaded '%s' via dlopen()", filename);
va_list ap;
va_start(ap, log_level);
r = dlsym_many_or_warnv(dl, log_level, ap);