Skip to content
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

Revise jl_timing prints for dlopen #49560

Merged
merged 1 commit into from
May 4, 2023

Conversation

topolarity
Copy link
Member

This change updates the profiling metadata for DL_OPEN to include both the full requested library name and the path to the resolved handle:

image

Also fixes a bug in gnu_basename where Windows filepaths were not being scanned for \ correctly.

By special request, this changes our `dlopen` logic to include the
actually-opened filepath. For convenience, the base filename is listed
first.

This change also fixes a bug in `gnu_basename` where Windows filepaths
were not being scanned for '\\' correctly.
Copy link
Member

@KristofferC KristofferC left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Useful information to have 👍

@KristofferC KristofferC merged commit dfc74c3 into JuliaLang:master May 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants