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

Using DYAD's wrapper library and PerfFlow Aspect causes hang with Core refactor #20

Open
ilumsden opened this issue Feb 20, 2023 · 1 comment

Comments

@ilumsden
Copy link
Collaborator

The soon-to-be-merged Core refactor (see #14) seems to no longer work with PerfFlow Aspect (PFA). When using both PFA and DYAD's wrapper library (libdyad_sync.so), applications seem to hang.

I'm not yet certain why this happens, but it likely has to do with the fact that both PFA's C API and DYAD's wrapper library use __atribute__((constructor)). That likely means that, if PFA and DYAD are linked/loaded in the wrong order, things will break. Combine that with the fact that DYAD's wrapper library uses the preload trick, and it's pretty likely that things are being loaded incorrectly.

@JaeseungYeom
Copy link
Contributor

Is this still relevant?

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

No branches or pull requests

2 participants