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

instrumentation #87

Open
sj-i opened this issue Sep 23, 2021 · 0 comments
Open

instrumentation #87

sj-i opened this issue Sep 23, 2021 · 0 comments

Comments

@sj-i
Copy link
Member

sj-i commented Sep 23, 2021

Let's say an extension is installed to the VM. All the extension has to do is incrementing an internal counter on every RINIT.
Then the timings of cache invalidation would be reliably detectable vie the counter.

There may be other ways to improve the performance and accuracy or functionality of sampling by combining it with some lightweight instrumentation.

Hook points for extensions exist in the VM even at runtime.
So we can inject some machine codes there.
In other words, installing and enabling an extension to a running VM on the fly is also possible.

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