Home
last modified time | relevance | path

Searched refs:TraceProcessor (Results 1 – 25 of 61) sorted by relevance

123

/external/perfetto/src/trace_processor/
Dtrace_processor.cc25 TraceProcessor::MetatraceConfig::MetatraceConfig() = default;
28 std::unique_ptr<TraceProcessor> TraceProcessor::CreateInstance( in CreateInstance()
30 return std::unique_ptr<TraceProcessor>(new TraceProcessorImpl(config)); in CreateInstance()
33 TraceProcessor::~TraceProcessor() = default;
Dtrace_database_integrationtest.cc41 auto processor = TraceProcessor::CreateInstance(config); in TEST()
64 auto processor = TraceProcessor::CreateInstance(config); in TEST()
79 auto processor = TraceProcessor::CreateInstance(config); in TEST()
94 : processor_(TraceProcessor::CreateInstance(Config())) {} in TraceProcessorIntegrationTest()
121 TraceProcessor* Processor() { return processor_.get(); } in Processor()
126 std::unique_ptr<TraceProcessor> processor_;
282 TraceProcessor::MetricResultFormat::kProtoText, &metric_output); in TEST_F()
295 TraceProcessor::MetricResultFormat::kProtoText, &metric_output); in TEST_F()
Dread_trace_internal.h29 class TraceProcessor; variable
33 TraceProcessor* tp,
/external/perfetto/python/test/
Dapi_unittest.py17 from perfetto.trace_processor.api import TraceProcessor
50 qr_iterator = TraceProcessor.QueryResultIterator(
88 qr_iterator = TraceProcessor.QueryResultIterator(
100 qr_iterator = TraceProcessor.QueryResultIterator([], [batch])
112 qr_iterator = TraceProcessor.QueryResultIterator([], [batch])
134 qr_iterator = TraceProcessor.QueryResultIterator(
158 qr_iterator = TraceProcessor.QueryResultIterator(['foo_id', 'foo_num'],
180 qr_iterator = TraceProcessor.QueryResultIterator(
192 qr_iterator = TraceProcessor.QueryResultIterator(['foo_id', 'foo_num'],
219 qr_iterator = TraceProcessor.QueryResultIterator(
[all …]
/external/perfetto/python/perfetto/trace_processor/
Dapi.py67 class TraceProcessor: class
124 self.__data_lists[TraceProcessor.QUERY_CELL_STRING_FIELD_ID].extend(
126 self.__data_lists[TraceProcessor.QUERY_CELL_VARINT_FIELD_ID].extend(
128 self.__data_lists[TraceProcessor.QUERY_CELL_FLOAT64_FIELD_ID].extend(
130 self.__data_lists[TraceProcessor.QUERY_CELL_BLOB_FIELD_ID].extend(
170 if col_type == TraceProcessor.QUERY_CELL_INVALID_FIELD_ID:
173 if col_type == TraceProcessor.QUERY_CELL_NULL_FIELD_ID:
198 result = TraceProcessor.Row()
202 if col_type == TraceProcessor.QUERY_CELL_INVALID_FIELD_ID:
204 if col_type != TraceProcessor.QUERY_CELL_NULL_FIELD_ID:
[all …]
/external/perfetto/python/perfetto/batch_trace_processor/
Dapi.py28 from perfetto.trace_processor.api import TraceProcessor
290 def execute(self, fn: Callable[[TraceProcessor], Any]) -> List[Any]: argument
304 def wrapped(pair: Tuple[TraceProcessor, Metadata]): argument
310 def execute_and_flatten(self, fn: Callable[[TraceProcessor], pd.DataFrame] argument
327 def wrapped(pair: Tuple[TraceProcessor, Metadata]): argument
366 ) -> Optional[Tuple[TraceProcessor, Metadata]]:
368 return TraceProcessor(
376 def _execute_handling_failure(self, fn: Callable[[TraceProcessor], Any], argument
377 tp: TraceProcessor, metadata: Metadata): argument
/external/perfetto/python/
Dexample.py18 from perfetto.trace_processor import TraceProcessor, TraceProcessorConfig
43 tp = TraceProcessor(trace=args.file, config=config)
45 tp = TraceProcessor(addr=args.address, config=config)
47 tp = TraceProcessor(trace=args.file, addr=args.address, config=config)
/external/perfetto/src/trace_processor/rpc/
Dquery_result_serializer_benchmark.cc26 using perfetto::trace_processor::TraceProcessor;
43 void RunQueryChecked(TraceProcessor* tp, const std::string& query) { in RunQueryChecked()
52 auto tp = TraceProcessor::CreateInstance(Config()); in BM_QueryResultSerializer_Mixed()
74 auto tp = TraceProcessor::CreateInstance(Config()); in BM_QueryResultSerializer_Strings()
Drpc.cc91 Rpc::Rpc(std::unique_ptr<TraceProcessor> preloaded_instance) in Rpc()
102 trace_processor_ = TraceProcessor::CreateInstance(config); in ResetTraceProcessorInternal()
132 TraceProcessor::MetatraceCategories MetatraceCategoriesToPublicEnum( in MetatraceCategoriesToPublicEnum()
136 return TraceProcessor::MetatraceCategories::TOPLEVEL; in MetatraceCategoriesToPublicEnum()
138 return TraceProcessor::MetatraceCategories::QUERY; in MetatraceCategoriesToPublicEnum()
140 return TraceProcessor::MetatraceCategories::FUNCTION; in MetatraceCategoriesToPublicEnum()
142 return TraceProcessor::MetatraceCategories::ALL; in MetatraceCategoriesToPublicEnum()
144 return TraceProcessor::MetatraceCategories::NONE; in MetatraceCategoriesToPublicEnum()
146 return TraceProcessor::MetatraceCategories::NONE; in MetatraceCategoriesToPublicEnum()
429 metric_names, TraceProcessor::MetricResultFormat::kProtoText, in ComputeMetricInternal()
[all …]
Dquery_result_serializer_unittest.cc76 void RunQueryChecked(TraceProcessor* tp, const std::string& query) { in RunQueryChecked()
197 auto tp = TraceProcessor::CreateInstance(trace_processor::Config()); in TEST()
216 auto tp = TraceProcessor::CreateInstance(trace_processor::Config()); in TEST()
249 auto tp = TraceProcessor::CreateInstance(trace_processor::Config()); in TEST()
268 auto tp = TraceProcessor::CreateInstance(trace_processor::Config()); in TEST()
287 auto tp = TraceProcessor::CreateInstance(trace_processor::Config()); in TEST()
330 auto tp = TraceProcessor::CreateInstance(trace_processor::Config()); in TEST()
405 auto tp = TraceProcessor::CreateInstance(trace_processor::Config()); in TEST()
416 auto tp = TraceProcessor::CreateInstance(trace_processor::Config()); in TEST()
430 auto tp = TraceProcessor::CreateInstance(trace_processor::Config()); in TEST()
Drpc.h43 class TraceProcessor; variable
64 explicit Rpc(std::unique_ptr<TraceProcessor>);
146 std::unique_ptr<TraceProcessor> trace_processor_;
Dhttpd.h26 class TraceProcessor; variable
33 void RunHttpRPCServer(std::unique_ptr<TraceProcessor>, std::string);
/external/perfetto/src/cloud_trace_processor/
Dtrace_processor_wrapper.h65 using TraceProcessor = trace_processor::TraceProcessor;
76 std::shared_ptr<TraceProcessor> trace_processor_;
Dtrace_processor_wrapper.cc52 using trace_processor::TraceProcessor;
56 QueryRunner(std::shared_ptr<TraceProcessor> _tp, in QueryRunner()
93 std::shared_ptr<TraceProcessor> tp;
114 trace_processor_ = TraceProcessor::CreateInstance(config); in TraceProcessorWrapper()
/external/perfetto/python/perfetto/experimental/slice_breakdown/
Dbreakdown.py16 from perfetto.trace_processor.api import TraceProcessor
20 def compute_breakdown(tp: TraceProcessor, argument
157 def compute_breakdown_for_startup(tp: TraceProcessor, argument
/external/perfetto/src/traceconv/
Dutils.h39 class TraceProcessor; variable
56 bool ReadTraceUnfinalized(trace_processor::TraceProcessor* tp,
58 void IngestTraceOrDie(trace_processor::TraceProcessor* tp,
Dtrace_to_json.cc41 bool ExportUserspaceEvents(trace_processor::TraceProcessor* tp, in ExportUserspaceEvents()
92 std::unique_ptr<trace_processor::TraceProcessor> tp = in TraceToJson()
93 trace_processor::TraceProcessor::CreateInstance(config); in TraceToJson()
Dtrace_to_profile.cc69 void MaybeSymbolize(trace_processor::TraceProcessor* tp) { in MaybeSymbolize()
82 void MaybeDeobfuscate(trace_processor::TraceProcessor* tp) { in MaybeDeobfuscate()
105 std::unique_ptr<trace_processor::TraceProcessor> tp = in TraceToProfile()
106 trace_processor::TraceProcessor::CreateInstance(config); in TraceToProfile()
Dtrace_to_systrace.cc116 QueryWriter(trace_processor::TraceProcessor* tp, TraceWriter* trace_writer) in QueryWriter()
156 trace_processor::TraceProcessor* tp_ = nullptr;
283 std::unique_ptr<trace_processor::TraceProcessor> tp = in TraceToSystrace()
284 trace_processor::TraceProcessor::CreateInstance(config); in TraceToSystrace()
297 int ExtractSystrace(trace_processor::TraceProcessor* tp, in ExtractSystrace()
Dtrace_to_systrace.h25 class TraceProcessor; variable
40 int ExtractSystrace(trace_processor::TraceProcessor*,
Dtrace_to_hprof.cc173 explicit HeapDump(trace_processor::TraceProcessor* tp) : tp_(tp) {} in HeapDump()
183 trace_processor::TraceProcessor* tp_;
298 int TraceToHprof(trace_processor::TraceProcessor* tp, in TraceToHprof()
329 std::unique_ptr<trace_processor::TraceProcessor> tp = in TraceToHprof()
330 trace_processor::TraceProcessor::CreateInstance(config); in TraceToHprof()
/external/perfetto/include/perfetto/trace_processor/
Dtrace_processor.h36 class PERFETTO_EXPORT_COMPONENT TraceProcessor : public TraceProcessorStorage {
43 static std::unique_ptr<TraceProcessor> CreateInstance(const Config&);
45 ~TraceProcessor() override;
Dread_trace.h29 class TraceProcessor; variable
32 TraceProcessor* tp,
/external/perfetto/src/profiling/symbolizer/
Dsymbolize_database.h28 class TraceProcessor; variable
34 void SymbolizeDatabase(trace_processor::TraceProcessor* tp,
/external/perfetto/docs/quickstart/
Dtrace-analysis.md8 TraceProcessor is a multi-format trace importing and query engine based on
33 TraceProcessor guide.
336 from perfetto.trace_processor import TraceProcessor
337 tp = TraceProcessor(trace='trace.perfetto-trace')
354 from perfetto.trace_processor import TraceProcessor
355 tp = TraceProcessor(trace='trace.perfetto-trace')
374 from perfetto.trace_processor import TraceProcessor
375 tp = TraceProcessor(trace='trace.perfetto-trace')

123