Home
last modified time | relevance | path

Searched refs:metatrace (Results 1 – 25 of 34) sorted by relevance

12

/external/perfetto/src/tracing/core/
Dmetatrace_writer.cc49 bool enabled = metatrace::Enable( in Enable()
64 metatrace::Disable(); in Disable()
73 for (auto it = metatrace::RingBuffer::GetReadIterator(); it; ++it) { in WriteAllAvailableEvents()
81 uint16_t type = type_and_id & metatrace::Record::kTypeMask; in WriteAllAvailableEvents()
82 uint16_t id = type_and_id & ~metatrace::Record::kTypeMask; in WriteAllAvailableEvents()
83 if (type == metatrace::Record::kTypeCounter) { in WriteAllAvailableEvents()
93 if (metatrace::RingBuffer::has_overruns()) in WriteAllAvailableEvents()
/external/perfetto/include/perfetto/ext/base/
Dmetatrace.h58 namespace metatrace {
307 ::perfetto::metatrace::ScopedEvent PERFETTO_METATRACE_UID(__COUNTER__)( \
308 ::perfetto::metatrace::TAG, ::perfetto::metatrace::ID)
311 ::perfetto::metatrace::TraceCounter(::perfetto::metatrace::TAG, \
312 ::perfetto::metatrace::ID, \
Dmetatrace_events.h23 namespace metatrace {
DBUILD.gn28 "metatrace.h",
/external/perfetto/src/traced/probes/ftrace/
Dftrace_controller.cc227 metatrace::ScopedEvent evt(metatrace::TAG_FTRACE, in ReadTick()
228 metatrace::FTRACE_READ_TICK); in ReadTick()
319 metatrace::ScopedEvent evt(metatrace::TAG_FTRACE, in Flush()
320 metatrace::FTRACE_CPU_FLUSH); in Flush()
Dcpu_reader.cc168 metatrace::ScopedEvent evt(metatrace::TAG_FTRACE, in ReadCycle()
169 metatrace::FTRACE_CPU_READ_CYCLE); in ReadCycle()
205 metatrace::ScopedEvent evt(metatrace::TAG_FTRACE, in ReadAndProcessBatch()
206 metatrace::FTRACE_CPU_READ_BATCH); in ReadAndProcessBatch()
/external/perfetto/src/trace_processor/
Dtp_metatrace.h37 namespace metatrace {
193 ::perfetto::trace_processor::metatrace::ScopedEvent::Create(__VA_ARGS__)
Dtp_metatrace.cc21 namespace metatrace { namespace
Dtrace_processor_impl.cc1065 metatrace::Enable(); in EnableMetatrace()
1071 metatrace::DisableAndReadBuffer([&trace](metatrace::Record* record) { in DisableAndReadMetatrace()
/external/perfetto/src/profiling/perf/
DBUILD.gn49 "../../../src/tracing/core:service", # for metatrace
94 "../../../src/tracing/core:service", # for metatrace
Dunwinding.cc331 metatrace::ScopedEvent m(metatrace::TAG_PRODUCER, in UnwindSample()
333 ? metatrace::PROFILER_UNWIND_ATTEMPT in UnwindSample()
334 : metatrace::PROFILER_UNWIND_INITIAL_ATTEMPT); in UnwindSample()
/external/perfetto/test/configs/
Dftrace_with_ksyms.cfg10 name: "perfetto.metatrace"
/external/perfetto/src/traced/probes/metatrace/
Dmetatrace_data_source.cc51 metatrace::TAG_ANY); in Start()
DBUILD.gn15 source_set("metatrace") {
/external/perfetto/src/trace_processor/rpc/
Drpc.cc95 [&](metatrace::Record* r) { r->AddArg("SQL", sql); }); in Query()
124 [&](metatrace::Record* r) { r->AddArg("SQL", sql); }); in RawQuery()
275 PERFETTO_TP_TRACE("RPC_COMPUTE_METRIC", [&](metatrace::Record* r) { in ComputeMetric()
DBUILD.gn35 "..:metatrace",
/external/perfetto/src/base/
Dmetatrace_unittest.cc31 namespace m = ::perfetto::metatrace;
63 auto t_start = metatrace::TraceTimeNowNs(); in TEST_F()
Dmetatrace.cc26 namespace metatrace { namespace
DBUILD.gn39 "metatrace.cc",
/external/perfetto/src/trace_processor/sqlite/
DBUILD.gn44 "..:metatrace",
Ddb_sqlite_table.cc390 PERFETTO_TP_TRACE("DB_TABLE_XFILTER", [this](metatrace::Record* r) { in Filter()
436 PERFETTO_TP_TRACE("DYNAMIC_TABLE_GENERATE", [this](metatrace::Record* r) { in Filter()
450 PERFETTO_TP_TRACE("DB_TABLE_FILTER_AND_SORT", [this](metatrace::Record* r) { in Filter()
/external/perfetto/src/trace_processor/importers/proto/
Dproto_trace_parser.cc597 if (eid < metatrace::EVENTS_MAX) { in ParseMetatraceEvent()
598 name_id = context_->storage->InternString(metatrace::kEventNames[eid]); in ParseMetatraceEvent()
612 if (cid < metatrace::COUNTERS_MAX) { in ParseMetatraceEvent()
614 context_->storage->InternString(metatrace::kCounterNames[cid]); in ParseMetatraceEvent()
/external/perfetto/src/traced/probes/
DBUILD.gn64 "metatrace",
/external/perfetto/src/traced/service/
Dbuiltin_producer.cc124 metatrace::TAG_ANY); in StartDataSource()
/external/perfetto/src/trace_processor/python/perfetto/trace_processor/
Dapi.py238 return response.metatrace

12