Node.js
v8.x
Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine
|
#include <stddef.h>
#include "node_platform.h"
#include "v8-platform.h"
#include "trace_event_common.h"
Go to the source code of this file.
Data Structures | |
class | TraceEventHelper |
class | TraceID |
class | TraceID::WithScope |
class | TraceID::DontMangle |
class | TraceID::ForceMangle |
union | TraceValueUnion |
class | TraceStringWithCopy |
class | ScopedTracer |
Namespaces | |
node | |
node::tracing | |
Macros | |
#define | TRACE_STR_COPY(str) node::tracing::TraceStringWithCopy(str) |
#define | TRACE_ID_MANGLE(id) node::tracing::TraceID::ForceMangle(id) |
#define | TRACE_ID_DONT_MANGLE(id) node::tracing::TraceID::DontMangle(id) |
#define | TRACE_ID_WITH_SCOPE(scope, id) trace_event_internal::TraceID::WithScope(scope, id) |
#define | INTERNAL_TRACE_EVENT_CATEGORY_GROUP_ENABLED_FOR_RECORDING_MODE() |
#define | INTERNAL_TRACE_MEMORY(category, name) |
#define | TRACE_EVENT_API_GET_CATEGORY_GROUP_ENABLED |
#define | TRACE_EVENT_API_GET_NUM_TRACES_RECORDED UNIMPLEMENTED() |
#define | TRACE_EVENT_API_ADD_TRACE_EVENT node::tracing::AddTraceEventImpl |
#define | TRACE_EVENT_API_UPDATE_TRACE_EVENT_DURATION |
#define | TRACE_EVENT_API_ATOMIC_WORD intptr_t |
#define | TRACE_EVENT_API_ATOMIC_LOAD(var) (var) |
#define | TRACE_EVENT_API_ATOMIC_STORE(var, value) (var) = (value) |
#define | INTERNAL_TRACE_EVENT_UID3(a, b) trace_event_unique_##a##b |
#define | INTERNAL_TRACE_EVENT_UID2(a, b) INTERNAL_TRACE_EVENT_UID3(a, b) |
#define | INTERNAL_TRACE_EVENT_UID(name_prefix) INTERNAL_TRACE_EVENT_UID2(name_prefix, __LINE__) |
#define | INTERNAL_TRACE_EVENT_GET_CATEGORY_INFO_CUSTOM_VARIABLES( category_group, atomic, category_group_enabled) |
#define | INTERNAL_TRACE_EVENT_GET_CATEGORY_INFO(category_group) |
#define | INTERNAL_TRACE_EVENT_ADD(phase, category_group, name, flags, ...) |
#define | INTERNAL_TRACE_EVENT_ADD_SCOPED(category_group, name, ...) |
#define | INTERNAL_TRACE_EVENT_ADD_SCOPED_WITH_FLOW(category_group, name, bind_id, flow_flags, ...) |
#define | INTERNAL_TRACE_EVENT_ADD_WITH_ID(phase, category_group, name, id, flags, ...) |
#define | INTERNAL_TRACE_EVENT_ADD_WITH_TIMESTAMP(phase, category_group, name, timestamp, flags, ...) UNIMPLEMENTED() |
#define | INTERNAL_TRACE_EVENT_ADD_WITH_ID_AND_TIMESTAMP( phase, category_group, name, id, timestamp, flags, ...) UNIMPLEMENTED() |
#define | INTERNAL_TRACE_EVENT_ADD_WITH_ID_TID_AND_TIMESTAMP( phase, category_group, name, id, thread_id, timestamp, flags, ...) UNIMPLEMENTED() |
#define | INTERNAL_TRACE_EVENT_SCOPED_CONTEXT(category_group, name, context) |
#define | INTERNAL_DECLARE_SET_TRACE_VALUE(actual_type, union_member, value_type_id) |
#define | INTERNAL_DECLARE_SET_TRACE_VALUE_INT(actual_type, value_type_id) |
Enumerations | |
enum | CategoryGroupEnabledFlags { kEnabledForRecording_CategoryGroupEnabledFlags = 1 << 0, kEnabledForEventCallback_CategoryGroupEnabledFlags = 1 << 2, kEnabledForETWExport_CategoryGroupEnabledFlags = 1 << 3 } |
Functions | |
INTERNAL_DECLARE_SET_TRACE_VALUE (const void *, as_pointer, TRACE_VALUE_TYPE_POINTER) INTERNAL_DECLARE_SET_TRACE_VALUE(const char * | |
TRACE_VALUE_TYPE_STRING | INTERNAL_DECLARE_SET_TRACE_VALUE (const TraceStringWithCopy &, as_string, TRACE_VALUE_TYPE_COPY_STRING) static inline void SetTraceValue(v8 |
Variables | |
const int | kZeroNumArgs = 0 |
decltype(nullptr) const | kGlobalScope = nullptr |
const uint64_t | kNoId = 0 |
intptr_t | kRuntimeCallStatsTracingEnabled |
as_string | |
#define INTERNAL_DECLARE_SET_TRACE_VALUE | ( | actual_type, | |
union_member, | |||
value_type_id | |||
) |
Definition at line 420 of file trace_event.h.
#define INTERNAL_DECLARE_SET_TRACE_VALUE_INT | ( | actual_type, | |
value_type_id | |||
) |
Definition at line 430 of file trace_event.h.
#define INTERNAL_TRACE_EVENT_ADD | ( | phase, | |
category_group, | |||
name, | |||
flags, | |||
... | |||
) |
Definition at line 149 of file trace_event.h.
#define INTERNAL_TRACE_EVENT_ADD_SCOPED | ( | category_group, | |
name, | |||
... | |||
) |
Definition at line 163 of file trace_event.h.
#define INTERNAL_TRACE_EVENT_ADD_SCOPED_WITH_FLOW | ( | category_group, | |
name, | |||
bind_id, | |||
flow_flags, | |||
... | |||
) |
Definition at line 177 of file trace_event.h.
#define INTERNAL_TRACE_EVENT_ADD_WITH_ID | ( | phase, | |
category_group, | |||
name, | |||
id, | |||
flags, | |||
... | |||
) |
Definition at line 197 of file trace_event.h.
#define INTERNAL_TRACE_EVENT_ADD_WITH_ID_AND_TIMESTAMP | ( | phase, | |
category_group, | |||
name, | |||
id, | |||
timestamp, | |||
flags, | |||
... | |||
) | UNIMPLEMENTED() |
Definition at line 218 of file trace_event.h.
#define INTERNAL_TRACE_EVENT_ADD_WITH_ID_TID_AND_TIMESTAMP | ( | phase, | |
category_group, | |||
name, | |||
id, | |||
thread_id, | |||
timestamp, | |||
flags, | |||
... | |||
) | UNIMPLEMENTED() |
Definition at line 224 of file trace_event.h.
#define INTERNAL_TRACE_EVENT_ADD_WITH_TIMESTAMP | ( | phase, | |
category_group, | |||
name, | |||
timestamp, | |||
flags, | |||
... | |||
) | UNIMPLEMENTED() |
Definition at line 213 of file trace_event.h.
#define INTERNAL_TRACE_EVENT_CATEGORY_GROUP_ENABLED_FOR_RECORDING_MODE | ( | ) |
Definition at line 50 of file trace_event.h.
#define INTERNAL_TRACE_EVENT_GET_CATEGORY_INFO | ( | category_group | ) |
Definition at line 140 of file trace_event.h.
#define INTERNAL_TRACE_EVENT_GET_CATEGORY_INFO_CUSTOM_VARIABLES | ( | category_group, | |
atomic, | |||
category_group_enabled | |||
) |
Definition at line 128 of file trace_event.h.
#define INTERNAL_TRACE_EVENT_SCOPED_CONTEXT | ( | category_group, | |
name, | |||
context | |||
) |
Definition at line 229 of file trace_event.h.
#define INTERNAL_TRACE_EVENT_UID | ( | name_prefix | ) | INTERNAL_TRACE_EVENT_UID2(name_prefix, __LINE__) |
Definition at line 118 of file trace_event.h.
#define INTERNAL_TRACE_EVENT_UID2 | ( | a, | |
b | |||
) | INTERNAL_TRACE_EVENT_UID3(a, b) |
Definition at line 117 of file trace_event.h.
Definition at line 116 of file trace_event.h.
#define INTERNAL_TRACE_MEMORY | ( | category, | |
name | |||
) |
Definition at line 58 of file trace_event.h.
#define TRACE_EVENT_API_ADD_TRACE_EVENT node::tracing::AddTraceEventImpl |
Definition at line 95 of file trace_event.h.
Referenced by node::tracing::INTERNAL_DECLARE_SET_TRACE_VALUE().
#define TRACE_EVENT_API_ATOMIC_LOAD | ( | var | ) | (var) |
Definition at line 108 of file trace_event.h.
#define TRACE_EVENT_API_ATOMIC_STORE | ( | var, | |
value | |||
) | (var) = (value) |
Definition at line 109 of file trace_event.h.
#define TRACE_EVENT_API_ATOMIC_WORD intptr_t |
Definition at line 107 of file trace_event.h.
#define TRACE_EVENT_API_GET_CATEGORY_GROUP_ENABLED |
Definition at line 73 of file trace_event.h.
#define TRACE_EVENT_API_GET_NUM_TRACES_RECORDED UNIMPLEMENTED() |
Definition at line 80 of file trace_event.h.
#define TRACE_EVENT_API_UPDATE_TRACE_EVENT_DURATION |
Definition at line 102 of file trace_event.h.
#define TRACE_ID_DONT_MANGLE | ( | id | ) | node::tracing::TraceID::DontMangle(id) |
Definition at line 43 of file trace_event.h.
#define TRACE_ID_MANGLE | ( | id | ) | node::tracing::TraceID::ForceMangle(id) |
Definition at line 39 of file trace_event.h.
#define TRACE_ID_WITH_SCOPE | ( | scope, | |
id | |||
) | trace_event_internal::TraceID::WithScope(scope, id) |
Definition at line 47 of file trace_event.h.
#define TRACE_STR_COPY | ( | str | ) | node::tracing::TraceStringWithCopy(str) |
Definition at line 35 of file trace_event.h.
Enumerator | |
---|---|
kEnabledForRecording_CategoryGroupEnabledFlags | |
kEnabledForEventCallback_CategoryGroupEnabledFlags | |
kEnabledForETWExport_CategoryGroupEnabledFlags |
Definition at line 24 of file trace_event.h.