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

add SystemTap/DynInst support and usage example #2

Open
serhei opened this issue Jan 22, 2019 · 0 comments
Open

add SystemTap/DynInst support and usage example #2

serhei opened this issue Jan 22, 2019 · 0 comments
Assignees
Milestone

Comments

@serhei
Copy link
Owner

serhei commented Jan 22, 2019

To start with:

$ stap -p4 --dyninst -m hello -e 'probe begin { println("hello") exit() }'
hello.so
$ ./oc-inject --stapdyn myapp-zrblm -- hello.so <arguments to hello.so>

But ideally, this should be doable with one command, rather than needing to manually compile an .so.

serhei added a commit that referenced this issue Jan 22, 2019
Known problem TODO: currently, caching will assume that .so's with the
same name are unchanged. This makes sense for system libraries but not
for .so's generated by stapdyn. Fix by checksumming the contents of
stapdyn modules.
@serhei serhei self-assigned this Jan 22, 2019
@serhei serhei added this to the v1.0 milestone Dec 11, 2019
@serhei serhei added enhancement New feature or request special-case and removed enhancement New feature or request labels Dec 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant