Skip to content

Commit

Permalink
trace_events: add new categories
Browse files Browse the repository at this point in the history
  • Loading branch information
theanarkh committed Nov 1, 2022
1 parent acd6f6c commit bb948a0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/inspector/tracing_agent.cc
Expand Up @@ -192,6 +192,8 @@ DispatchResponse TracingAgent::getCategories(
categories_list->addItem("node.vm.script");
categories_list->addItem("v8");
categories_list->addItem("node.http");
categories_list->addItem("node.threadpoolwork.sync");
categories_list->addItem("node.threadpoolwork.async");
return DispatchResponse::OK();
}

Expand Down
2 changes: 2 additions & 0 deletions test/parallel/test-inspector-tracing-domain.js
Expand Up @@ -66,6 +66,8 @@ async function test() {
'node.vm.script',
'v8',
'node.http',
'node.threadpoolwork.sync',
'node.threadpoolwork.async',
], categories);

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

0 comments on commit bb948a0

Please sign in to comment.