-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
kretprobe alias for retval #225
Labels
Comments
|
That's it for now. It's a fair ask. |
|
x86_64 ABI references (these just confirm that %ax is correct to use): https://en.wikipedia.org/wiki/X86_calling_conventions#System_V_AMD64_ABI and http://x86-64.org/documentation/abi.pdf |
|
This should also work for uretprobe |
This was referenced May 3, 2016
|
Extending on #529, perhaps we just need to add a PT_REGS_RVAL alias? |
|
We now have PT_REGS_RC(ctx). Closing ticket. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
On kprobe, I can declare and use the function arguments. On kretprobe, is there an alias for the return value? I'm currently using
ctx->ax, which is platform dependent.The text was updated successfully, but these errors were encountered: