mirror of
https://github.com/nodejs/node.git
synced 2024-12-01 16:10:02 +01:00
5e825d1073
This commit adds the ability to enable userspace tracing with lttng in io.js. It adds tracepoints for all the equivalent dtrace and ETW tracepoints. To use these tracepoints enable --with-lttng on linux. PR-URL: https://github.com/iojs/io.js/pull/702 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Ryan Graham <ryan@strongloop.com> Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
10 lines
393 B
Python
10 lines
393 B
Python
# This file is used by tools/js2c.py to preprocess out the LTTNG symbols in
|
|
# builds that don't support LTTNG. This is not used in builds that support
|
|
# LTTNG.
|
|
macro LTTNG_HTTP_CLIENT_REQUEST(x) = ;
|
|
macro LTTNG_HTTP_CLIENT_RESPONSE(x) = ;
|
|
macro LTTNG_HTTP_SERVER_REQUEST(x) = ;
|
|
macro LTTNG_HTTP_SERVER_RESPONSE(x) = ;
|
|
macro LTTNG_NET_SERVER_CONNECTION(x) = ;
|
|
macro LTTNG_NET_STREAM_END(x) = ;
|