Files
node/lib
James M Snell 1dd9c9787b src: add tracing category macros
Adds `TRACING_CATEGORY_NODE`, `TRACING_CATEGORY_NODE1` and
`TRACING_CATEGORY_NODE2` helper macros for consistently building
trace event category strings. For instance,

`TRACING_CATEGORY_NODE2(foo, bar)` would generate the category
string `node,node.foo,node.foo.bar`, such that...

```
TRACE_EVENT_NESTABLE_ASYNC_BEGIN0(
    TRACING_CATEGORY_NODE2(foo, bar),
    "baz", 1);
```

Would emit if trace events are enabled for categories: `node`,
`node.foo`, or `node.foo.bar`.

This allows a natural scoping down of what trace events a user
may want to receive. Enabling the `node` category would receive
everything Node.js produces.

PR-URL: https://github.com/nodejs/node/pull/19155
Reviewed-By: Andreas Madsen <amwebdk@gmail.com>
2018-03-09 08:09:41 -08:00
..
2018-03-09 08:09:41 -08:00
2018-03-05 08:35:44 -06:00
2018-03-05 19:51:30 +01:00
2018-02-22 13:36:22 +00:00
2018-03-05 19:51:30 +01:00
2018-03-05 19:51:30 +01:00
2018-03-05 19:51:30 +01:00
2017-08-28 00:39:42 +04:00
2018-03-05 19:51:30 +01:00
2018-03-05 19:51:30 +01:00
2018-03-05 19:51:30 +01:00
2018-03-06 07:50:01 -08:00
2016-10-04 12:17:32 -04:00
2018-03-05 19:51:30 +01:00
2018-03-05 19:51:30 +01:00
2018-03-05 19:51:30 +01:00
2017-03-10 11:23:48 -08:00
2018-03-05 19:51:30 +01:00
2018-03-05 19:51:30 +01:00
2018-03-05 19:51:30 +01:00
2018-03-05 19:51:30 +01:00
2018-03-05 19:51:30 +01:00
2018-03-05 19:51:30 +01:00
2018-03-06 13:31:56 +01:00