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

Dev direction: Linux instrumentation via bfptrace #27

Open
dimaqq opened this issue Apr 30, 2020 · 0 comments
Open

Dev direction: Linux instrumentation via bfptrace #27

dimaqq opened this issue Apr 30, 2020 · 0 comments

Comments

@dimaqq
Copy link
Owner

dimaqq commented Apr 30, 2020

Today, awaitwhat code runs in-process, in-interpreter; the dependency must be added in advance.
Linux has tools to instrument other (already running) processes: bpftrace and oprofile

Links: https://github.com/iovisor/bcc
What's proper: usdt/uprobe/uretprobe?
Example: https://github.com/iovisor/bcc/blob/master/examples/cpp/RecordMySQLQuery.cc
More links: http://www.brendangregg.com/blog/2019-01-01/learn-ebpf-tracing.html

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