Created
August 20, 2023 16:34
-
-
Save strategicpause/59fe685d1bc235e2b32b4faa457d0586 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# observe.py | |
from bcc import BPF | |
BPF(text=' | |
int kprobe__tcp_conn_request(struct request_sock_ops *rsk_ops, | |
const struct tcp_request_sock_ops *af_ops, | |
struct sock *sk, | |
struct sk_buff *skb) { | |
bpf_trace_printk("qlen: *sock.sk_ack_backlog"); | |
return 0; | |
}').trace_print() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment