Server IP : 127.0.0.2 / Your IP : 3.16.50.164 Web Server : Apache/2.4.18 (Ubuntu) System : User : www-data ( ) PHP Version : 7.0.33-0ubuntu0.16.04.16 Disable Function : disk_free_space,disk_total_space,diskfreespace,dl,exec,fpaththru,getmyuid,getmypid,highlight_file,ignore_user_abord,leak,listen,link,opcache_get_configuration,opcache_get_status,passthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,php_uname,phpinfo,posix_ctermid,posix_getcwd,posix_getegid,posix_geteuid,posix_getgid,posix_getgrgid,posix_getgrnam,posix_getgroups,posix_getlogin,posix_getpgid,posix_getpgrp,posix_getpid,posix,_getppid,posix_getpwnam,posix_getpwuid,posix_getrlimit,posix_getsid,posix_getuid,posix_isatty,posix_kill,posix_mkfifo,posix_setegid,posix_seteuid,posix_setgid,posix_setpgid,posix_setsid,posix_setuid,posix_times,posix_ttyname,posix_uname,pclose,popen,proc_open,proc_close,proc_get_status,proc_nice,proc_terminate,shell_exec,source,show_source,system,virtual MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /usr/include/nodejs/src/ |
Upload File : |
#ifndef SRC_NODE_WIN32_ETW_PROVIDER_H_ #define SRC_NODE_WIN32_ETW_PROVIDER_H_ #include "node_dtrace.h" #include <evntprov.h> namespace node { #if defined(_MSC_VER) # define INLINE __forceinline #else # define INLINE inline #endif typedef ULONG (NTAPI *EventRegisterFunc)( LPCGUID ProviderId, PENABLECALLBACK EnableCallback, PVOID CallbackContext, PREGHANDLE RegHandle ); typedef ULONG (NTAPI *EventUnregisterFunc)( REGHANDLE RegHandle ); typedef ULONG (NTAPI *EventWriteFunc)( REGHANDLE RegHandle, PCEVENT_DESCRIPTOR EventDescriptor, ULONG UserDataCount, PEVENT_DATA_DESCRIPTOR UserData ); void init_etw(); void shutdown_etw(); INLINE void NODE_HTTP_SERVER_REQUEST(node_dtrace_http_server_request_t* req, node_dtrace_connection_t* conn, const char *remote, int port, const char *method, const char *url, int fd); INLINE void NODE_HTTP_SERVER_RESPONSE(node_dtrace_connection_t* conn, const char *remote, int port, int fd); INLINE void NODE_HTTP_CLIENT_REQUEST(node_dtrace_http_client_request_t* req, node_dtrace_connection_t* conn, const char *remote, int port, const char *method, const char *url, int fd); INLINE void NODE_HTTP_CLIENT_RESPONSE(node_dtrace_connection_t* conn, const char *remote, int port, int fd); INLINE void NODE_NET_SERVER_CONNECTION(node_dtrace_connection_t* conn, const char *remote, int port, int fd); INLINE void NODE_NET_STREAM_END(node_dtrace_connection_t* conn, const char *remote, int port, int fd); INLINE void NODE_GC_START(v8::GCType type, v8::GCCallbackFlags flags, v8::Isolate* isolate); INLINE void NODE_GC_DONE(v8::GCType type, v8::GCCallbackFlags flags, v8::Isolate* isolate); INLINE void NODE_V8SYMBOL_REMOVE(const void* addr1, const void* addr2); INLINE void NODE_V8SYMBOL_MOVE(const void* addr1, const void* addr2); INLINE void NODE_V8SYMBOL_RESET(); INLINE void NODE_V8SYMBOL_ADD(LPCSTR symbol, int symbol_len, const void* addr1, int len); INLINE bool NODE_HTTP_SERVER_REQUEST_ENABLED(); INLINE bool NODE_HTTP_SERVER_RESPONSE_ENABLED(); INLINE bool NODE_HTTP_CLIENT_REQUEST_ENABLED(); INLINE bool NODE_HTTP_CLIENT_RESPONSE_ENABLED(); INLINE bool NODE_NET_SERVER_CONNECTION_ENABLED(); INLINE bool NODE_NET_STREAM_END_ENABLED(); INLINE bool NODE_V8SYMBOL_ENABLED(); } // namespace node #endif // SRC_NODE_WIN32_ETW_PROVIDER_H_