xref: /third_party/node/lib/internal/dtrace.js
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /third_party/node/lib/internal/
11cb0ef41Sopenharmony_ci'use strict';
21cb0ef41Sopenharmony_ci
31cb0ef41Sopenharmony_ciconst config = internalBinding('config');
41cb0ef41Sopenharmony_ci
51cb0ef41Sopenharmony_ciconst {
61cb0ef41Sopenharmony_ci  DTRACE_HTTP_CLIENT_REQUEST = () => {},
71cb0ef41Sopenharmony_ci  DTRACE_HTTP_CLIENT_RESPONSE = () => {},
81cb0ef41Sopenharmony_ci  DTRACE_HTTP_SERVER_REQUEST = () => {},
91cb0ef41Sopenharmony_ci  DTRACE_HTTP_SERVER_RESPONSE = () => {},
101cb0ef41Sopenharmony_ci  DTRACE_NET_SERVER_CONNECTION = () => {},
111cb0ef41Sopenharmony_ci  DTRACE_NET_STREAM_END = () => {},
121cb0ef41Sopenharmony_ci} = (config.hasDtrace ? internalBinding('dtrace') : {});
131cb0ef41Sopenharmony_ci
141cb0ef41Sopenharmony_cimodule.exports = {
151cb0ef41Sopenharmony_ci  DTRACE_HTTP_CLIENT_REQUEST,
161cb0ef41Sopenharmony_ci  DTRACE_HTTP_CLIENT_RESPONSE,
171cb0ef41Sopenharmony_ci  DTRACE_HTTP_SERVER_REQUEST,
181cb0ef41Sopenharmony_ci  DTRACE_HTTP_SERVER_RESPONSE,
191cb0ef41Sopenharmony_ci  DTRACE_NET_SERVER_CONNECTION,
201cb0ef41Sopenharmony_ci  DTRACE_NET_STREAM_END,
211cb0ef41Sopenharmony_ci};
22

Indexes created Thu Nov 07 10:32:03 CST 2024