Commit 855bb8d
trace_events: add executionAsyncId to init events
async_hooks emits trace_events. This adds the executionAsyncId to the
init events. In theory this could be inferred from the before and after
events but this is much simpler and doesn't require knowledge of all
events.
PR-URL: #17196
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>1 parent b833a59 commit 855bb8dCopy full SHA for 855bb8d
File tree
Expand file treeCollapse file tree
5 files changed
+51
-14
lines changedOpen diff view settings
Filter options
- lib/internal
- src
- test/parallel
Expand file treeCollapse file tree
5 files changed
+51
-14
lines changedOpen diff view settings
Collapse file
lib/internal/trace_events_async_hooks.js
Copy file name to clipboardExpand all lines: lib/internal/trace_events_async_hooks.js+3-1Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
28 | 28 | |
29 | 29 | |
30 | 30 | |
31 | | - |
| 31 | + |
| 32 | + |
| 33 | + |
32 | 34 | |
33 | 35 | |
34 | 36 | |
|
Collapse file
+5-2Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
708 | 708 | |
709 | 709 | |
710 | 710 | |
711 | | - |
| 711 | + |
712 | 712 | |
713 | | - |
| 713 | + |
| 714 | + |
| 715 | + |
| 716 | + |
714 | 717 | |
715 | 718 | |
716 | 719 | |
|
Collapse file
+18-7Lines changed: 18 additions & 7 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
70 | 70 | |
71 | 71 | |
72 | 72 | |
73 | | - |
74 | 73 | |
75 | 74 | |
76 | | - |
77 | | - |
78 | | - |
| 75 | + |
| 76 | + |
| 77 | + |
79 | 78 | |
80 | 79 | |
81 | 80 | |
82 | 81 | |
| 82 | + |
83 | 83 | |
84 | | - |
85 | | - |
86 | | - |
| 84 | + |
| 85 | + |
87 | 86 | |
88 | 87 | |
89 | 88 | |
| ||
94 | 93 | |
95 | 94 | |
96 | 95 | |
| 96 | + |
| 97 | + |
| 98 | + |
| 99 | + |
| 100 | + |
| 101 | + |
| 102 | + |
| 103 | + |
| 104 | + |
| 105 | + |
| 106 | + |
| 107 | + |
97 | 108 | |
98 | 109 | |
99 | 110 | |
|
Collapse file
test/parallel/test-trace-events-async-hooks.js
Copy file name to clipboardExpand all lines: test/parallel/test-trace-events-async-hooks.js+9-1Lines changed: 9 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
43 | 43 | |
44 | 44 | |
45 | 45 | |
46 | | - |
47 | 46 | |
48 | 47 | |
49 | 48 | |
| ||
54 | 53 | |
55 | 54 | |
56 | 55 | |
| 56 | + |
| 57 | + |
| 58 | + |
| 59 | + |
| 60 | + |
| 61 | + |
| 62 | + |
| 63 | + |
| 64 | + |
57 | 65 | |
58 | 66 | |
Collapse file
test/parallel/test-trace-events-binding.js
Copy file name to clipboardExpand all lines: test/parallel/test-trace-events-binding.js+16-3Lines changed: 16 additions & 3 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
10 | 10 | |
11 | 11 | |
12 | 12 | |
13 | | - |
| 13 | + |
| 14 | + |
| 15 | + |
| 16 | + |
14 | 17 | |
15 | 18 | |
16 | 19 | |
| ||
29 | 32 | |
30 | 33 | |
31 | 34 | |
32 | | - |
| 35 | + |
33 | 36 | |
34 | 37 | |
35 | 38 | |
| ||
43 | 46 | |
44 | 47 | |
45 | 48 | |
46 | | - |
| 49 | + |
| 50 | + |
| 51 | + |
| 52 | + |
| 53 | + |
| 54 | + |
| 55 | + |
| 56 | + |
| 57 | + |
| 58 | + |
| 59 | + |
47 | 60 | |
48 | 61 | |
0 commit comments