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

Don't emit shared libraries #3

Open
vchuravy opened this issue Apr 7, 2019 · 0 comments
Open

Don't emit shared libraries #3

vchuravy opened this issue Apr 7, 2019 · 0 comments

Comments

@vchuravy
Copy link
Member

vchuravy commented Apr 7, 2019

Currently there is a technical limitation on how we can emit probes.
Originally my plan was to just inline assembly to generate the nop and the note,
but none of bcc/bptrace tools could find the notes and therefore the probes.

As an example tplist scans /proc/pid/maps for files and then scans each file to read the notes from there. Since Julia objectfiles are not mapped as pseudo-elf (check GDB integration for how we notify GDB about new objectfiles) none of these tools could discover them. Furthermore we do need a linker step to make the notes valid...

So for now we have to live with the fact that we have to do a ccall to a nop instead of having just a nop ...

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

1 participant