[PATCH v1 1/2] syscall.c: split trace_syscall() into 5 functions

Victor Krapivensky krapivenskiy.va at phystech.edu
Mon Jun 5 13:52:40 UTC 2017


On Mon, Jun 05, 2017 at 02:35:23PM +0300, Dmitry V. Levin wrote:
> Where are you going to call the exiting hook from?  Is it going to happen
> before get_regs/get_syscall_result calls or after them?

Oops. Yes, it should be called after we decode syscall result, of
course.

As for naming, I think "decode" describes what it does pretty accurately.




More information about the Strace-devel mailing list