Solving a 2AM Production Outage
Several mistakes in the bpftrace one liners shown.
1. There is no kprobe available for tcp_select_window().
2. Even assuming you meant __tcp_select_window(), it has only one argument of type struct sock *sk.
3. There is no Linux kernel function called tcp_window_scaling().
4. The first kprobe argument is arg0 and not arg1.
Several mistakes in the bpftrace one liners shown.
1. There is no kprobe available for tcp_select_window().
2. Even assuming you meant __tcp_select_window(), it has only one argument of type struct sock *sk.
3. There is no Linux kernel function called tcp_window_scaling().
4. The first kprobe argument is arg0 and not arg1.