Skip to content

Commit 116af37

Browse files
committed
trace_events: add new categories
1 parent 1af63a9 commit 116af37

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

src/inspector/tracing_agent.cc

+2
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,8 @@ DispatchResponse TracingAgent::getCategories(
192192
categories_list->addItem("node.vm.script");
193193
categories_list->addItem("v8");
194194
categories_list->addItem("node.http");
195+
categories_list->addItem("node.threadpoolwork.sync");
196+
categories_list->addItem("node.threadpoolwork.async");
195197
return DispatchResponse::OK();
196198
}
197199

test/parallel/test-inspector-tracing-domain.js

+2
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,8 @@ async function test() {
6666
'node.vm.script',
6767
'v8',
6868
'node.http',
69+
'node.threadpoolwork.sync',
70+
'node.threadpoolwork.async',
6971
], categories);
7072

7173
const traceConfig = { includedCategories: ['v8'] };

0 commit comments

Comments
 (0)