Skip to content

Commit 14e71ff

Browse files
committed
chore: update snapshots
1 parent f8dc510 commit 14e71ff

7 files changed

Lines changed: 36 additions & 154 deletions

callgrind-utils/tests/python_callgraph.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@ struct TopologyGraph<'a> {
114114
}
115115

116116
#[test]
117+
#[ignore]
117118
fn python_topology_json() {
118119
if !have_python3() {
119120
eprintln!("skipping python_topology_json: python3 not on PATH");
@@ -157,6 +158,7 @@ fn python_topology_json() {
157158
/// Rendered from the RAW graph (redaction collapses libc/ld into a non-root
158159
/// `???` node). Writes `python.svg` at the crate root for manual inspection.
159160
#[test]
161+
#[ignore]
160162
fn python_flamegraph() {
161163
if !have_python3() {
162164
eprintln!("skipping python_flamegraph: python3 not on PATH");

callgrind-utils/tests/snapshots/python_callgraph__recursion_py__topology_json.snap

Lines changed: 24 additions & 144 deletions
Original file line numberDiff line numberDiff line change
@@ -5,42 +5,7 @@ expression: json
55
{
66
"nodes": [
77
{
8-
"function": "GenericPyCData_new",
9-
"file": "???",
10-
"object": "_ctypes.cpython.so"
11-
},
12-
{
13-
"function": "KeepRef",
14-
"file": "???",
15-
"object": "_ctypes.cpython.so"
16-
},
17-
{
18-
"function": "PyCFuncPtr_call'2",
19-
"file": "???",
20-
"object": "_ctypes.cpython.so"
21-
},
22-
{
23-
"function": "PyCFuncPtr_new",
24-
"file": "???",
25-
"object": "_ctypes.cpython.so"
26-
},
27-
{
28-
"function": "_ctypes_callproc'2",
29-
"file": "???",
30-
"object": "_ctypes.cpython.so"
31-
},
32-
{
33-
"function": "_ctypes_get_fielddesc",
34-
"file": "???",
35-
"object": "_ctypes.cpython.so"
36-
},
37-
{
38-
"function": "_get_name",
39-
"file": "???",
40-
"object": "_ctypes.cpython.so"
41-
},
42-
{
43-
"function": "i_get",
8+
"function": "<unsymbolicated>",
449
"file": "???",
4510
"object": "_ctypes.cpython.so"
4611
},
@@ -60,162 +25,77 @@ expression: json
6025
"object": "libclgctl.so"
6126
},
6227
{
63-
"function": "ffi_call",
28+
"function": "<unsymbolicated>",
6429
"file": "???",
6530
"object": "libffi.so"
6631
},
6732
{
68-
"function": "ffi_call'2",
69-
"file": "???",
70-
"object": "libffi.so"
71-
},
72-
{
73-
"function": "ffi_call_int",
74-
"file": "???",
75-
"object": "libffi.so"
76-
},
77-
{
78-
"function": "ffi_call_int'2",
79-
"file": "???",
80-
"object": "libffi.so"
81-
},
82-
{
83-
"function": "ffi_call_unix64",
84-
"file": "???",
85-
"object": "libffi.so"
86-
},
87-
{
88-
"function": "ffi_call_unix64'2",
33+
"function": "ffi_call",
8934
"file": "???",
9035
"object": "libffi.so"
9136
},
9237
{
9338
"function": "ffi_prep_cif",
9439
"file": "???",
9540
"object": "libffi.so"
96-
},
97-
{
98-
"function": "ffi_prep_cif_machdep",
99-
"file": "???",
100-
"object": "libffi.so"
10141
}
10242
],
10343
"edges": [
10444
{
10545
"caller": 0,
106-
"callee": 8
46+
"callee": 0
10747
},
10848
{
10949
"caller": 0,
110-
"callee": 9
50+
"callee": 2
11151
},
11252
{
113-
"caller": 1,
114-
"callee": 8
53+
"caller": 0,
54+
"callee": 5
55+
},
56+
{
57+
"caller": 0,
58+
"callee": 6
11559
},
11660
{
11761
"caller": 1,
118-
"callee": 9
62+
"callee": 1
11963
},
12064
{
121-
"caller": 2,
122-
"callee": 4
65+
"caller": 1,
66+
"callee": 2
12367
},
12468
{
125-
"caller": 3,
69+
"caller": 2,
12670
"callee": 0
12771
},
12872
{
129-
"caller": 3,
73+
"caller": 2,
13074
"callee": 1
13175
},
13276
{
133-
"caller": 3,
134-
"callee": 6
135-
},
136-
{
137-
"caller": 3,
138-
"callee": 8
77+
"caller": 2,
78+
"callee": 2
13979
},
14080
{
14181
"caller": 3,
142-
"callee": 9
143-
},
144-
{
145-
"caller": 4,
146-
"callee": 8
147-
},
148-
{
149-
"caller": 4,
150-
"callee": 9
82+
"callee": 4
15183
},
15284
{
15385
"caller": 4,
154-
"callee": 12
86+
"callee": 0
15587
},
15688
{
15789
"caller": 4,
158-
"callee": 17
159-
},
160-
{
161-
"caller": 8,
162-
"callee": 8
163-
},
164-
{
165-
"caller": 8,
166-
"callee": 9
167-
},
168-
{
169-
"caller": 9,
17090
"callee": 2
17191
},
17292
{
173-
"caller": 9,
174-
"callee": 3
175-
},
176-
{
177-
"caller": 9,
178-
"callee": 8
179-
},
180-
{
181-
"caller": 9,
182-
"callee": 9
183-
},
184-
{
185-
"caller": 10,
186-
"callee": 15
187-
},
188-
{
189-
"caller": 11,
190-
"callee": 5
191-
},
192-
{
193-
"caller": 11,
194-
"callee": 7
195-
},
196-
{
197-
"caller": 11,
198-
"callee": 8
199-
},
200-
{
201-
"caller": 11,
202-
"callee": 9
203-
},
204-
{
205-
"caller": 12,
206-
"callee": 14
207-
},
208-
{
209-
"caller": 14,
210-
"callee": 16
211-
},
212-
{
213-
"caller": 15,
214-
"callee": 13
93+
"caller": 4,
94+
"callee": 4
21595
},
21696
{
217-
"caller": 17,
218-
"callee": 18
97+
"caller": 5,
98+
"callee": 4
21999
}
220100
]
221101
}

callgrind-utils/tests/snapshots/snapshot__chain_full__json.snap

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@ expression: json
3030
"object": "chain"
3131
},
3232
{
33-
"function": "0x000000000001d5c0",
33+
"function": "0x0000000000017c40",
3434
"file": "???",
35-
"object": "ld-linux-x86-64.so.2"
35+
"object": "ld-linux-aarch64.so.1"
3636
},
3737
{
3838
"function": "__libc_start_main@@GLIBC_2.34",

callgrind-utils/tests/snapshots/snapshot__diamond_full__json.snap

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@ expression: json
3535
"object": "diamond"
3636
},
3737
{
38-
"function": "0x000000000001d5c0",
38+
"function": "0x0000000000017c40",
3939
"file": "???",
40-
"object": "ld-linux-x86-64.so.2"
40+
"object": "ld-linux-aarch64.so.1"
4141
},
4242
{
4343
"function": "__libc_start_main@@GLIBC_2.34",

callgrind-utils/tests/snapshots/snapshot__fractal_full__json.snap

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,9 +145,9 @@ expression: json
145145
"object": "fractal"
146146
},
147147
{
148-
"function": "0x000000000001d5c0",
148+
"function": "0x0000000000017c40",
149149
"file": "???",
150-
"object": "ld-linux-x86-64.so.2"
150+
"object": "ld-linux-aarch64.so.1"
151151
},
152152
{
153153
"function": "__libc_start_main@@GLIBC_2.34",

callgrind-utils/tests/snapshots/snapshot__mutual_full__json.snap

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ expression: json
55
{
66
"nodes": [
77
{
8-
"function": "0x000000000001d5c0",
8+
"function": "0x0000000000017c40",
99
"file": "???",
10-
"object": "ld-linux-x86-64.so.2"
10+
"object": "ld-linux-aarch64.so.1"
1111
},
1212
{
1313
"function": "__libc_start_main@@GLIBC_2.34",

callgrind-utils/tests/snapshots/snapshot__recursion_full__json.snap

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ expression: json
55
{
66
"nodes": [
77
{
8-
"function": "0x000000000001d5c0",
8+
"function": "0x0000000000017c40",
99
"file": "???",
10-
"object": "ld-linux-x86-64.so.2"
10+
"object": "ld-linux-aarch64.so.1"
1111
},
1212
{
1313
"function": "__libc_start_main@@GLIBC_2.34",

0 commit comments

Comments
 (0)