This file contains hidden or 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
1 0.000000000 192.168.1.109 → 192.168.1.109 TCP 74 46672 → 8000 [SYN] Seq=0 Win=43690 Len=0 MSS=65495 SACK_PERM=1 TSval=40124281 TSecr=0 WS=128 | |
2 0.000005978 192.168.1.109 → 192.168.1.109 TCP 74 8000 → 46672 [SYN, ACK] Seq=0 Ack=1 Win=43690 Len=0 MSS=65495 SACK_PERM=1 TSval=40124281 TSecr=40124281 WS=128 | |
3 0.000010862 192.168.1.109 → 192.168.1.109 TCP 66 46672 → 8000 [ACK] Seq=1 Ack=1 Win=43776 Len=0 TSval=40124281 TSecr=40124281 | |
4 0.000056512 192.168.1.109 → 192.168.1.109 TCP 76 8000 → 46672 [PSH, ACK] Seq=1 Ack=1 Win=43776 Len=10 TSval=40124281 TSecr=40124281 | |
5 0.000088529 192.168.1.109 → 192.168.1.109 TCP 66 46672 → 8000 [ACK] Seq=1 Ack=11 Win=43776 Len=0 TSval=40124281 TSecr=40124281 | |
6 0.000109539 192.168.1.109 → 192.168.1.109 TCP 1056 8000 → 46672 [PSH, ACK] Seq=11 Ack=1 Win=43776 Len=990 TSval=40124281 TSecr=40124281 | |
7 0.000112096 192.168.1.109 → 192.168.1.109 TCP 66 46672 → 8000 [ACK] Seq=1 Ack=1001 Win=45696 Len=0 TSval=40124281 TSecr=40124281 | |
8 0.000131095 192.168.1.10 |
This file contains hidden or 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
1 0.000000000 192.168.1.109 → 192.168.1.109 TCP 74 46664 → 8000 [SYN] Seq=0 Win=43690 Len=0 MSS=65495 SACK_PERM=1 TSval=40119763 TSecr=0 WS=128 | |
2 0.000005810 192.168.1.109 → 192.168.1.109 TCP 74 8000 → 46664 [SYN, ACK] Seq=0 Ack=1 Win=43690 Len=0 MSS=65495 SACK_PERM=1 TSval=40119763 TSecr=40119763 WS=128 | |
3 0.197946013 192.168.1.109 → 192.168.1.109 TCP 66 46664 → 8000 [ACK] Seq=1 Ack=1 Win=43776 Len=0 TSval=40119813 TSecr=40119763 | |
4 0.198082252 192.168.1.109 → 192.168.1.109 TCP 76 8000 → 46664 [PSH, ACK] Seq=1 Ack=1 Win=43776 Len=10 TSval=40119813 TSecr=40119813 | |
5 0.198142202 192.168.1.109 → 192.168.1.109 TCP 66 46664 → 8000 [ACK] Seq=1 Ack=11 Win=43776 Len=0 TSval=40119813 TSecr=40119813 | |
6 0.198146792 192.168.1.109 → 192.168.1.109 TCP 1056 8000 → 46664 [PSH, ACK] Seq=11 Ack=1 Win=43776 Len=990 TSval=40119813 TSecr=40119813 | |
7 0.198149046 192.168.1.109 → 192.168.1.109 TCP 66 46664 → 8000 [ACK] Seq=1 Ack=1001 Win=45696 Len=0 TSval=40119813 TSecr=40119813 | |
8 0.198176219 192.168.1.10 |
This file contains hidden or 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
#include <stdio.h> | |
#include <string.h> | |
#include <sys/types.h> | |
#include <sys/socket.h> | |
#include <sys/time.h> | |
#include <arpa/inet.h> | |
#include <netinet/tcp.h> | |
#include <unistd.h> | |
#include <stdbool.h> | |
#include <stdlib.h> |
This file contains hidden or 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
$ stap -L 'kernel.function("tcp_advertise_mss").return' | |
$ stap -L 'kernel.function("tcp_advertise_mss").inline' | |
kernel.function("tcp_advertise_mss@/build/linux-3phnTq/linux-4.4.0/net/ipv4/tcp_output.c:121").inline | |
$ stap -L 'kernel.statement("tcp_advertise_mss@*:*")' | |
( No output ) |
This file contains hidden or 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
$ stap -L 'kernel.statement("__tcp_mtu_to_mss@*:*")' | |
kernel.statement("__tcp_mtu_to_mss@/build/linux-3phnTq/linux-4.4.0/net/ipv4/tcp_output.c:1302") | |
kernel.statement("__tcp_mtu_to_mss@/build/linux-3phnTq/linux-4.4.0/net/ipv4/tcp_output.c:1305") | |
kernel.statement("__tcp_mtu_to_mss@/build/linux-3phnTq/linux-4.4.0/net/ipv4/tcp_output.c:1308") | |
kernel.statement("__tcp_mtu_to_mss@/build/linux-3phnTq/linux-4.4.0/net/ipv4/tcp_output.c:1309") | |
kernel.statement("__tcp_mtu_to_mss@/build/linux-3phnTq/linux-4.4.0/net/ipv4/tcp_output.c:1313") | |
kernel.statement("__tcp_mtu_to_mss@/build/linux-3phnTq/linux-4.4.0/net/ipv4/tcp_output.c:1317") |
This file contains hidden or 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
$ stap -L 'kernel.statement("tcp_sync_mss@*:*")' | |
kernel.statement("tcp_sync_mss@/build/linux-3phnTq/linux-4.4.0/net/ipv4/tcp_output.c:1395") $sk:struct sock* $pmtu:u32 | |
kernel.statement("tcp_sync_mss@/build/linux-3phnTq/linux-4.4.0/net/ipv4/tcp_output.c:1400") $sk:struct sock* $pmtu:u32 | |
kernel.statement("tcp_sync_mss@/build/linux-3phnTq/linux-4.4.0/net/ipv4/tcp_output.c:1401") $sk:struct sock* $pmtu:u32 | |
kernel.statement("tcp_sync_mss@/build/linux-3phnTq/linux-4.4.0/net/ipv4/tcp_output.c:1407") $sk:struct sock* $pmtu:u32 | |
kernel.statement("tcp_sync_mss@/build/linux-3phnTq/linux-4.4.0/net/ipv4/tcp_output.c:1408") $sk:struct sock* $pmtu:u32 | |
kernel.statement("tcp_sync_mss@/build/linux-3phnTq/linux-4.4.0/net/ipv4/tcp_output.c:1409") $_min1:int $sk:struct sock* | |
kernel.statement("tcp_sync_mss@/build/linux-3phnTq/linux-4.4.0/net/ipv4/tcp_output.c:1410") $sk:struct sock* $pmtu:u32 | |
kernel.statement("tcp_sync_mss@/build/linux-3phnTq/linux-4.4.0/net/ipv4/tcp_output.c:1413") $sk:struct sock* $pmtu:u32 |
This file contains hidden or 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
0000000000400ef0 <_Z3fibi>: | |
long long fib(int n) { | |
400ef0: b8 01 00 00 00 mov $0x1,%eax | |
if (n <= 1) | |
400ef5: 83 ff 02 cmp $0x2,%edi | |
400ef8: 0f 8c 8f 00 00 00 jl 400f8d <_Z3fibi+0x9d> | |
long long a = 1; | |
long long b = 1; |
This file contains hidden or 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
$ cat a.rb | |
class A | |
def foo | |
return "foo" | |
end | |
end | |
a = A.new | |
print a.foo(), "\n" |
This file contains hidden or 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
$ cat a.py | |
class A(object): | |
def foo(self): | |
return "foo" | |
a = A() | |
print a.foo() | |
class A(object): |
This file contains hidden or 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
$ cat a.py | |
class A(object): | |
def foo(self): | |
return "foo" | |
a = A() | |
print a.foo() | |
class A(object): |