Last active
April 16, 2016 03:50
-
-
Save alq666/86e7e17ff422501a6428f3419c033243 to your computer and use it in GitHub Desktop.
Find drop packets
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
# Place a probe to record calls and return values of enqueue_to_backlog | |
sudo perf probe -a 'enqueue_to_backlog%return $retval' | |
# Record for 60 seconds | |
sudo perf record -e probe:enqueue_to_backlog -aR sleep 60 | |
# Display calls | |
sudo perf script |
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
swapper 0 [000] 3063713.001455: probe:enqueue_to_backlog: (ffffffff81625030 <- ffffffff81628b7e) arg1=0 | |
swapper 0 [000] 3063713.003087: probe:enqueue_to_backlog: (ffffffff81625030 <- ffffffff81628b7e) arg1=0 | |
swapper 0 [000] 3063713.003089: probe:enqueue_to_backlog: (ffffffff81625030 <- ffffffff81628b7e) arg1=0 | |
swapper 0 [000] 3063713.024984: probe:enqueue_to_backlog: (ffffffff81625030 <- ffffffff81628b7e) arg1=0 | |
swapper 0 [000] 3063713.036451: probe:enqueue_to_backlog: (ffffffff81625030 <- ffffffff81628b7e) arg1=0 | |
postgres 13545 [000] 3063713.036725: probe:enqueue_to_backlog: (ffffffff81625030 <- ffffffff81627df3) arg1=0 | |
swapper 0 [000] 3063713.037679: probe:enqueue_to_backlog: (ffffffff81625030 <- ffffffff81628b7e) arg1=0 | |
swapper 0 [000] 3063713.038976: probe:enqueue_to_backlog: (ffffffff81625030 <- ffffffff81628b7e) arg1=0 | |
swapper 0 [000] 3063713.039360: probe:enqueue_to_backlog: (ffffffff81625030 <- ffffffff81628b7e) arg1=0 | |
swapper 0 [000] 3063713.040980: probe:enqueue_to_backlog: (ffffffff81625030 <- ffffffff81628b7e) arg1=0 | |
swapper 0 [000] 3063713.041198: probe:enqueue_to_backlog: (ffffffff81625030 <- ffffffff81628b7e) arg1=0 | |
postgres 10536 [003] 3063713.046677: probe:enqueue_to_backlog: (ffffffff81625030 <- ffffffff81627df3) arg1=0 | |
swapper 0 [000] 3063713.048121: probe:enqueue_to_backlog: (ffffffff81625030 <- ffffffff81628b7e) arg1=0 | |
postgres 11707 [000] 3063713.048315: probe:enqueue_to_backlog: (ffffffff81625030 <- ffffffff81628b7e) arg1=0 | |
swapper 0 [000] 3063713.050607: probe:enqueue_to_backlog: (ffffffff81625030 <- ffffffff81628b7e) arg1=0 | |
swapper 0 [000] 3063713.053978: probe:enqueue_to_backlog: (ffffffff81625030 <- ffffffff81628b7e) arg1=0 | |
swapper 0 [000] 3063713.056323: probe:enqueue_to_backlog: (ffffffff81625030 <- ffffffff81628b7e) arg1=0 | |
swapper 0 [000] 3063713.061861: probe:enqueue_to_backlog: (ffffffff81625030 <- ffffffff81628b7e) arg1=0 | |
swapper 0 [000] 3063713.064675: probe:enqueue_to_backlog: (ffffffff81625030 <- ffffffff81628b7e) arg1=0 | |
swapper 0 [000] 3063713.099963: probe:enqueue_to_backlog: (ffffffff81625030 <- ffffffff81628b7e) arg1=0 | |
swapper 0 [000] 3063713.100650: probe:enqueue_to_backlog: (ffffffff81625030 <- ffffffff81628b7e) arg1=0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment