Skip to content

add a fallback that loads the mdapi library with an explicit soversion #390

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 21, 2024

Conversation

bashbaug
Copy link
Contributor

Description of Changes

If the MDAPI cannot be loaded using the default file name, try loading with an explicit soversion also. This enables MDAPI metrics to be collected in more cases, if the file name (usually a symbolic link) without the explicit soversion does not get installed for some reason.

Testing Done

Tested by forcing the intial dlopen to fail, therefore relying on the fallback path, and was successfully able to enumerate and collect metrics.

@bashbaug bashbaug merged commit c80a191 into intel:main Nov 21, 2024
7 checks passed
@bashbaug bashbaug deleted the mdapi-soversion branch November 21, 2024 06:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant