kretprobe alias for retval #225
|
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 Feb 5, 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.