Commit 808f37c
trace_events: destroy platform before tracing
For safer shutdown, we should destroy the platform – and background
threads - before the tracing infrastructure is destroyed. This change
fixes the relative order of NodePlatform disposition and the tracing
agent shutting down. This matches the nesting order for startup.
Make the tracing agent own the tracing controller instead of platform
to match the above.
Fixes: #22865
PR-URL: #22938
Reviewed-By: Eugene Ostroukhov <eostroukhov@google.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>1 parent 264d129 commit 808f37cCopy full SHA for 808f37c
File tree
Expand file treeCollapse file tree
5 files changed
+18
-14
lines changedOpen diff view settings
Filter options
- src
- tracing
Expand file treeCollapse file tree
5 files changed
+18
-14
lines changedOpen diff view settings
Collapse file
+4-1Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
279 | 279 | |
280 | 280 | |
281 | 281 | |
| 282 | + |
282 | 283 | |
283 | 284 | |
284 | 285 | |
285 | 286 | |
286 | 287 | |
287 | | - |
288 | 288 | |
289 | 289 | |
290 | 290 | |
| 291 | + |
| 292 | + |
| 293 | + |
291 | 294 | |
292 | 295 | |
293 | 296 | |
|
Collapse file
+3-4Lines changed: 3 additions & 4 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
248 | 248 | |
249 | 249 | |
250 | 250 | |
251 | | - |
| 251 | + |
252 | 252 | |
253 | | - |
254 | | - |
| 253 | + |
255 | 254 | |
256 | 255 | |
257 | 256 | |
| ||
425 | 424 | |
426 | 425 | |
427 | 426 | |
428 | | - |
| 427 | + |
429 | 428 | |
430 | 429 | |
431 | 430 | |
|
Collapse file
+2-1Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
156 | 156 | |
157 | 157 | |
158 | 158 | |
159 | | - |
| 159 | + |
| 160 | + |
160 | 161 | |
161 | 162 | |
162 | 163 | |
|
Collapse file
+5-6Lines changed: 5 additions & 6 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
48 | 48 | |
49 | 49 | |
50 | 50 | |
51 | | - |
52 | | - |
| 51 | + |
53 | 52 | |
54 | 53 | |
55 | 54 | |
| ||
117 | 116 | |
118 | 117 | |
119 | 118 | |
120 | | - |
| 119 | + |
121 | 120 | |
122 | 121 | |
123 | 122 | |
| ||
157 | 156 | |
158 | 157 | |
159 | 158 | |
160 | | - |
| 159 | + |
161 | 160 | |
162 | 161 | |
163 | 162 | |
| ||
166 | 165 | |
167 | 166 | |
168 | 167 | |
169 | | - |
| 168 | + |
170 | 169 | |
171 | 170 | |
172 | 171 | |
173 | 172 | |
174 | 173 | |
175 | | - |
| 174 | + |
176 | 175 | |
177 | 176 | |
178 | 177 | |
|
Collapse file
+4-2Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
68 | 68 | |
69 | 69 | |
70 | 70 | |
71 | | - |
| 71 | + |
| 72 | + |
| 73 | + |
72 | 74 | |
73 | 75 | |
74 | 76 | |
| ||
119 | 121 | |
120 | 122 | |
121 | 123 | |
122 | | - |
| 124 | + |
123 | 125 | |
124 | 126 | |
125 | 127 | |
|
0 commit comments