You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
syscall: make use of the #[syscall] proc macro to generate the syslog
* Make use of the `#[syscall]` proc macro to generate the syscall log for
that syscall.
* Pass `no_return` to the macro if the syscall never returns (`#[syscall(no_return)]`)
TODO: We may want to automagically detect this case by checking
the return type of the function. Which is'nt that
stright-forward since type information is not avaliable to proc
macros (if you see how they work)
This patch makes the syslogs more readable and significantly helps in
debugging a syscall :).
Signed-off-by: Andy-Python-Programmer <[email protected]>
0 commit comments