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
In the code of the tcptracer tool, the ctx parameter (of type struct pt_regs *) of the function enter_tcp_connect/exit_tcp_connect is not actually used, but the current code still keeps it as a function parameter.
Hello,
In the code of the tcptracer tool, the ctx parameter (of type struct pt_regs *) of the function enter_tcp_connect/exit_tcp_connect is not actually used, but the current code still keeps it as a function parameter.
After testing, after removing the ctx parameter, the tool compiles and runs normally with no impact on its functionality.
So, is keeping the ctx parameter an idiomatic way of writing it, or does it serve some other purpose?
Thanks.
The text was updated successfully, but these errors were encountered: