Home
last modified time | relevance | path

Searched refs:tracing (Results 1 - 25 of 94) sorted by relevance

1234

/third_party/node/deps/v8/src/tracing/
H A Dtrace-event.cc5 #include "src/tracing/trace-event.h"
12 #include "src/tracing/traced-value.h"
16 namespace tracing { namespace
27 auto value = v8::tracing::TracedValue::Create(); in AddEndTraceEvent()
29 v8::internal::tracing::AddTraceEvent( in AddEndTraceEvent()
31 v8::internal::tracing::kGlobalScope, v8::internal::tracing::kNoId, in AddEndTraceEvent()
32 v8::internal::tracing::kNoId, TRACE_EVENT_FLAG_NONE, in AddEndTraceEvent()
35 v8::internal::tracing::AddTraceEvent( in AddEndTraceEvent()
37 v8::internal::tracing in AddEndTraceEvent()
[all...]
H A Dtrace-event.h16 #include "src/tracing/trace-categories.h"
47 // TODO(petermarshall): Remove with the old tracing implementation - Perfetto
51 #define TRACE_STR_COPY(str) v8::internal::tracing::TraceStringWithCopy(str)
56 v8::internal::tracing::TraceID::WithScope(scope, id)
69 // Implementation specific tracing API definitions.
74 // the unsigned char is non-zero, tracing is enabled. If tracing is enabled,
75 // TRACE_EVENT_API_ADD_TRACE_EVENT can be called. It's OK if tracing is disabled
76 // between the load of the tracing state and the call to
78 // for best performance when tracing i
301 namespace tracing { global() namespace
[all...]
H A Dtracing-category-observer.h11 namespace tracing { namespace
32 } // namespace tracing
/third_party/node/src/
H A Dnode_v8_platform-inl.h14 #include "tracing/node_trace_writer.h"
15 #include "tracing/trace_event.h"
16 #include "tracing/traced_value.h"
22 // when tracing is enabled.
41 auto trace_process = tracing::TracedValue::Create();
66 // This only runs the first time tracing is enabled
91 tracing_agent_ = std::make_unique<tracing::Agent>(); in Initialize()
92 node::tracing::TraceEventHelper::SetAgent(tracing_agent_.get()); in Initialize()
93 node::tracing::TracingController* controller = in Initialize()
99 // Only start the tracing agen in Initialize()
[all...]
/third_party/node/src/tracing/
H A Dtrace_event.h9 #include "tracing/agent.h"
34 #define TRACE_STR_COPY(str) node::tracing::TraceStringWithCopy(str)
38 #define TRACE_ID_MANGLE(id) node::tracing::TraceID::ForceMangle(id)
42 #define TRACE_ID_DONT_MANGLE(id) node::tracing::TraceID::DontMangle(id)
60 // Implementation specific tracing API definitions.
65 // the unsigned char is non-zero, tracing is enabled. If tracing is enabled,
66 // TRACE_EVENT_API_ADD_TRACE_EVENT can be called. It's OK if tracing is disabled
67 // between the load of the tracing state and the call to
69 // for best performance when tracing i
305 namespace tracing { global() namespace
[all...]
H A Dnode_trace_buffer.h4 #include "tracing/agent.h"
6 #include "libplatform/v8-tracing.h"
11 namespace tracing { namespace
13 using v8::platform::tracing::TraceBuffer;
14 using v8::platform::tracing::TraceBufferChunk;
15 using v8::platform::tracing::TraceObject;
80 } // namespace tracing
H A Dtrace_event.cc1 #include "tracing/trace_event.h"
5 namespace tracing { namespace
32 } // namespace tracing
35 return tracing::TraceEventHelper::GetTracingController(); in GetTracingController()
39 tracing::TraceEventHelper::SetTracingController(controller); in SetTracingController()
H A Dagent.h4 #include "libplatform/v8-tracing.h"
20 namespace tracing { namespace
22 using v8::platform::tracing::TraceConfig;
23 using v8::platform::tracing::TraceObject;
35 class TracingController : public v8::platform::tracing::TracingController {
37 TracingController() : v8::platform::tracing::TracingController() {} in TracingController()
192 } // namespace tracing
H A Dagent.cc1 #include "tracing/agent.h"
5 #include "tracing/node_trace_buffer.h"
10 namespace tracing { namespace
48 using v8::platform::tracing::TraceConfig;
49 using v8::platform::tracing::TraceWriter;
144 // Perform final Flush on TraceBuffer. We don't want the tracing controller in StopTracing()
150 // Thread should finish when the tracing loop is stopped. in StopTracing()
238 node::tracing::kGlobalScope, // scope in AddMetadataEvent()
239 node::tracing::kNoId, // id in AddMetadataEvent()
240 node::tracing in AddMetadataEvent()
[all...]
H A Dnode_trace_writer.h7 #include "libplatform/v8-tracing.h"
8 #include "tracing/agent.h"
12 namespace tracing { namespace
14 using v8::platform::tracing::TraceObject;
15 using v8::platform::tracing::TraceWriter;
45 // Triggers callback to close async objects, ending the tracing thread.
72 } // namespace tracing
/third_party/node/test/parallel/
H A Dtest-trace-events-api.js54 const tracing = createTracing({ categories: [ 'node.perf' ] });
56 assert.strictEqual(tracing.categories, 'node.perf');
57 assert.strictEqual(tracing.enabled, false);
60 tracing.enable();
61 tracing.enable(); // Purposefully enable twice to test calling twice
62 assert.strictEqual(tracing.enabled, true);
69 tracing.disable();
70 assert.strictEqual(tracing.enabled, false);
92 tracing.enable();
99 // Test that enabled tracing reference
[all...]
/third_party/ltp/testcases/kernel/mce-test/lib/
H A Dapei-inject.sh118 [ -d /sys/kernel/debug/tracing ] || die "no tracing"
119 echo "function_graph" > /sys/kernel/debug/tracing/current_tracer
120 echo $1 > /sys/kernel/debug/tracing/set_ftrace_filter
121 echo "1" > /sys/kernel/debug/tracing/tracing_enabled
126 [ -d /sys/kernel/debug/tracing ] || die "no tracing"
127 echo "0" > /sys/kernel/debug/tracing/tracing_enabled
128 cp /sys/kernel/debug/tracing/trace $RDIR/$this_case/
129 echo "nop" > /sys/kernel/debug/tracing/current_trace
[all...]
/third_party/node/test/fuzzers/
H A Dfuzz_env.cc23 using TracingAgentUniquePtr = std::unique_ptr<node::tracing::Agent>;
38 tracing_agent = std::make_unique<node::tracing::Agent>(); in LLVMFuzzerInitialize()
39 node::tracing::TraceEventHelper::SetAgent(tracing_agent.get()); in LLVMFuzzerInitialize()
40 node::tracing::TracingController* tracing_controller = in LLVMFuzzerInitialize()
/third_party/node/test/cctest/
H A Dnode_test_fixture.cc14 std::make_unique<node::tracing::Agent>(); in SetUp()
15 node::tracing::TraceEventHelper::SetAgent( in SetUp()
17 node::tracing::TracingController* tracing_controller = in SetUp()
/third_party/node/src/inspector/
H A Dtracing_agent.cc15 using v8::platform::tracing::TraceWriter;
82 class InspectorTraceWriter : public node::tracing::AsyncTraceWriter {
89 v8::platform::tracing::TraceObject* trace_event) override {
140 "Call NodeTracing::end to stop tracing before updating the config"); in start()
156 tracing::AgentWriterHandle* writer = GetTracingAgentWriter(); in start()
162 tracing::Agent::kIgnoreDefaultCategories); in start()
/third_party/python/Modules/
H A D_tracemalloc.c508 assert(_Py_tracemalloc_config.tracing); in tracemalloc_remove_trace()
532 assert(_Py_tracemalloc_config.tracing); in tracemalloc_add_trace()
972 if (_Py_tracemalloc_config.tracing) { in tracemalloc_start()
1012 /* everything is ready: start tracing Python memory allocations */ in tracemalloc_start()
1013 _Py_tracemalloc_config.tracing = 1; in tracemalloc_start()
1022 if (!_Py_tracemalloc_config.tracing) in tracemalloc_stop()
1025 /* stop tracing Python memory allocations */ in tracemalloc_stop()
1026 _Py_tracemalloc_config.tracing = 0; in tracemalloc_stop()
1047 Return True if the tracemalloc module is tracing Python memory allocations.
1054 return PyBool_FromLong(_Py_tracemalloc_config.tracing); in _tracemalloc_is_tracing_impl()
[all...]
/third_party/node/deps/v8/src/builtins/
H A Dbuiltins-trace.cc12 #include "src/tracing/traced-value.h"
24 using v8::tracing::TracedValue;
237 tracing::SetTraceValue(std::move(traced_value), &arg_type, &arg_value); in BUILTIN()
241 phase, category_group_enabled, *name, tracing::kGlobalScope, id, in BUILTIN()
242 tracing::kNoId, num_args, &arg_name, &arg_type, &arg_value, flags); in BUILTIN()
/third_party/node/lib/
H A Ddiagnostics_channel.js255 this.start = channel(`tracing:${nameOrChannels}:start`);
256 this.end = channel(`tracing:${nameOrChannels}:end`);
257 this.asyncStart = channel(`tracing:${nameOrChannels}:asyncStart`);
258 this.asyncEnd = channel(`tracing:${nameOrChannels}:asyncEnd`);
259 this.error = channel(`tracing:${nameOrChannels}:error`);
/third_party/node/deps/v8/src/ic/
H A Dic-stats.h19 namespace tracing { namespace
21 } // namespace tracing
31 void AppendToTracedValue(v8::tracing::TracedValue* value) const;
H A Dic-stats.cc10 #include "src/tracing/trace-event.h"
11 #include "src/tracing/traced-value.h"
45 auto value = v8::tracing::TracedValue::Create(); in Dump()
117 void ICInfo::AppendToTracedValue(v8::tracing::TracedValue* value) const { in AppendToTracedValue()
/third_party/python/Include/internal/
H A Dpycore_pymem.h81 /* Is tracemalloc tracing memory allocations?
83 int tracing; member
92 .tracing = 0, \
/third_party/node/deps/v8/src/logging/
H A Druntime-call-stats.cc11 #include "src/tracing/tracing-category-observer.h"
106 void RuntimeCallCounter::Dump(v8::tracing::TracedValue* value) { in Dump()
265 // In tracing, we only what to trace the time spent on top level trace events, in Reset()
280 void RuntimeCallStats::Dump(v8::tracing::TracedValue* value) { in Dump()
336 v8::tracing::TracingCategoryObserver::ENABLED_BY_TRACING)) { in WorkerThreadRuntimeCallStatsScope()
345 v8::tracing::TracingCategoryObserver::ENABLED_BY_TRACING)) { in ~WorkerThreadRuntimeCallStatsScope()
346 auto value = v8::tracing::TracedValue::Create(); in ~WorkerThreadRuntimeCallStatsScope()
/third_party/skia/tools/lottie-web-perf/
H A Dlottie-web-perf.js154 await page.tracing.start({
171 await page.tracing.stop();
/third_party/node/deps/v8/src/libplatform/tracing/
H A Dtrace-event-listener.h20 namespace tracing { namespace
35 } // namespace tracing
H A Dtrace-event-listener.cc5 #include "src/libplatform/tracing/trace-event-listener.h"
12 namespace tracing { namespace
25 } // namespace tracing

Completed in 12 milliseconds

1234