mirror of
https://github.com/langhuihui/monibuca.git
synced 2025-12-24 13:48:04 +08:00
feat: add pprof
This commit is contained in:
24
plugin/debug/pkg/internal/driver/testdata/cppbench.contention
vendored
Normal file
24
plugin/debug/pkg/internal/driver/testdata/cppbench.contention
vendored
Normal file
@@ -0,0 +1,24 @@
|
||||
--- contentionz 1 ---
|
||||
cycles/second = 3201000000
|
||||
sampling period = 100
|
||||
ms since reset = 16502830
|
||||
discarded samples = 0
|
||||
19490304 27 @ 0xbccc97 0xc61202 0x42ed5f 0x42edc1 0x42e15a 0x5261af 0x526edf 0x5280ab 0x79e80a 0x7a251b 0x7a296d 0xa456e4 0x7fcdc2ff214e
|
||||
768 1 @ 0xbccc97 0xa42dc7 0xa456e4 0x7fcdc2ff214e
|
||||
5760 2 @ 0xbccc97 0xb82b73 0xb82bcb 0xb87eab 0xb8814c 0x4e969d 0x4faa17 0x4fc5f6 0x4fd028 0x4fd230 0x79e80a 0x7a251b 0x7a296d 0xa456e4 0x7fcdc2ff214e
|
||||
569088 1 @ 0xbccc97 0xb82b73 0xb82bcb 0xb87f08 0xb8814c 0x42ed5f 0x42edc1 0x42e15a 0x5261af 0x526edf 0x5280ab 0x79e80a 0x7a251b 0x7a296d 0xa456e4 0x7fcdc2ff214e
|
||||
2432 1 @ 0xbccc97 0xb82b73 0xb82bcb 0xb87eab 0xb8814c 0x7aa74c 0x7ab844 0x7ab914 0x79e9e9 0x79e326 0x4d299e 0x4d4b7b 0x4b7be8 0x4b7ff1 0x4d2dae 0x79e80a
|
||||
2034816 3 @ 0xbccc97 0xb82f0f 0xb83003 0xb87d50 0xc635f0 0x42ecc3 0x42e14c 0x5261af 0x526edf 0x5280ab 0x79e80a 0x7a251b 0x7a296d 0xa456e4 0x7fcdc2ff214e
|
||||
--- Memory map: ---
|
||||
00400000-00fcb000: cppbench_server_main
|
||||
7fcdc231e000-7fcdc2321000: /libnss_cache-2.15.so
|
||||
7fcdc2522000-7fcdc252e000: /libnss_files-2.15.so
|
||||
7fcdc272f000-7fcdc28dd000: /libc-2.15.so
|
||||
7fcdc2ae7000-7fcdc2be2000: /libm-2.15.so
|
||||
7fcdc2de3000-7fcdc2dea000: /librt-2.15.so
|
||||
7fcdc2feb000-7fcdc3003000: /libpthread-2.15.so
|
||||
7fcdc3208000-7fcdc320a000: /libdl-2.15.so
|
||||
7fcdc340c000-7fcdc3415000: /libcrypt-2.15.so
|
||||
7fcdc3645000-7fcdc3669000: /ld-2.15.so
|
||||
7fff86bff000-7fff86c00000: [vdso]
|
||||
ffffffffff600000-ffffffffff601000: [vsyscall]
|
||||
BIN
plugin/debug/pkg/internal/driver/testdata/cppbench.cpu
vendored
Normal file
BIN
plugin/debug/pkg/internal/driver/testdata/cppbench.cpu
vendored
Normal file
Binary file not shown.
BIN
plugin/debug/pkg/internal/driver/testdata/cppbench.cpu_no_samples_type
vendored
Normal file
BIN
plugin/debug/pkg/internal/driver/testdata/cppbench.cpu_no_samples_type
vendored
Normal file
Binary file not shown.
19
plugin/debug/pkg/internal/driver/testdata/cppbench.small.contention
vendored
Normal file
19
plugin/debug/pkg/internal/driver/testdata/cppbench.small.contention
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
--- contentionz 1 ---
|
||||
cycles/second = 3201000000
|
||||
sampling period = 100
|
||||
ms since reset = 16502830
|
||||
discarded samples = 0
|
||||
100 10 @ 0xbccc97 0xc61202 0x42ed5f 0x42edc1 0x42e15a 0x5261af 0x526edf 0x5280ab 0x79e80a 0x7a251b 0x7a296d 0xa456e4 0x7fcdc2ff214e
|
||||
--- Memory map: ---
|
||||
00400000-00fcb000: cppbench_server_main
|
||||
7fcdc231e000-7fcdc2321000: /libnss_cache-2.15.so
|
||||
7fcdc2522000-7fcdc252e000: /libnss_files-2.15.so
|
||||
7fcdc272f000-7fcdc28dd000: /libc-2.15.so
|
||||
7fcdc2ae7000-7fcdc2be2000: /libm-2.15.so
|
||||
7fcdc2de3000-7fcdc2dea000: /librt-2.15.so
|
||||
7fcdc2feb000-7fcdc3003000: /libpthread-2.15.so
|
||||
7fcdc3208000-7fcdc320a000: /libdl-2.15.so
|
||||
7fcdc340c000-7fcdc3415000: /libcrypt-2.15.so
|
||||
7fcdc3645000-7fcdc3669000: /ld-2.15.so
|
||||
7fff86bff000-7fff86c00000: [vdso]
|
||||
ffffffffff600000-ffffffffff601000: [vsyscall]
|
||||
17
plugin/debug/pkg/internal/driver/testdata/file1000.src
vendored
Normal file
17
plugin/debug/pkg/internal/driver/testdata/file1000.src
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
line1
|
||||
line2
|
||||
line3
|
||||
line4
|
||||
line5
|
||||
line6
|
||||
line7
|
||||
line8
|
||||
line9
|
||||
line0
|
||||
line1
|
||||
line2
|
||||
line3
|
||||
line4
|
||||
line5
|
||||
|
||||
|
||||
17
plugin/debug/pkg/internal/driver/testdata/file2000.src
vendored
Normal file
17
plugin/debug/pkg/internal/driver/testdata/file2000.src
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
line1
|
||||
line2
|
||||
line3
|
||||
line4
|
||||
line5
|
||||
line6
|
||||
line7
|
||||
line8
|
||||
line9
|
||||
line0
|
||||
line1
|
||||
line2
|
||||
line3
|
||||
line4
|
||||
line5
|
||||
|
||||
|
||||
17
plugin/debug/pkg/internal/driver/testdata/file3000.src
vendored
Normal file
17
plugin/debug/pkg/internal/driver/testdata/file3000.src
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
line1
|
||||
line2
|
||||
line3
|
||||
line4
|
||||
line5
|
||||
line6
|
||||
line7
|
||||
line8
|
||||
line9
|
||||
line0
|
||||
line1
|
||||
line2
|
||||
line3
|
||||
line4
|
||||
line5
|
||||
|
||||
|
||||
BIN
plugin/debug/pkg/internal/driver/testdata/go.crc32.cpu
vendored
Normal file
BIN
plugin/debug/pkg/internal/driver/testdata/go.crc32.cpu
vendored
Normal file
Binary file not shown.
BIN
plugin/debug/pkg/internal/driver/testdata/go.nomappings.crash
vendored
Normal file
BIN
plugin/debug/pkg/internal/driver/testdata/go.nomappings.crash
vendored
Normal file
Binary file not shown.
10
plugin/debug/pkg/internal/driver/testdata/pprof.contention.cum.files.dot
vendored
Normal file
10
plugin/debug/pkg/internal/driver/testdata/pprof.contention.cum.files.dot
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
digraph "unnamed" {
|
||||
node [style=filled fillcolor="#f8f8f8"]
|
||||
subgraph cluster_L { "Build ID: buildid-contention" [shape=box fontsize=16 label="Build ID: buildid-contention\lComment #1\lComment #2\lType: delay\lShowing nodes accounting for 149.50ms, 100% of 149.50ms total\l\lSee https://git.io/JfYMW for how to read the graph\l"] }
|
||||
N1 [label="file3000.src\n32.77ms (21.92%)\nof 149.50ms (100%)" id="node1" fontsize=20 shape=box tooltip="testdata/file3000.src (149.50ms)" color="#b20000" fillcolor="#edd5d5"]
|
||||
N2 [label="file1000.src\n51.20ms (34.25%)" id="node2" fontsize=23 shape=box tooltip="testdata/file1000.src (51.20ms)" color="#b23100" fillcolor="#eddbd5"]
|
||||
N3 [label="file2000.src\n65.54ms (43.84%)\nof 75.78ms (50.68%)" id="node3" fontsize=24 shape=box tooltip="testdata/file2000.src (75.78ms)" color="#b22000" fillcolor="#edd9d5"]
|
||||
N1 -> N3 [label=" 75.78ms" weight=51 penwidth=3 color="#b22000" tooltip="testdata/file3000.src -> testdata/file2000.src (75.78ms)" labeltooltip="testdata/file3000.src -> testdata/file2000.src (75.78ms)"]
|
||||
N1 -> N2 [label=" 40.96ms" weight=28 penwidth=2 color="#b23900" tooltip="testdata/file3000.src -> testdata/file1000.src (40.96ms)" labeltooltip="testdata/file3000.src -> testdata/file1000.src (40.96ms)"]
|
||||
N3 -> N2 [label=" 10.24ms" weight=7 color="#b29775" tooltip="testdata/file2000.src -> testdata/file1000.src (10.24ms)" labeltooltip="testdata/file2000.src -> testdata/file1000.src (10.24ms)"]
|
||||
}
|
||||
9
plugin/debug/pkg/internal/driver/testdata/pprof.contention.flat.addresses.dot.focus.ignore
vendored
Normal file
9
plugin/debug/pkg/internal/driver/testdata/pprof.contention.flat.addresses.dot.focus.ignore
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
digraph "unnamed" {
|
||||
node [style=filled fillcolor="#f8f8f8"]
|
||||
subgraph cluster_L { "Build ID: buildid-contention" [shape=box fontsize=16 label="Build ID: buildid-contention\lComment #1\lComment #2\lType: delay\lActive filters:\l focus=[X1]000\l ignore=[X3]002\lShowing nodes accounting for 40.96ms, 27.40% of 149.50ms total\l\lSee https://git.io/JfYMW for how to read the graph\l"] }
|
||||
N1 [label="0000000000001000\nline1000\nfile1000.src:1\n40.96ms (27.40%)" id="node1" fontsize=24 shape=box tooltip="0000000000001000 line1000 testdata/file1000.src:1 (40.96ms)" color="#b23900" fillcolor="#edddd5"]
|
||||
N2 [label="0000000000003001\nline3000\nfile3000.src:5\n0 of 40.96ms (27.40%)" id="node2" fontsize=8 shape=box tooltip="0000000000003001 line3000 testdata/file3000.src:5 (40.96ms)" color="#b23900" fillcolor="#edddd5"]
|
||||
N3 [label="0000000000003001\nline3001\nfile3000.src:3\n0 of 40.96ms (27.40%)" id="node3" fontsize=8 shape=box tooltip="0000000000003001 line3001 testdata/file3000.src:3 (40.96ms)" color="#b23900" fillcolor="#edddd5"]
|
||||
N2 -> N3 [label=" 40.96ms\n (inline)" weight=28 penwidth=2 color="#b23900" tooltip="0000000000003001 line3000 testdata/file3000.src:5 -> 0000000000003001 line3001 testdata/file3000.src:3 (40.96ms)" labeltooltip="0000000000003001 line3000 testdata/file3000.src:5 -> 0000000000003001 line3001 testdata/file3000.src:3 (40.96ms)"]
|
||||
N3 -> N1 [label=" 40.96ms" weight=28 penwidth=2 color="#b23900" tooltip="0000000000003001 line3001 testdata/file3000.src:3 -> 0000000000001000 line1000 testdata/file1000.src:1 (40.96ms)" labeltooltip="0000000000003001 line3001 testdata/file3000.src:3 -> 0000000000001000 line1000 testdata/file1000.src:1 (40.96ms)"]
|
||||
}
|
||||
32
plugin/debug/pkg/internal/driver/testdata/pprof.cpu.addresses.traces
vendored
Normal file
32
plugin/debug/pkg/internal/driver/testdata/pprof.cpu.addresses.traces
vendored
Normal file
@@ -0,0 +1,32 @@
|
||||
File: testbinary
|
||||
Type: cpu
|
||||
Duration: 10s, Total samples = 1.12s (11.20%)
|
||||
-----------+-------------------------------------------------------
|
||||
key1: tag1
|
||||
key2: tag1
|
||||
1s 0000000000001000 line1000 testdata/file1000.src:1
|
||||
0000000000002000 line2001 testdata/file2000.src:9 (inline)
|
||||
0000000000002000 line2000 testdata/file2000.src:4
|
||||
0000000000003000 line3002 testdata/file3000.src:2 (inline)
|
||||
0000000000003000 line3001 testdata/file3000.src:5 (inline)
|
||||
0000000000003000 line3000 testdata/file3000.src:6
|
||||
-----------+-------------------------------------------------------
|
||||
key1: tag2
|
||||
key3: tag2
|
||||
100ms 0000000000001000 line1000 testdata/file1000.src:1
|
||||
0000000000003001 line3001 testdata/file3000.src:8 (inline)
|
||||
0000000000003001 line3000 testdata/file3000.src:9
|
||||
-----------+-------------------------------------------------------
|
||||
key1: tag3
|
||||
key2: tag2
|
||||
10ms 0000000000002000 line2001 testdata/file2000.src:9 (inline)
|
||||
0000000000002000 line2000 testdata/file2000.src:4
|
||||
0000000000003002 line3002 testdata/file3000.src:5 (inline)
|
||||
0000000000003002 line3000 testdata/file3000.src:9
|
||||
-----------+-------------------------------------------------------
|
||||
key1: tag4
|
||||
key2: tag1
|
||||
10ms 0000000000003000 line3002 testdata/file3000.src:2 (inline)
|
||||
0000000000003000 line3001 testdata/file3000.src:5 (inline)
|
||||
0000000000003000 line3000 testdata/file3000.src:6
|
||||
-----------+-------------------------------------------------------
|
||||
99
plugin/debug/pkg/internal/driver/testdata/pprof.cpu.call_tree.callgrind
vendored
Normal file
99
plugin/debug/pkg/internal/driver/testdata/pprof.cpu.call_tree.callgrind
vendored
Normal file
@@ -0,0 +1,99 @@
|
||||
positions: instr line
|
||||
events: cpu(ms)
|
||||
|
||||
ob=(1) /path/to/testbinary
|
||||
fl=(1) testdata/file1000.src
|
||||
fn=(1) line1000
|
||||
0x1000 1 1000
|
||||
* 1 100
|
||||
|
||||
ob=(1)
|
||||
fl=(2) testdata/file2000.src
|
||||
fn=(2) line2001
|
||||
+4096 9 10
|
||||
|
||||
ob=(1)
|
||||
fl=(3) testdata/file3000.src
|
||||
fn=(3) line3002
|
||||
+4096 2 10
|
||||
cfl=(2)
|
||||
cfn=(4) line2000 [1/2]
|
||||
calls=0 * 4
|
||||
* * 1000
|
||||
|
||||
ob=(1)
|
||||
fl=(2)
|
||||
fn=(5) line2000
|
||||
-4096 4 0
|
||||
cfl=(2)
|
||||
cfn=(6) line2001 [2/2]
|
||||
calls=0 -4096 9
|
||||
* * 1000
|
||||
* 4 0
|
||||
cfl=(2)
|
||||
cfn=(7) line2001 [1/2]
|
||||
calls=0 * 9
|
||||
* * 10
|
||||
|
||||
ob=(1)
|
||||
fl=(2)
|
||||
fn=(2)
|
||||
* 9 0
|
||||
cfl=(1)
|
||||
cfn=(8) line1000 [1/2]
|
||||
calls=0 -4096 1
|
||||
* * 1000
|
||||
|
||||
ob=(1)
|
||||
fl=(3)
|
||||
fn=(9) line3000
|
||||
+4096 6 0
|
||||
cfl=(3)
|
||||
cfn=(10) line3001 [1/2]
|
||||
calls=0 +4096 5
|
||||
* * 1010
|
||||
|
||||
ob=(1)
|
||||
fl=(3)
|
||||
fn=(11) line3001
|
||||
* 5 0
|
||||
cfl=(3)
|
||||
cfn=(12) line3002 [1/2]
|
||||
calls=0 * 2
|
||||
* * 1010
|
||||
|
||||
ob=(1)
|
||||
fl=(3)
|
||||
fn=(9)
|
||||
+1 9 0
|
||||
cfl=(3)
|
||||
cfn=(13) line3001 [2/2]
|
||||
calls=0 +1 8
|
||||
* * 100
|
||||
|
||||
ob=(1)
|
||||
fl=(3)
|
||||
fn=(11)
|
||||
* 8 0
|
||||
cfl=(1)
|
||||
cfn=(14) line1000 [2/2]
|
||||
calls=0 -8193 1
|
||||
* * 100
|
||||
|
||||
ob=(1)
|
||||
fl=(3)
|
||||
fn=(9)
|
||||
+1 9 0
|
||||
cfl=(3)
|
||||
cfn=(15) line3002 [2/2]
|
||||
calls=0 +1 5
|
||||
* * 10
|
||||
|
||||
ob=(1)
|
||||
fl=(3)
|
||||
fn=(3)
|
||||
* 5 0
|
||||
cfl=(2)
|
||||
cfn=(16) line2000 [2/2]
|
||||
calls=0 -4098 4
|
||||
* * 10
|
||||
88
plugin/debug/pkg/internal/driver/testdata/pprof.cpu.callgrind
vendored
Normal file
88
plugin/debug/pkg/internal/driver/testdata/pprof.cpu.callgrind
vendored
Normal file
@@ -0,0 +1,88 @@
|
||||
positions: instr line
|
||||
events: cpu(ms)
|
||||
|
||||
ob=(1) /path/to/testbinary
|
||||
fl=(1) testdata/file1000.src
|
||||
fn=(1) line1000
|
||||
0x1000 1 1100
|
||||
|
||||
ob=(1)
|
||||
fl=(2) testdata/file2000.src
|
||||
fn=(2) line2001
|
||||
+4096 9 10
|
||||
cfl=(1)
|
||||
cfn=(1)
|
||||
calls=0 * 1
|
||||
* * 1000
|
||||
|
||||
ob=(1)
|
||||
fl=(3) testdata/file3000.src
|
||||
fn=(3) line3002
|
||||
+4096 2 10
|
||||
cfl=(2)
|
||||
cfn=(4) line2000
|
||||
calls=0 * 4
|
||||
* * 1000
|
||||
|
||||
ob=(1)
|
||||
fl=(2)
|
||||
fn=(4)
|
||||
-4096 4 0
|
||||
cfl=(2)
|
||||
cfn=(2)
|
||||
calls=0 -4096 9
|
||||
* * 1010
|
||||
|
||||
ob=(1)
|
||||
fl=(3)
|
||||
fn=(5) line3000
|
||||
+4096 6 0
|
||||
cfl=(3)
|
||||
cfn=(6) line3001
|
||||
calls=0 +4096 5
|
||||
* * 1010
|
||||
|
||||
ob=(1)
|
||||
fl=(3)
|
||||
fn=(6)
|
||||
* 5 0
|
||||
cfl=(3)
|
||||
cfn=(3)
|
||||
calls=0 * 2
|
||||
* * 1010
|
||||
|
||||
ob=(1)
|
||||
fl=(3)
|
||||
fn=(5)
|
||||
+1 9 0
|
||||
cfl=(3)
|
||||
cfn=(6)
|
||||
calls=0 +1 8
|
||||
* * 100
|
||||
|
||||
ob=(1)
|
||||
fl=(3)
|
||||
fn=(6)
|
||||
* 8 0
|
||||
cfl=(1)
|
||||
cfn=(1)
|
||||
calls=0 -8193 1
|
||||
* * 100
|
||||
|
||||
ob=(1)
|
||||
fl=(3)
|
||||
fn=(5)
|
||||
+1 9 0
|
||||
cfl=(3)
|
||||
cfn=(3)
|
||||
calls=0 +1 5
|
||||
* * 10
|
||||
|
||||
ob=(1)
|
||||
fl=(3)
|
||||
fn=(3)
|
||||
* 5 0
|
||||
cfl=(2)
|
||||
cfn=(4)
|
||||
calls=0 -4098 4
|
||||
* * 10
|
||||
1
plugin/debug/pkg/internal/driver/testdata/pprof.cpu.comments
vendored
Normal file
1
plugin/debug/pkg/internal/driver/testdata/pprof.cpu.comments
vendored
Normal file
@@ -0,0 +1 @@
|
||||
some-comment
|
||||
8
plugin/debug/pkg/internal/driver/testdata/pprof.cpu.cum.lines.text.focus.hide
vendored
Normal file
8
plugin/debug/pkg/internal/driver/testdata/pprof.cpu.cum.lines.text.focus.hide
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
Active filters:
|
||||
focus=[12]00
|
||||
hide=line[X3]0
|
||||
Showing nodes accounting for 1.11s, 99.11% of 1.12s total
|
||||
flat flat% sum% cum cum%
|
||||
1.10s 98.21% 98.21% 1.10s 98.21% line1000 testdata/file1000.src:1
|
||||
0 0% 98.21% 1.01s 90.18% line2000 testdata/file2000.src:4
|
||||
0.01s 0.89% 99.11% 1.01s 90.18% line2001 testdata/file2000.src:9 (inline)
|
||||
7
plugin/debug/pkg/internal/driver/testdata/pprof.cpu.cum.lines.text.hide
vendored
Normal file
7
plugin/debug/pkg/internal/driver/testdata/pprof.cpu.cum.lines.text.hide
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
Active filters:
|
||||
hide=line[X3]0
|
||||
Showing nodes accounting for 1.11s, 99.11% of 1.12s total
|
||||
flat flat% sum% cum cum%
|
||||
1.10s 98.21% 98.21% 1.10s 98.21% line1000 testdata/file1000.src:1
|
||||
0 0% 98.21% 1.01s 90.18% line2000 testdata/file2000.src:4
|
||||
0.01s 0.89% 99.11% 1.01s 90.18% line2001 testdata/file2000.src:9 (inline)
|
||||
7
plugin/debug/pkg/internal/driver/testdata/pprof.cpu.cum.lines.text.show
vendored
Normal file
7
plugin/debug/pkg/internal/driver/testdata/pprof.cpu.cum.lines.text.show
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
Active filters:
|
||||
show=[12]00
|
||||
Showing nodes accounting for 1.11s, 99.11% of 1.12s total
|
||||
flat flat% sum% cum cum%
|
||||
1.10s 98.21% 98.21% 1.10s 98.21% line1000 testdata/file1000.src:1
|
||||
0 0% 98.21% 1.01s 90.18% line2000 testdata/file2000.src:4
|
||||
0.01s 0.89% 99.11% 1.01s 90.18% line2001 testdata/file2000.src:9 (inline)
|
||||
5
plugin/debug/pkg/internal/driver/testdata/pprof.cpu.cum.lines.topproto.hide
vendored
Normal file
5
plugin/debug/pkg/internal/driver/testdata/pprof.cpu.cum.lines.topproto.hide
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
Active filters:
|
||||
hide=mangled[X3]0
|
||||
Showing nodes accounting for 1s, 100% of 1s total
|
||||
flat flat% sum% cum cum%
|
||||
1s 100% 100% 1s 100% mangled1000 testdata/file1000.src:1
|
||||
16
plugin/debug/pkg/internal/driver/testdata/pprof.cpu.cum.lines.tree.show_from
vendored
Normal file
16
plugin/debug/pkg/internal/driver/testdata/pprof.cpu.cum.lines.tree.show_from
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
Active filters:
|
||||
show_from=line2
|
||||
Showing nodes accounting for 1.01s, 90.18% of 1.12s total
|
||||
----------------------------------------------------------+-------------
|
||||
flat flat% sum% cum cum% calls calls% + context
|
||||
----------------------------------------------------------+-------------
|
||||
0 0% 0% 1.01s 90.18% | line2000 testdata/file2000.src:4
|
||||
1.01s 100% | line2001 testdata/file2000.src:9 (inline)
|
||||
----------------------------------------------------------+-------------
|
||||
1.01s 100% | line2000 testdata/file2000.src:4 (inline)
|
||||
0.01s 0.89% 0.89% 1.01s 90.18% | line2001 testdata/file2000.src:9
|
||||
1s 99.01% | line1000 testdata/file1000.src:1
|
||||
----------------------------------------------------------+-------------
|
||||
1s 100% | line2001 testdata/file2000.src:9
|
||||
1s 89.29% 90.18% 1s 89.29% | line1000 testdata/file1000.src:1
|
||||
----------------------------------------------------------+-------------
|
||||
14
plugin/debug/pkg/internal/driver/testdata/pprof.cpu.flat.addresses.disasm
vendored
Normal file
14
plugin/debug/pkg/internal/driver/testdata/pprof.cpu.flat.addresses.disasm
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
Total: 1.12s
|
||||
ROUTINE ======================== line1000
|
||||
1.10s 1.10s (flat, cum) 98.21% of Total
|
||||
1.10s 1.10s 1000: instruction one ;line1000 file1000.src:1
|
||||
. . 1001: instruction two
|
||||
. . 1002: instruction three ;line1000 file1000.src:2
|
||||
. . 1003: instruction four ;line1000 file1000.src:1
|
||||
ROUTINE ======================== line3000
|
||||
10ms 1.12s (flat, cum) 100% of Total
|
||||
10ms 1.01s 3000: instruction one ;line3000 file3000.src:6
|
||||
. 100ms 3001: instruction two ;line3000 file3000.src:9
|
||||
. 10ms 3002: instruction three
|
||||
. . 3003: instruction four ;line3000 file3000.src
|
||||
. . 3004: instruction five
|
||||
7
plugin/debug/pkg/internal/driver/testdata/pprof.cpu.flat.addresses.noinlines.text
vendored
Normal file
7
plugin/debug/pkg/internal/driver/testdata/pprof.cpu.flat.addresses.noinlines.text
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
Showing nodes accounting for 1.12s, 100% of 1.12s total
|
||||
Dropped 1 node (cum <= 0.06s)
|
||||
flat flat% sum% cum cum%
|
||||
1.10s 98.21% 98.21% 1.10s 98.21% 0000000000001000 line1000 testdata/file1000.src:1
|
||||
0.01s 0.89% 99.11% 1.01s 90.18% 0000000000002000 line2000 testdata/file2000.src:4
|
||||
0.01s 0.89% 100% 1.01s 90.18% 0000000000003000 line3000 testdata/file3000.src:6
|
||||
0 0% 100% 0.10s 8.93% 0000000000003001 line3000 testdata/file3000.src:9
|
||||
101
plugin/debug/pkg/internal/driver/testdata/pprof.cpu.flat.addresses.weblist
vendored
Normal file
101
plugin/debug/pkg/internal/driver/testdata/pprof.cpu.flat.addresses.weblist
vendored
Normal file
@@ -0,0 +1,101 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>testbinary cpu</title>
|
||||
|
||||
<style type="text/css">
|
||||
body #content{
|
||||
font-family: sans-serif;
|
||||
}
|
||||
h1 {
|
||||
font-size: 1.5em;
|
||||
}
|
||||
.legend {
|
||||
font-size: 1.25em;
|
||||
}
|
||||
.line, .nop, .unimportant {
|
||||
color: #aaaaaa;
|
||||
}
|
||||
.inlinesrc {
|
||||
color: #000066;
|
||||
}
|
||||
.livesrc {
|
||||
cursor: pointer;
|
||||
}
|
||||
.livesrc:hover {
|
||||
background-color: #eeeeee;
|
||||
}
|
||||
.asm {
|
||||
color: #008800;
|
||||
display: none;
|
||||
}
|
||||
</style>
|
||||
<script type="text/javascript">
|
||||
function pprof_toggle_asm(e) {
|
||||
var target;
|
||||
if (!e) e = window.event;
|
||||
if (e.target) target = e.target;
|
||||
else if (e.srcElement) target = e.srcElement;
|
||||
|
||||
if (target) {
|
||||
var asm = target.nextSibling;
|
||||
if (asm && asm.className == "asm") {
|
||||
asm.style.display = (asm.style.display == "block" ? "" : "block");
|
||||
e.preventDefault();
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="legend">File: testbinary<br>
|
||||
Type: cpu<br>
|
||||
Duration: 10s, Total samples = 1.12s (11.20%)<br>Total: 1.12s</div><h2>line1000</h2><p class="filename">testdata/file1000.src</p>
|
||||
<pre onClick="pprof_toggle_asm(event)">
|
||||
Total: 1.10s 1.10s (flat, cum) 98.21%
|
||||
<span class=line> 1</span> <span class=livesrc> 1.10s 1.10s line1 </span><span class=asm> 1.10s 1.10s 1000: instruction one <span class=unimportant>file1000.src:1</span>
|
||||
. . 1001: instruction two <span class=unimportant>file1000.src:1</span>
|
||||
⋮
|
||||
. . 1003: instruction four <span class=unimportant>file1000.src:1</span>
|
||||
</span>
|
||||
<span class=line> 2</span> <span class=livesrc> . . line2 </span><span class=asm> . . 1002: instruction three <span class=unimportant>file1000.src:2</span>
|
||||
</span>
|
||||
<span class=line> 3</span> <span class=nop> . . line3 </span>
|
||||
<span class=line> 4</span> <span class=nop> . . line4 </span>
|
||||
<span class=line> 5</span> <span class=nop> . . line5 </span>
|
||||
<span class=line> 6</span> <span class=nop> . . line6 </span>
|
||||
<span class=line> 7</span> <span class=nop> . . line7 </span>
|
||||
</pre>
|
||||
<h2>line3000</h2><p class="filename">testdata/file3000.src</p>
|
||||
<pre onClick="pprof_toggle_asm(event)">
|
||||
Total: 10ms 1.12s (flat, cum) 100%
|
||||
<span class=line> 1</span> <span class=nop> . . line1 </span>
|
||||
<span class=line> 2</span> <span class=nop> . . line2 </span>
|
||||
<span class=line> 3</span> <span class=nop> . . line3 </span>
|
||||
<span class=line> 4</span> <span class=nop> . . line4 </span>
|
||||
<span class=line> 5</span> <span class=nop> . . line5 </span>
|
||||
<span class=line> 6</span> <span class=livesrc> 10ms 1.01s line6 </span><span class=asm> <span class=inlinesrc> line5 </span> <span class=unimportant>file3000.src:5</span>
|
||||
<span class=inlinesrc> line2 </span> <span class=unimportant>file3000.src:2</span>
|
||||
10ms 1.01s 3000: instruction one <span class=unimportant>file3000.src:2</span>
|
||||
</span>
|
||||
<span class=line> 7</span> <span class=nop> . . line7 </span>
|
||||
<span class=line> 8</span> <span class=nop> . . line8 </span>
|
||||
<span class=line> 9</span> <span class=livesrc> . 110ms line9 </span><span class=asm> <span class=inlinesrc> line8 </span> <span class=unimportant>file3000.src:8</span>
|
||||
. 100ms 3001: instruction two <span class=unimportant>file3000.src:8</span>
|
||||
<span class=inlinesrc> line5 </span> <span class=unimportant>file3000.src:5</span>
|
||||
. 10ms 3002: instruction three <span class=unimportant>file3000.src:5</span>
|
||||
. . 3003: instruction four <span class=unimportant></span>
|
||||
. . 3004: instruction five <span class=unimportant></span>
|
||||
</span>
|
||||
<span class=line> 10</span> <span class=nop> . . line0 </span>
|
||||
<span class=line> 11</span> <span class=nop> . . line1 </span>
|
||||
<span class=line> 12</span> <span class=nop> . . line2 </span>
|
||||
<span class=line> 13</span> <span class=nop> . . line3 </span>
|
||||
<span class=line> 14</span> <span class=nop> . . line4 </span>
|
||||
</pre>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
5
plugin/debug/pkg/internal/driver/testdata/pprof.cpu.flat.filefunctions.noinlines.text
vendored
Normal file
5
plugin/debug/pkg/internal/driver/testdata/pprof.cpu.flat.filefunctions.noinlines.text
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
Showing nodes accounting for 1.12s, 100% of 1.12s total
|
||||
flat flat% sum% cum cum%
|
||||
1.10s 98.21% 98.21% 1.10s 98.21% line1000 testdata/file1000.src
|
||||
0.01s 0.89% 99.11% 1.01s 90.18% line2000 testdata/file2000.src
|
||||
0.01s 0.89% 100% 1.12s 100% line3000 testdata/file3000.src
|
||||
21
plugin/debug/pkg/internal/driver/testdata/pprof.cpu.flat.functions.call_tree.dot
vendored
Normal file
21
plugin/debug/pkg/internal/driver/testdata/pprof.cpu.flat.functions.call_tree.dot
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
digraph "testbinary" {
|
||||
node [style=filled fillcolor="#f8f8f8"]
|
||||
subgraph cluster_L { "File: testbinary" [shape=box fontsize=16 label="File: testbinary\lType: cpu\lDuration: 10s, Total samples = 1.12s (11.20%)\lShowing nodes accounting for 1.11s, 99.11% of 1.12s total\lDropped 3 nodes (cum <= 0.06s)\l\lSee https://git.io/JfYMW for how to read the graph\l" tooltip="testbinary"] }
|
||||
N1 [label="line1000\n1s (89.29%)" id="node1" fontsize=24 shape=box tooltip="line1000 (1s)" color="#b20500" fillcolor="#edd6d5"]
|
||||
N1_0 [label = "key1:tag1\nkey2:tag1" id="N1_0" fontsize=8 shape=box3d tooltip="1s"]
|
||||
N1 -> N1_0 [label=" 1s" weight=100 tooltip="1s" labeltooltip="1s"]
|
||||
N2 [label="line3000\n0 of 1.12s (100%)" id="node2" fontsize=8 shape=box tooltip="line3000 (1.12s)" color="#b20000" fillcolor="#edd5d5"]
|
||||
N3 [label="line3001\n0 of 1.11s (99.11%)" id="node3" fontsize=8 shape=box tooltip="line3001 (1.11s)" color="#b20000" fillcolor="#edd5d5"]
|
||||
N4 [label="line1000\n0.10s (8.93%)" id="node4" fontsize=14 shape=box tooltip="line1000 (0.10s)" color="#b28b62" fillcolor="#ede8e2"]
|
||||
N4_0 [label = "key1:tag2\nkey3:tag2" id="N4_0" fontsize=8 shape=box3d tooltip="0.10s"]
|
||||
N4 -> N4_0 [label=" 0.10s" weight=100 tooltip="0.10s" labeltooltip="0.10s"]
|
||||
N5 [label="line3002\n0.01s (0.89%)\nof 1.01s (90.18%)" id="node5" fontsize=10 shape=box tooltip="line3002 (1.01s)" color="#b20500" fillcolor="#edd6d5"]
|
||||
N6 [label="line2000\n0 of 1s (89.29%)" id="node6" fontsize=8 shape=box tooltip="line2000 (1s)" color="#b20500" fillcolor="#edd6d5"]
|
||||
N7 [label="line2001\n0 of 1s (89.29%)" id="node7" fontsize=8 shape=box tooltip="line2001 (1s)" color="#b20500" fillcolor="#edd6d5"]
|
||||
N2 -> N3 [label=" 1.11s\n (inline)" weight=100 penwidth=5 color="#b20000" tooltip="line3000 -> line3001 (1.11s)" labeltooltip="line3000 -> line3001 (1.11s)"]
|
||||
N3 -> N5 [label=" 1.01s\n (inline)" weight=91 penwidth=5 color="#b20500" tooltip="line3001 -> line3002 (1.01s)" labeltooltip="line3001 -> line3002 (1.01s)"]
|
||||
N6 -> N7 [label=" 1s\n (inline)" weight=90 penwidth=5 color="#b20500" tooltip="line2000 -> line2001 (1s)" labeltooltip="line2000 -> line2001 (1s)"]
|
||||
N7 -> N1 [label=" 1s" weight=90 penwidth=5 color="#b20500" tooltip="line2001 -> line1000 (1s)" labeltooltip="line2001 -> line1000 (1s)"]
|
||||
N5 -> N6 [label=" 1s" weight=90 penwidth=5 color="#b20500" tooltip="line3002 -> line2000 (1s)" labeltooltip="line3002 -> line2000 (1s)"]
|
||||
N3 -> N4 [label=" 0.10s" weight=9 color="#b28b62" tooltip="line3001 -> line1000 (0.10s)" labeltooltip="line3001 -> line1000 (0.10s)"]
|
||||
}
|
||||
20
plugin/debug/pkg/internal/driver/testdata/pprof.cpu.flat.functions.dot
vendored
Normal file
20
plugin/debug/pkg/internal/driver/testdata/pprof.cpu.flat.functions.dot
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
digraph "testbinary" {
|
||||
node [style=filled fillcolor="#f8f8f8"]
|
||||
subgraph cluster_L { "File: testbinary" [shape=box fontsize=16 label="File: testbinary\lType: cpu\lDuration: 10s, Total samples = 1.12s (11.20%)\lShowing nodes accounting for 1.12s, 100% of 1.12s total\l\lSee https://git.io/JfYMW for how to read the graph\l" tooltip="testbinary"] }
|
||||
N1 [label="line1000\n1.10s (98.21%)" id="node1" fontsize=24 shape=box tooltip="line1000 (1.10s)" color="#b20000" fillcolor="#edd5d5"]
|
||||
N1_0 [label = "key1:tag1\nkey2:tag1" id="N1_0" fontsize=8 shape=box3d tooltip="1s"]
|
||||
N1 -> N1_0 [label=" 1s" weight=100 tooltip="1s" labeltooltip="1s"]
|
||||
N1_1 [label = "key1:tag2\nkey3:tag2" id="N1_1" fontsize=8 shape=box3d tooltip="0.10s"]
|
||||
N1 -> N1_1 [label=" 0.10s" weight=100 tooltip="0.10s" labeltooltip="0.10s"]
|
||||
N2 [label="line3000\n0 of 1.12s (100%)" id="node2" fontsize=8 shape=box tooltip="line3000 (1.12s)" color="#b20000" fillcolor="#edd5d5"]
|
||||
N3 [label="line3001\n0 of 1.11s (99.11%)" id="node3" fontsize=8 shape=box tooltip="line3001 (1.11s)" color="#b20000" fillcolor="#edd5d5"]
|
||||
N4 [label="line3002\n0.01s (0.89%)\nof 1.02s (91.07%)" id="node4" fontsize=10 shape=box tooltip="line3002 (1.02s)" color="#b20400" fillcolor="#edd6d5"]
|
||||
N5 [label="line2001\n0.01s (0.89%)\nof 1.01s (90.18%)" id="node5" fontsize=10 shape=box tooltip="line2001 (1.01s)" color="#b20500" fillcolor="#edd6d5"]
|
||||
N6 [label="line2000\n0 of 1.01s (90.18%)" id="node6" fontsize=8 shape=box tooltip="line2000 (1.01s)" color="#b20500" fillcolor="#edd6d5"]
|
||||
N2 -> N3 [label=" 1.11s\n (inline)" weight=100 penwidth=5 color="#b20000" tooltip="line3000 -> line3001 (1.11s)" labeltooltip="line3000 -> line3001 (1.11s)"]
|
||||
N6 -> N5 [label=" 1.01s\n (inline)" weight=91 penwidth=5 color="#b20500" tooltip="line2000 -> line2001 (1.01s)" labeltooltip="line2000 -> line2001 (1.01s)"]
|
||||
N3 -> N4 [label=" 1.01s\n (inline)" weight=91 penwidth=5 color="#b20500" tooltip="line3001 -> line3002 (1.01s)" labeltooltip="line3001 -> line3002 (1.01s)"]
|
||||
N4 -> N6 [label=" 1.01s" weight=91 penwidth=5 color="#b20500" tooltip="line3002 -> line2000 (1.01s)" labeltooltip="line3002 -> line2000 (1.01s)"]
|
||||
N5 -> N1 [label=" 1s" weight=90 penwidth=5 color="#b20500" tooltip="line2001 -> line1000 (1s)" labeltooltip="line2001 -> line1000 (1s)"]
|
||||
N3 -> N1 [label=" 0.10s" weight=9 color="#b28b62" tooltip="line3001 -> line1000 (0.10s)" labeltooltip="line3001 -> line1000 (0.10s)"]
|
||||
}
|
||||
5
plugin/debug/pkg/internal/driver/testdata/pprof.cpu.flat.functions.noinlines.text
vendored
Normal file
5
plugin/debug/pkg/internal/driver/testdata/pprof.cpu.flat.functions.noinlines.text
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
Showing nodes accounting for 1.12s, 100% of 1.12s total
|
||||
flat flat% sum% cum cum%
|
||||
1.10s 98.21% 98.21% 1.10s 98.21% line1000
|
||||
0.01s 0.89% 99.11% 1.01s 90.18% line2000
|
||||
0.01s 0.89% 100% 1.12s 100% line3000
|
||||
8
plugin/debug/pkg/internal/driver/testdata/pprof.cpu.flat.functions.text
vendored
Normal file
8
plugin/debug/pkg/internal/driver/testdata/pprof.cpu.flat.functions.text
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
Showing nodes accounting for 1.12s, 100% of 1.12s total
|
||||
flat flat% sum% cum cum%
|
||||
1.10s 98.21% 98.21% 1.10s 98.21% line1000
|
||||
0.01s 0.89% 99.11% 1.01s 90.18% line2001 (inline)
|
||||
0.01s 0.89% 100% 1.02s 91.07% line3002 (inline)
|
||||
0 0% 100% 1.01s 90.18% line2000
|
||||
0 0% 100% 1.12s 100% line3000
|
||||
0 0% 100% 1.11s 99.11% line3001 (inline)
|
||||
3
plugin/debug/pkg/internal/driver/testdata/pprof.cpu.lines.topproto
vendored
Normal file
3
plugin/debug/pkg/internal/driver/testdata/pprof.cpu.lines.topproto
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
Showing nodes accounting for 1s, 100% of 1s total
|
||||
flat flat% sum% cum cum%
|
||||
1s 100% 100% 1s 100% mangled1000 testdata/file1000.src:1
|
||||
13
plugin/debug/pkg/internal/driver/testdata/pprof.cpu.peek
vendored
Normal file
13
plugin/debug/pkg/internal/driver/testdata/pprof.cpu.peek
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
Showing nodes accounting for 1.12s, 100% of 1.12s total
|
||||
----------------------------------------------------------+-------------
|
||||
flat flat% sum% cum cum% calls calls% + context
|
||||
----------------------------------------------------------+-------------
|
||||
1.01s 100% | line2000 (inline)
|
||||
0.01s 0.89% 0.89% 1.01s 90.18% | line2001
|
||||
1s 99.01% | line1000
|
||||
----------------------------------------------------------+-------------
|
||||
1.11s 100% | line3000 (inline)
|
||||
0 0% 0.89% 1.11s 99.11% | line3001
|
||||
1.01s 90.99% | line3002 (inline)
|
||||
0.10s 9.01% | line1000
|
||||
----------------------------------------------------------+-------------
|
||||
13
plugin/debug/pkg/internal/driver/testdata/pprof.cpu.tags
vendored
Normal file
13
plugin/debug/pkg/internal/driver/testdata/pprof.cpu.tags
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
key1: Total 1.1s
|
||||
1.0s (89.29%): tag1
|
||||
100.0ms ( 8.93%): tag2
|
||||
10.0ms ( 0.89%): tag3
|
||||
10.0ms ( 0.89%): tag4
|
||||
|
||||
key2: Total 1.0s
|
||||
1.0s (99.02%): tag1
|
||||
10.0ms ( 0.98%): tag2
|
||||
|
||||
key3: Total 100.0ms
|
||||
100.0ms ( 100%): tag2
|
||||
|
||||
6
plugin/debug/pkg/internal/driver/testdata/pprof.cpu.tags.focus.ignore
vendored
Normal file
6
plugin/debug/pkg/internal/driver/testdata/pprof.cpu.tags.focus.ignore
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
key1: Total 100.0ms
|
||||
100.0ms ( 100%): tag2
|
||||
|
||||
key3: Total 100.0ms
|
||||
100.0ms ( 100%): tag2
|
||||
|
||||
32
plugin/debug/pkg/internal/driver/testdata/pprof.cpu.traces
vendored
Normal file
32
plugin/debug/pkg/internal/driver/testdata/pprof.cpu.traces
vendored
Normal file
@@ -0,0 +1,32 @@
|
||||
File: testbinary
|
||||
Type: cpu
|
||||
Duration: 10s, Total samples = 1.12s (11.20%)
|
||||
-----------+-------------------------------------------------------
|
||||
key1: tag1
|
||||
key2: tag1
|
||||
1s line1000
|
||||
line2001 (inline)
|
||||
line2000
|
||||
line3002 (inline)
|
||||
line3001 (inline)
|
||||
line3000
|
||||
-----------+-------------------------------------------------------
|
||||
key1: tag2
|
||||
key3: tag2
|
||||
100ms line1000
|
||||
line3001 (inline)
|
||||
line3000
|
||||
-----------+-------------------------------------------------------
|
||||
key1: tag3
|
||||
key2: tag2
|
||||
10ms line2001 (inline)
|
||||
line2000
|
||||
line3002 (inline)
|
||||
line3000
|
||||
-----------+-------------------------------------------------------
|
||||
key1: tag4
|
||||
key2: tag1
|
||||
10ms line3002 (inline)
|
||||
line3001 (inline)
|
||||
line3000
|
||||
-----------+-------------------------------------------------------
|
||||
17
plugin/debug/pkg/internal/driver/testdata/pprof.cpusmall.flat.addresses.tree
vendored
Normal file
17
plugin/debug/pkg/internal/driver/testdata/pprof.cpusmall.flat.addresses.tree
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
Showing nodes accounting for 4s, 100% of 4s total
|
||||
Showing top 4 nodes out of 5
|
||||
----------------------------------------------------------+-------------
|
||||
flat flat% sum% cum cum% calls calls% + context
|
||||
----------------------------------------------------------+-------------
|
||||
1s 100% | 0000000000003000 [testbinary]
|
||||
1s 25.00% 25.00% 1s 25.00% | 0000000000001000 [testbinary]
|
||||
----------------------------------------------------------+-------------
|
||||
1s 25.00% 50.00% 2s 50.00% | 0000000000003000 [testbinary]
|
||||
1s 50.00% | 0000000000001000 [testbinary]
|
||||
----------------------------------------------------------+-------------
|
||||
1s 100% | 0000000000005000 [testbinary]
|
||||
1s 25.00% 75.00% 1s 25.00% | 0000000000004000 [testbinary]
|
||||
----------------------------------------------------------+-------------
|
||||
1s 25.00% 100% 2s 50.00% | 0000000000005000 [testbinary]
|
||||
1s 50.00% | 0000000000004000 [testbinary]
|
||||
----------------------------------------------------------+-------------
|
||||
88
plugin/debug/pkg/internal/driver/testdata/pprof.heap.callgrind
vendored
Normal file
88
plugin/debug/pkg/internal/driver/testdata/pprof.heap.callgrind
vendored
Normal file
@@ -0,0 +1,88 @@
|
||||
positions: instr line
|
||||
events: inuse_space(MB)
|
||||
|
||||
ob=
|
||||
fl=(1) testdata/file2000.src
|
||||
fn=(1) line2001
|
||||
0x2000 2 62
|
||||
cfl=(2) testdata/file1000.src
|
||||
cfn=(2) line1000
|
||||
calls=0 0x1000 1
|
||||
* * 0
|
||||
|
||||
ob=
|
||||
fl=(3) testdata/file3000.src
|
||||
fn=(3) line3002
|
||||
+4096 3 31
|
||||
cfl=(1)
|
||||
cfn=(4) line2000
|
||||
calls=0 * 3
|
||||
* * 0
|
||||
|
||||
ob=
|
||||
fl=(2)
|
||||
fn=(2)
|
||||
-8192 1 4
|
||||
|
||||
ob=
|
||||
fl=(1)
|
||||
fn=(4)
|
||||
+4096 3 0
|
||||
cfl=(1)
|
||||
cfn=(1)
|
||||
calls=0 +4096 2
|
||||
* * 63
|
||||
|
||||
ob=
|
||||
fl=(3)
|
||||
fn=(5) line3000
|
||||
+4096 4 0
|
||||
cfl=(3)
|
||||
cfn=(6) line3001
|
||||
calls=0 +4096 2
|
||||
* * 32
|
||||
|
||||
ob=
|
||||
fl=(3)
|
||||
fn=(6)
|
||||
* 2 0
|
||||
cfl=(3)
|
||||
cfn=(3)
|
||||
calls=0 * 3
|
||||
* * 32
|
||||
|
||||
ob=
|
||||
fl=(3)
|
||||
fn=(5)
|
||||
+1 4 0
|
||||
cfl=(3)
|
||||
cfn=(6)
|
||||
calls=0 +1 2
|
||||
* * 3
|
||||
|
||||
ob=
|
||||
fl=(3)
|
||||
fn=(6)
|
||||
* 2 0
|
||||
cfl=(2)
|
||||
cfn=(2)
|
||||
calls=0 -8193 1
|
||||
* * 3
|
||||
|
||||
ob=
|
||||
fl=(3)
|
||||
fn=(5)
|
||||
+1 4 0
|
||||
cfl=(3)
|
||||
cfn=(3)
|
||||
calls=0 +1 3
|
||||
* * 62
|
||||
|
||||
ob=
|
||||
fl=(3)
|
||||
fn=(3)
|
||||
* 3 0
|
||||
cfl=(1)
|
||||
cfn=(4)
|
||||
calls=0 -4098 3
|
||||
* * 62
|
||||
2
plugin/debug/pkg/internal/driver/testdata/pprof.heap.comments
vendored
Normal file
2
plugin/debug/pkg/internal/driver/testdata/pprof.heap.comments
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
comment
|
||||
#hidden comment
|
||||
21
plugin/debug/pkg/internal/driver/testdata/pprof.heap.cum.lines.tree.focus
vendored
Normal file
21
plugin/debug/pkg/internal/driver/testdata/pprof.heap.cum.lines.tree.focus
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
Active filters:
|
||||
focus=[24]00
|
||||
Showing nodes accounting for 62.50MB, 63.37% of 98.63MB total
|
||||
Dropped 2 nodes (cum <= 4.93MB)
|
||||
----------------------------------------------------------+-------------
|
||||
flat flat% sum% cum cum% calls calls% + context
|
||||
----------------------------------------------------------+-------------
|
||||
63.48MB 100% | line3002 testdata/file3000.src:3
|
||||
0 0% 0% 63.48MB 64.36% | line2000 testdata/file2000.src:3
|
||||
63.48MB 100% | line2001 testdata/file2000.src:2 (inline)
|
||||
----------------------------------------------------------+-------------
|
||||
63.48MB 100% | line2000 testdata/file2000.src:3 (inline)
|
||||
62.50MB 63.37% 63.37% 63.48MB 64.36% | line2001 testdata/file2000.src:2
|
||||
----------------------------------------------------------+-------------
|
||||
0 0% 63.37% 63.48MB 64.36% | line3000 testdata/file3000.src:4
|
||||
63.48MB 100% | line3002 testdata/file3000.src:3 (inline)
|
||||
----------------------------------------------------------+-------------
|
||||
63.48MB 100% | line3000 testdata/file3000.src:4 (inline)
|
||||
0 0% 63.37% 63.48MB 64.36% | line3002 testdata/file3000.src:3
|
||||
63.48MB 100% | line2000 testdata/file2000.src:3
|
||||
----------------------------------------------------------+-------------
|
||||
21
plugin/debug/pkg/internal/driver/testdata/pprof.heap.cum.relative_percentages.tree.focus
vendored
Normal file
21
plugin/debug/pkg/internal/driver/testdata/pprof.heap.cum.relative_percentages.tree.focus
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
Active filters:
|
||||
focus=[24]00
|
||||
Showing nodes accounting for 62.50MB, 98.46% of 63.48MB total
|
||||
Dropped 2 nodes (cum <= 3.17MB)
|
||||
----------------------------------------------------------+-------------
|
||||
flat flat% sum% cum cum% calls calls% + context
|
||||
----------------------------------------------------------+-------------
|
||||
63.48MB 100% | line3002
|
||||
0 0% 0% 63.48MB 100% | line2000
|
||||
63.48MB 100% | line2001 (inline)
|
||||
----------------------------------------------------------+-------------
|
||||
63.48MB 100% | line2000 (inline)
|
||||
62.50MB 98.46% 98.46% 63.48MB 100% | line2001
|
||||
----------------------------------------------------------+-------------
|
||||
0 0% 98.46% 63.48MB 100% | line3000
|
||||
63.48MB 100% | line3002 (inline)
|
||||
----------------------------------------------------------+-------------
|
||||
63.48MB 100% | line3000 (inline)
|
||||
0 0% 98.46% 63.48MB 100% | line3002
|
||||
63.48MB 100% | line2000
|
||||
----------------------------------------------------------+-------------
|
||||
2
plugin/debug/pkg/internal/driver/testdata/pprof.heap.flat.files.seconds.text
vendored
Normal file
2
plugin/debug/pkg/internal/driver/testdata/pprof.heap.flat.files.seconds.text
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
Showing nodes accounting for 0, 0% of 0 total
|
||||
flat flat% sum% cum cum%
|
||||
5
plugin/debug/pkg/internal/driver/testdata/pprof.heap.flat.files.text
vendored
Normal file
5
plugin/debug/pkg/internal/driver/testdata/pprof.heap.flat.files.text
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
Showing nodes accounting for 93.75MB, 95.05% of 98.63MB total
|
||||
Dropped 1 node (cum <= 4.93MB)
|
||||
flat flat% sum% cum cum%
|
||||
62.50MB 63.37% 63.37% 63.48MB 64.36% testdata/file2000.src
|
||||
31.25MB 31.68% 95.05% 98.63MB 100% testdata/file3000.src
|
||||
8
plugin/debug/pkg/internal/driver/testdata/pprof.heap.flat.files.text.focus
vendored
Normal file
8
plugin/debug/pkg/internal/driver/testdata/pprof.heap.flat.files.text.focus
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
Active filters:
|
||||
focus=[12]00
|
||||
taghide=[X3]00
|
||||
Showing nodes accounting for 67.38MB, 68.32% of 98.63MB total
|
||||
flat flat% sum% cum cum%
|
||||
62.50MB 63.37% 63.37% 63.48MB 64.36% testdata/file2000.src
|
||||
4.88MB 4.95% 68.32% 4.88MB 4.95% testdata/file1000.src
|
||||
0 0% 68.32% 67.38MB 68.32% testdata/file3000.src
|
||||
8
plugin/debug/pkg/internal/driver/testdata/pprof.heap.flat.inuse_objects.text
vendored
Normal file
8
plugin/debug/pkg/internal/driver/testdata/pprof.heap.flat.inuse_objects.text
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
Showing nodes accounting for 150, 100% of 150 total
|
||||
flat flat% sum% cum cum%
|
||||
80 53.33% 53.33% 130 86.67% line3002 (inline)
|
||||
40 26.67% 80.00% 50 33.33% line2001 (inline)
|
||||
30 20.00% 100% 30 20.00% line1000
|
||||
0 0% 100% 50 33.33% line2000
|
||||
0 0% 100% 150 100% line3000
|
||||
0 0% 100% 110 73.33% line3001 (inline)
|
||||
13
plugin/debug/pkg/internal/driver/testdata/pprof.heap.flat.inuse_space.dot.focus
vendored
Normal file
13
plugin/debug/pkg/internal/driver/testdata/pprof.heap.flat.inuse_space.dot.focus
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
digraph "unnamed" {
|
||||
node [style=filled fillcolor="#f8f8f8"]
|
||||
subgraph cluster_L { "Build ID: buildid" [shape=box fontsize=16 label="Build ID: buildid\lcomment\lType: inuse_space\lActive filters:\l tagfocus=1mb:2gb\lShowing nodes accounting for 62.50MB, 63.37% of 98.63MB total\l\lSee https://git.io/JfYMW for how to read the graph\l"] }
|
||||
N1 [label="line2001\n62.50MB (63.37%)" id="node1" fontsize=24 shape=box tooltip="line2001 (62.50MB)" color="#b21600" fillcolor="#edd8d5"]
|
||||
NN1_0 [label = "1.56MB" id="NN1_0" fontsize=8 shape=box3d tooltip="62.50MB"]
|
||||
N1 -> NN1_0 [label=" 62.50MB" weight=100 tooltip="62.50MB" labeltooltip="62.50MB"]
|
||||
N2 [label="line3000\n0 of 62.50MB (63.37%)" id="node2" fontsize=8 shape=box tooltip="line3000 (62.50MB)" color="#b21600" fillcolor="#edd8d5"]
|
||||
N3 [label="line2000\n0 of 62.50MB (63.37%)" id="node3" fontsize=8 shape=box tooltip="line2000 (62.50MB)" color="#b21600" fillcolor="#edd8d5"]
|
||||
N4 [label="line3002\n0 of 62.50MB (63.37%)" id="node4" fontsize=8 shape=box tooltip="line3002 (62.50MB)" color="#b21600" fillcolor="#edd8d5"]
|
||||
N3 -> N1 [label=" 62.50MB\n (inline)" weight=64 penwidth=4 color="#b21600" tooltip="line2000 -> line2001 (62.50MB)" labeltooltip="line2000 -> line2001 (62.50MB)"]
|
||||
N2 -> N4 [label=" 62.50MB\n (inline)" weight=64 penwidth=4 color="#b21600" tooltip="line3000 -> line3002 (62.50MB)" labeltooltip="line3000 -> line3002 (62.50MB)"]
|
||||
N4 -> N3 [label=" 62.50MB" weight=64 penwidth=4 color="#b21600" tooltip="line3002 -> line2000 (62.50MB)" labeltooltip="line3002 -> line2000 (62.50MB)"]
|
||||
}
|
||||
16
plugin/debug/pkg/internal/driver/testdata/pprof.heap.flat.inuse_space.dot.focus.ignore
vendored
Normal file
16
plugin/debug/pkg/internal/driver/testdata/pprof.heap.flat.inuse_space.dot.focus.ignore
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
digraph "unnamed" {
|
||||
node [style=filled fillcolor="#f8f8f8"]
|
||||
subgraph cluster_L { "Build ID: buildid" [shape=box fontsize=16 label="Build ID: buildid\lcomment\lType: inuse_space\lActive filters:\l tagfocus=30kb:\l tagignore=1mb:2mb\lShowing nodes accounting for 36.13MB, 36.63% of 98.63MB total\lDropped 2 nodes (cum <= 4.93MB)\l\lSee https://git.io/JfYMW for how to read the graph\l"] }
|
||||
N1 [label="line3002\n31.25MB (31.68%)\nof 32.23MB (32.67%)" id="node1" fontsize=24 shape=box tooltip="line3002 (32.23MB)" color="#b23200" fillcolor="#eddcd5"]
|
||||
NN1_0 [label = "400kB" id="NN1_0" fontsize=8 shape=box3d tooltip="31.25MB"]
|
||||
N1 -> NN1_0 [label=" 31.25MB" weight=100 tooltip="31.25MB" labeltooltip="31.25MB"]
|
||||
N2 [label="line3000\n0 of 36.13MB (36.63%)" id="node2" fontsize=8 shape=box tooltip="line3000 (36.13MB)" color="#b22e00" fillcolor="#eddbd5"]
|
||||
N3 [label="line3001\n0 of 36.13MB (36.63%)" id="node3" fontsize=8 shape=box tooltip="line3001 (36.13MB)" color="#b22e00" fillcolor="#eddbd5"]
|
||||
N4 [label="line1000\n4.88MB (4.95%)" id="node4" fontsize=15 shape=box tooltip="line1000 (4.88MB)" color="#b2a086" fillcolor="#edeae7"]
|
||||
NN4_0 [label = "200kB" id="NN4_0" fontsize=8 shape=box3d tooltip="3.91MB"]
|
||||
N4 -> NN4_0 [label=" 3.91MB" weight=100 tooltip="3.91MB" labeltooltip="3.91MB"]
|
||||
N2 -> N3 [label=" 36.13MB\n (inline)" weight=37 penwidth=2 color="#b22e00" tooltip="line3000 -> line3001 (36.13MB)" labeltooltip="line3000 -> line3001 (36.13MB)"]
|
||||
N3 -> N1 [label=" 32.23MB\n (inline)" weight=33 penwidth=2 color="#b23200" tooltip="line3001 -> line3002 (32.23MB)" labeltooltip="line3001 -> line3002 (32.23MB)"]
|
||||
N3 -> N4 [label=" 3.91MB" weight=4 color="#b2a58f" tooltip="line3001 -> line1000 (3.91MB)" labeltooltip="line3001 -> line1000 (3.91MB)"]
|
||||
N1 -> N4 [label=" 0.98MB" color="#b2b0a9" tooltip="line3002 ... line1000 (0.98MB)" labeltooltip="line3002 ... line1000 (0.98MB)" style="dotted" minlen=2]
|
||||
}
|
||||
21
plugin/debug/pkg/internal/driver/testdata/pprof.heap.flat.lines.dot.focus
vendored
Normal file
21
plugin/debug/pkg/internal/driver/testdata/pprof.heap.flat.lines.dot.focus
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
digraph "unnamed" {
|
||||
node [style=filled fillcolor="#f8f8f8"]
|
||||
subgraph cluster_L { "Build ID: buildid" [shape=box fontsize=16 label="Build ID: buildid\lcomment\lType: inuse_space\lActive filters:\l focus=[12]00\lShowing nodes accounting for 67.38MB, 68.32% of 98.63MB total\l\lSee https://git.io/JfYMW for how to read the graph\l"] }
|
||||
N1 [label="line3000\nfile3000.src:4\n0 of 67.38MB (68.32%)" id="node1" fontsize=8 shape=box tooltip="line3000 testdata/file3000.src:4 (67.38MB)" color="#b21300" fillcolor="#edd7d5"]
|
||||
N2 [label="line2001\nfile2000.src:2\n62.50MB (63.37%)\nof 63.48MB (64.36%)" id="node2" fontsize=24 shape=box tooltip="line2001 testdata/file2000.src:2 (63.48MB)" color="#b21600" fillcolor="#edd8d5"]
|
||||
NN2_0 [label = "1.56MB" id="NN2_0" fontsize=8 shape=box3d tooltip="62.50MB"]
|
||||
N2 -> NN2_0 [label=" 62.50MB" weight=100 tooltip="62.50MB" labeltooltip="62.50MB"]
|
||||
N3 [label="line1000\nfile1000.src:1\n4.88MB (4.95%)" id="node3" fontsize=13 shape=box tooltip="line1000 testdata/file1000.src:1 (4.88MB)" color="#b2a086" fillcolor="#edeae7"]
|
||||
NN3_0 [label = "200kB" id="NN3_0" fontsize=8 shape=box3d tooltip="3.91MB"]
|
||||
N3 -> NN3_0 [label=" 3.91MB" weight=100 tooltip="3.91MB" labeltooltip="3.91MB"]
|
||||
N4 [label="line3002\nfile3000.src:3\n0 of 63.48MB (64.36%)" id="node4" fontsize=8 shape=box tooltip="line3002 testdata/file3000.src:3 (63.48MB)" color="#b21600" fillcolor="#edd8d5"]
|
||||
N5 [label="line3001\nfile3000.src:2\n0 of 4.88MB (4.95%)" id="node5" fontsize=8 shape=box tooltip="line3001 testdata/file3000.src:2 (4.88MB)" color="#b2a086" fillcolor="#edeae7"]
|
||||
N6 [label="line2000\nfile2000.src:3\n0 of 63.48MB (64.36%)" id="node6" fontsize=8 shape=box tooltip="line2000 testdata/file2000.src:3 (63.48MB)" color="#b21600" fillcolor="#edd8d5"]
|
||||
N6 -> N2 [label=" 63.48MB\n (inline)" weight=65 penwidth=4 color="#b21600" tooltip="line2000 testdata/file2000.src:3 -> line2001 testdata/file2000.src:2 (63.48MB)" labeltooltip="line2000 testdata/file2000.src:3 -> line2001 testdata/file2000.src:2 (63.48MB)"]
|
||||
N4 -> N6 [label=" 63.48MB" weight=65 penwidth=4 color="#b21600" tooltip="line3002 testdata/file3000.src:3 -> line2000 testdata/file2000.src:3 (63.48MB)" labeltooltip="line3002 testdata/file3000.src:3 -> line2000 testdata/file2000.src:3 (63.48MB)"]
|
||||
N1 -> N4 [label=" 62.50MB\n (inline)" weight=64 penwidth=4 color="#b21600" tooltip="line3000 testdata/file3000.src:4 -> line3002 testdata/file3000.src:3 (62.50MB)" labeltooltip="line3000 testdata/file3000.src:4 -> line3002 testdata/file3000.src:3 (62.50MB)"]
|
||||
N1 -> N5 [label=" 4.88MB\n (inline)" weight=5 color="#b2a086" tooltip="line3000 testdata/file3000.src:4 -> line3001 testdata/file3000.src:2 (4.88MB)" labeltooltip="line3000 testdata/file3000.src:4 -> line3001 testdata/file3000.src:2 (4.88MB)"]
|
||||
N5 -> N3 [label=" 3.91MB" weight=4 color="#b2a58f" tooltip="line3001 testdata/file3000.src:2 -> line1000 testdata/file1000.src:1 (3.91MB)" labeltooltip="line3001 testdata/file3000.src:2 -> line1000 testdata/file1000.src:1 (3.91MB)"]
|
||||
N2 -> N3 [label=" 0.98MB" color="#b2b0a9" tooltip="line2001 testdata/file2000.src:2 -> line1000 testdata/file1000.src:1 (0.98MB)" labeltooltip="line2001 testdata/file2000.src:2 -> line1000 testdata/file1000.src:1 (0.98MB)" minlen=2]
|
||||
N5 -> N4 [label=" 0.98MB\n (inline)" color="#b2b0a9" tooltip="line3001 testdata/file3000.src:2 -> line3002 testdata/file3000.src:3 (0.98MB)" labeltooltip="line3001 testdata/file3000.src:2 -> line3002 testdata/file3000.src:3 (0.98MB)"]
|
||||
}
|
||||
6
plugin/debug/pkg/internal/driver/testdata/pprof.heap.tags
vendored
Normal file
6
plugin/debug/pkg/internal/driver/testdata/pprof.heap.tags
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
bytes: Total 98.6MB
|
||||
62.5MB (63.37%): 1.56MB
|
||||
31.2MB (31.68%): 400kB
|
||||
3.9MB ( 3.96%): 200kB
|
||||
1000.0kB ( 0.99%): 100kB
|
||||
|
||||
6
plugin/debug/pkg/internal/driver/testdata/pprof.heap.tags.unit
vendored
Normal file
6
plugin/debug/pkg/internal/driver/testdata/pprof.heap.tags.unit
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
bytes: Total 103424000.0B
|
||||
65536000.0B (63.37%): 1638400B
|
||||
32768000.0B (31.68%): 409600B
|
||||
4096000.0B ( 3.96%): 204800B
|
||||
1024000.0B ( 0.99%): 102400B
|
||||
|
||||
8
plugin/debug/pkg/internal/driver/testdata/pprof.heap_alloc.flat.alloc_objects.text
vendored
Normal file
8
plugin/debug/pkg/internal/driver/testdata/pprof.heap_alloc.flat.alloc_objects.text
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
Showing nodes accounting for 150, 100% of 150 total
|
||||
flat flat% sum% cum cum%
|
||||
80 53.33% 53.33% 130 86.67% line3002 (inline)
|
||||
40 26.67% 80.00% 50 33.33% line2001 (inline)
|
||||
30 20.00% 100% 30 20.00% line1000
|
||||
0 0% 100% 50 33.33% line2000
|
||||
0 0% 100% 150 100% line3000
|
||||
0 0% 100% 110 73.33% line3001 (inline)
|
||||
14
plugin/debug/pkg/internal/driver/testdata/pprof.heap_alloc.flat.alloc_space.dot
vendored
Normal file
14
plugin/debug/pkg/internal/driver/testdata/pprof.heap_alloc.flat.alloc_space.dot
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
digraph "unnamed" {
|
||||
node [style=filled fillcolor="#f8f8f8"]
|
||||
subgraph cluster_L { "Build ID: buildid" [shape=box fontsize=16 label="Build ID: buildid\lcomment\lType: alloc_space\lActive filters:\l tagshow=[2]00\lShowing nodes accounting for 93.75MB, 95.05% of 98.63MB total\lDropped 1 node (cum <= 4.93MB)\l\lSee https://git.io/JfYMW for how to read the graph\l"] }
|
||||
N1 [label="line3002\n31.25MB (31.68%)\nof 94.73MB (96.04%)" id="node1" fontsize=20 shape=box tooltip="line3002 (94.73MB)" color="#b20200" fillcolor="#edd5d5"]
|
||||
N2 [label="line3000\n0 of 98.63MB (100%)" id="node2" fontsize=8 shape=box tooltip="line3000 (98.63MB)" color="#b20000" fillcolor="#edd5d5"]
|
||||
N3 [label="line2001\n62.50MB (63.37%)\nof 63.48MB (64.36%)" id="node3" fontsize=24 shape=box tooltip="line2001 (63.48MB)" color="#b21600" fillcolor="#edd8d5"]
|
||||
N4 [label="line2000\n0 of 63.48MB (64.36%)" id="node4" fontsize=8 shape=box tooltip="line2000 (63.48MB)" color="#b21600" fillcolor="#edd8d5"]
|
||||
N5 [label="line3001\n0 of 36.13MB (36.63%)" id="node5" fontsize=8 shape=box tooltip="line3001 (36.13MB)" color="#b22e00" fillcolor="#eddbd5"]
|
||||
N4 -> N3 [label=" 63.48MB\n (inline)" weight=65 penwidth=4 color="#b21600" tooltip="line2000 -> line2001 (63.48MB)" labeltooltip="line2000 -> line2001 (63.48MB)"]
|
||||
N1 -> N4 [label=" 63.48MB" weight=65 penwidth=4 color="#b21600" tooltip="line3002 -> line2000 (63.48MB)" labeltooltip="line3002 -> line2000 (63.48MB)"]
|
||||
N2 -> N1 [label=" 62.50MB\n (inline)" weight=64 penwidth=4 color="#b21600" tooltip="line3000 -> line3002 (62.50MB)" labeltooltip="line3000 -> line3002 (62.50MB)"]
|
||||
N2 -> N5 [label=" 36.13MB\n (inline)" weight=37 penwidth=2 color="#b22e00" tooltip="line3000 -> line3001 (36.13MB)" labeltooltip="line3000 -> line3001 (36.13MB)"]
|
||||
N5 -> N1 [label=" 32.23MB\n (inline)" weight=33 penwidth=2 color="#b23200" tooltip="line3001 -> line3002 (32.23MB)" labeltooltip="line3001 -> line3002 (32.23MB)"]
|
||||
}
|
||||
18
plugin/debug/pkg/internal/driver/testdata/pprof.heap_alloc.flat.alloc_space.dot.focus
vendored
Normal file
18
plugin/debug/pkg/internal/driver/testdata/pprof.heap_alloc.flat.alloc_space.dot.focus
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
digraph "unnamed" {
|
||||
node [style=filled fillcolor="#f8f8f8"]
|
||||
subgraph cluster_L { "Build ID: buildid" [shape=box fontsize=16 label="Build ID: buildid\lcomment\lType: alloc_space\lActive filters:\l focus=[234]00\lShowing nodes accounting for 93.75MB, 95.05% of 98.63MB total\lDropped 1 node (cum <= 4.93MB)\l\lSee https://git.io/JfYMW for how to read the graph\l"] }
|
||||
N1 [label="line3002\n31.25MB (31.68%)\nof 94.73MB (96.04%)" id="node1" fontsize=20 shape=box tooltip="line3002 (94.73MB)" color="#b20200" fillcolor="#edd5d5"]
|
||||
NN1_0 [label = "400kB" id="NN1_0" fontsize=8 shape=box3d tooltip="31.25MB"]
|
||||
N1 -> NN1_0 [label=" 31.25MB" weight=100 tooltip="31.25MB" labeltooltip="31.25MB"]
|
||||
N2 [label="line3000\n0 of 98.63MB (100%)" id="node2" fontsize=8 shape=box tooltip="line3000 (98.63MB)" color="#b20000" fillcolor="#edd5d5"]
|
||||
N3 [label="line2001\n62.50MB (63.37%)\nof 63.48MB (64.36%)" id="node3" fontsize=24 shape=box tooltip="line2001 (63.48MB)" color="#b21600" fillcolor="#edd8d5"]
|
||||
NN3_0 [label = "1.56MB" id="NN3_0" fontsize=8 shape=box3d tooltip="62.50MB"]
|
||||
N3 -> NN3_0 [label=" 62.50MB" weight=100 tooltip="62.50MB" labeltooltip="62.50MB"]
|
||||
N4 [label="line2000\n0 of 63.48MB (64.36%)" id="node4" fontsize=8 shape=box tooltip="line2000 (63.48MB)" color="#b21600" fillcolor="#edd8d5"]
|
||||
N5 [label="line3001\n0 of 36.13MB (36.63%)" id="node5" fontsize=8 shape=box tooltip="line3001 (36.13MB)" color="#b22e00" fillcolor="#eddbd5"]
|
||||
N4 -> N3 [label=" 63.48MB\n (inline)" weight=65 penwidth=4 color="#b21600" tooltip="line2000 -> line2001 (63.48MB)" labeltooltip="line2000 -> line2001 (63.48MB)"]
|
||||
N1 -> N4 [label=" 63.48MB" weight=65 penwidth=4 color="#b21600" tooltip="line3002 -> line2000 (63.48MB)" labeltooltip="line3002 -> line2000 (63.48MB)" minlen=2]
|
||||
N2 -> N1 [label=" 62.50MB\n (inline)" weight=64 penwidth=4 color="#b21600" tooltip="line3000 -> line3002 (62.50MB)" labeltooltip="line3000 -> line3002 (62.50MB)"]
|
||||
N2 -> N5 [label=" 36.13MB\n (inline)" weight=37 penwidth=2 color="#b22e00" tooltip="line3000 -> line3001 (36.13MB)" labeltooltip="line3000 -> line3001 (36.13MB)"]
|
||||
N5 -> N1 [label=" 32.23MB\n (inline)" weight=33 penwidth=2 color="#b23200" tooltip="line3001 -> line3002 (32.23MB)" labeltooltip="line3001 -> line3002 (32.23MB)"]
|
||||
}
|
||||
11
plugin/debug/pkg/internal/driver/testdata/pprof.heap_alloc.flat.alloc_space.dot.hide
vendored
Normal file
11
plugin/debug/pkg/internal/driver/testdata/pprof.heap_alloc.flat.alloc_space.dot.hide
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
digraph "unnamed" {
|
||||
node [style=filled fillcolor="#f8f8f8"]
|
||||
subgraph cluster_L { "Build ID: buildid" [shape=box fontsize=16 label="Build ID: buildid\lcomment\lType: alloc_space\lActive filters:\l hide=line.*1?23?\lShowing nodes accounting for 93.75MB, 95.05% of 98.63MB total\lDropped 1 node (cum <= 4.93MB)\l\lSee https://git.io/JfYMW for how to read the graph\l"] }
|
||||
N1 [label="line3000\n62.50MB (63.37%)\nof 98.63MB (100%)" id="node1" fontsize=24 shape=box tooltip="line3000 (98.63MB)" color="#b20000" fillcolor="#edd5d5"]
|
||||
NN1_0 [label = "1.56MB" id="NN1_0" fontsize=8 shape=box3d tooltip="62.50MB"]
|
||||
N1 -> NN1_0 [label=" 62.50MB" weight=100 tooltip="62.50MB" labeltooltip="62.50MB"]
|
||||
N2 [label="line3001\n31.25MB (31.68%)\nof 36.13MB (36.63%)" id="node2" fontsize=20 shape=box tooltip="line3001 (36.13MB)" color="#b22e00" fillcolor="#eddbd5"]
|
||||
NN2_0 [label = "400kB" id="NN2_0" fontsize=8 shape=box3d tooltip="31.25MB"]
|
||||
N2 -> NN2_0 [label=" 31.25MB" weight=100 tooltip="31.25MB" labeltooltip="31.25MB"]
|
||||
N1 -> N2 [label=" 36.13MB\n (inline)" weight=37 penwidth=2 color="#b22e00" tooltip="line3000 -> line3001 (36.13MB)" labeltooltip="line3000 -> line3001 (36.13MB)" minlen=2]
|
||||
}
|
||||
8
plugin/debug/pkg/internal/driver/testdata/pprof.heap_request.tags.focus
vendored
Normal file
8
plugin/debug/pkg/internal/driver/testdata/pprof.heap_request.tags.focus
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
bytes: Total 93.8MB
|
||||
62.5MB (66.67%): 1.56MB
|
||||
31.2MB (33.33%): 400kB
|
||||
|
||||
request: Total 93.8MB
|
||||
62.5MB (66.67%): 1.56MB
|
||||
31.2MB (33.33%): 400kB
|
||||
|
||||
30
plugin/debug/pkg/internal/driver/testdata/pprof.heap_sizetags.dot
vendored
Normal file
30
plugin/debug/pkg/internal/driver/testdata/pprof.heap_sizetags.dot
vendored
Normal file
@@ -0,0 +1,30 @@
|
||||
digraph "unnamed" {
|
||||
node [style=filled fillcolor="#f8f8f8"]
|
||||
subgraph cluster_L { "Build ID: buildid" [shape=box fontsize=16 label="Build ID: buildid\lcomment\lType: inuse_space\lShowing nodes accounting for 93.75MB, 95.05% of 98.63MB total\lDropped 1 node (cum <= 4.93MB)\l\lSee https://git.io/JfYMW for how to read the graph\l"] }
|
||||
N1 [label="line3002\n31.25MB (31.68%)\nof 94.73MB (96.04%)" id="node1" fontsize=20 shape=box tooltip="line3002 (94.73MB)" color="#b20200" fillcolor="#edd5d5"]
|
||||
NN1_0 [label = "16B..64B" id="NN1_0" fontsize=8 shape=box3d tooltip="93.75MB"]
|
||||
N1 -> NN1_0 [label=" 93.75MB" weight=100 tooltip="93.75MB" labeltooltip="93.75MB"]
|
||||
NN1_1 [label = "2B..8B" id="NN1_1" fontsize=8 shape=box3d tooltip="93.75MB"]
|
||||
N1 -> NN1_1 [label=" 93.75MB" weight=100 tooltip="93.75MB" labeltooltip="93.75MB"]
|
||||
NN1_2 [label = "256B..1.56MB" id="NN1_2" fontsize=8 shape=box3d tooltip="62.50MB"]
|
||||
N1 -> NN1_2 [label=" 62.50MB" weight=100 tooltip="62.50MB" labeltooltip="62.50MB"]
|
||||
NN1_3 [label = "128B" id="NN1_3" fontsize=8 shape=box3d tooltip="31.25MB"]
|
||||
N1 -> NN1_3 [label=" 31.25MB" weight=100 tooltip="31.25MB" labeltooltip="31.25MB"]
|
||||
N2 [label="line3000\n0 of 98.63MB (100%)" id="node2" fontsize=8 shape=box tooltip="line3000 (98.63MB)" color="#b20000" fillcolor="#edd5d5"]
|
||||
N3 [label="line2001\n62.50MB (63.37%)\nof 63.48MB (64.36%)" id="node3" fontsize=24 shape=box tooltip="line2001 (63.48MB)" color="#b21600" fillcolor="#edd8d5"]
|
||||
NN3_0 [label = "16B..64B" id="NN3_0" fontsize=8 shape=box3d tooltip="190.43MB"]
|
||||
N3 -> NN3_0 [label=" 190.43MB" weight=100 tooltip="190.43MB" labeltooltip="190.43MB" style="dotted"]
|
||||
NN3_1 [label = "2B..8B" id="NN3_1" fontsize=8 shape=box3d tooltip="190.43MB"]
|
||||
N3 -> NN3_1 [label=" 190.43MB" weight=100 tooltip="190.43MB" labeltooltip="190.43MB" style="dotted"]
|
||||
NN3_2 [label = "256B..1.56MB" id="NN3_2" fontsize=8 shape=box3d tooltip="125.98MB"]
|
||||
N3 -> NN3_2 [label=" 125.98MB" weight=100 tooltip="125.98MB" labeltooltip="125.98MB" style="dotted"]
|
||||
NN3_3 [label = "128B" id="NN3_3" fontsize=8 shape=box3d tooltip="63.48MB"]
|
||||
N3 -> NN3_3 [label=" 63.48MB" weight=100 tooltip="63.48MB" labeltooltip="63.48MB" style="dotted"]
|
||||
N4 [label="line2000\n0 of 63.48MB (64.36%)" id="node4" fontsize=8 shape=box tooltip="line2000 (63.48MB)" color="#b21600" fillcolor="#edd8d5"]
|
||||
N5 [label="line3001\n0 of 36.13MB (36.63%)" id="node5" fontsize=8 shape=box tooltip="line3001 (36.13MB)" color="#b22e00" fillcolor="#eddbd5"]
|
||||
N4 -> N3 [label=" 63.48MB\n (inline)" weight=65 penwidth=4 color="#b21600" tooltip="line2000 -> line2001 (63.48MB)" labeltooltip="line2000 -> line2001 (63.48MB)"]
|
||||
N1 -> N4 [label=" 63.48MB" weight=65 penwidth=4 color="#b21600" tooltip="line3002 -> line2000 (63.48MB)" labeltooltip="line3002 -> line2000 (63.48MB)" minlen=2]
|
||||
N2 -> N1 [label=" 62.50MB\n (inline)" weight=64 penwidth=4 color="#b21600" tooltip="line3000 -> line3002 (62.50MB)" labeltooltip="line3000 -> line3002 (62.50MB)"]
|
||||
N2 -> N5 [label=" 36.13MB\n (inline)" weight=37 penwidth=2 color="#b22e00" tooltip="line3000 -> line3001 (36.13MB)" labeltooltip="line3000 -> line3001 (36.13MB)"]
|
||||
N5 -> N1 [label=" 32.23MB\n (inline)" weight=33 penwidth=2 color="#b23200" tooltip="line3001 -> line3002 (32.23MB)" labeltooltip="line3001 -> line3002 (32.23MB)"]
|
||||
}
|
||||
32
plugin/debug/pkg/internal/driver/testdata/pprof.heap_tags.traces
vendored
Normal file
32
plugin/debug/pkg/internal/driver/testdata/pprof.heap_tags.traces
vendored
Normal file
@@ -0,0 +1,32 @@
|
||||
Build ID: buildid
|
||||
comment
|
||||
Type: inuse_space
|
||||
-----------+-------------------------------------------------------
|
||||
key1: tag
|
||||
bytes: 100kB
|
||||
request: 100kB
|
||||
1000kB line1000
|
||||
line2001 (inline)
|
||||
line2000
|
||||
line3002 (inline)
|
||||
line3001 (inline)
|
||||
line3000
|
||||
-----------+-------------------------------------------------------
|
||||
bytes: 200kB
|
||||
3.91MB line1000
|
||||
line3001 (inline)
|
||||
line3000
|
||||
-----------+-------------------------------------------------------
|
||||
key1: tag
|
||||
bytes: 1.56MB
|
||||
request: 1.56MB
|
||||
62.50MB line2001 (inline)
|
||||
line2000
|
||||
line3002 (inline)
|
||||
line3000
|
||||
-----------+-------------------------------------------------------
|
||||
bytes: 400kB
|
||||
31.25MB line3002 (inline)
|
||||
line3001 (inline)
|
||||
line3000
|
||||
-----------+-------------------------------------------------------
|
||||
9
plugin/debug/pkg/internal/driver/testdata/pprof.long_name_funcs.dot
vendored
Normal file
9
plugin/debug/pkg/internal/driver/testdata/pprof.long_name_funcs.dot
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
digraph "testbinary" {
|
||||
node [style=filled fillcolor="#f8f8f8"]
|
||||
subgraph cluster_L { "File: testbinary" [shape=box fontsize=16 label="File: testbinary\lType: cpu\lDuration: 10s, Total samples = 1.11s (11.10%)\lShowing nodes accounting for 1.11s, 100% of 1.11s total\l\lSee https://git.io/JfYMW for how to read the graph\l" tooltip="testbinary"] }
|
||||
N1 [label="package1\nobject\nfunction1\n1.10s (99.10%)" id="node1" fontsize=24 shape=box tooltip="path/to/package1.object.function1 (1.10s)" color="#b20000" fillcolor="#edd5d5"]
|
||||
N2 [label="FooBar\nrun\n0.01s (0.9%)\nof 1.01s (90.99%)" id="node2" fontsize=10 shape=box tooltip="java.bar.foo.FooBar.run(java.lang.Runnable) (1.01s)" color="#b20400" fillcolor="#edd6d5"]
|
||||
N3 [label="Bar\nFoo\n0 of 1.10s (99.10%)" id="node3" fontsize=8 shape=box tooltip="(anonymous namespace)::Bar::Foo (1.10s)" color="#b20000" fillcolor="#edd5d5"]
|
||||
N3 -> N1 [label=" 1.10s" weight=100 penwidth=5 color="#b20000" tooltip="(anonymous namespace)::Bar::Foo -> path/to/package1.object.function1 (1.10s)" labeltooltip="(anonymous namespace)::Bar::Foo -> path/to/package1.object.function1 (1.10s)"]
|
||||
N2 -> N3 [label=" 1s" weight=91 penwidth=5 color="#b20500" tooltip="java.bar.foo.FooBar.run(java.lang.Runnable) -> (anonymous namespace)::Bar::Foo (1s)" labeltooltip="java.bar.foo.FooBar.run(java.lang.Runnable) -> (anonymous namespace)::Bar::Foo (1s)"]
|
||||
}
|
||||
5
plugin/debug/pkg/internal/driver/testdata/pprof.long_name_funcs.text
vendored
Normal file
5
plugin/debug/pkg/internal/driver/testdata/pprof.long_name_funcs.text
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
Showing nodes accounting for 1.11s, 100% of 1.11s total
|
||||
flat flat% sum% cum cum%
|
||||
1.10s 99.10% 99.10% 1.10s 99.10% path/to/package1.object.function1
|
||||
0.01s 0.9% 100% 1.01s 90.99% java.bar.foo.FooBar.run(java.lang.Runnable)
|
||||
0 0% 100% 1.10s 99.10% (anonymous namespace)::Bar::Foo
|
||||
8
plugin/debug/pkg/internal/driver/testdata/pprof.unknown.flat.functions.call_tree.text
vendored
Normal file
8
plugin/debug/pkg/internal/driver/testdata/pprof.unknown.flat.functions.call_tree.text
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
Showing nodes accounting for 1.12s, 100% of 1.12s total
|
||||
Showing top 5 nodes out of 6
|
||||
flat flat% sum% cum cum%
|
||||
1.10s 98.21% 98.21% 1.10s 98.21% line1000
|
||||
0.01s 0.89% 99.11% 1.01s 90.18% line2001 (inline)
|
||||
0.01s 0.89% 100% 1.02s 91.07% line3002 (inline)
|
||||
0 0% 100% 1.01s 90.18% line2000
|
||||
0 0% 100% 1.12s 100% line3000
|
||||
Reference in New Issue
Block a user