Home
last modified time | relevance | path

Searched refs:metadata_table (Results 1 – 6 of 6) sorted by relevance

/external/perfetto/src/trace_processor/importers/proto/
Dmetadata_tracker.cc40 auto* metadata_table = context_->storage->mutable_metadata_table(); in SetMetadata() local
43 metadata_table->name().IndexOf(metadata::kNames[key_idx]); in SetMetadata()
46 return metadata_table->id()[*opt_row]; in SetMetadata()
53 auto id_and_row = metadata_table->Insert(row); in SetMetadata()
62 auto* metadata_table = context_->storage->mutable_metadata_table(); in GetMetadataForTesting() local
65 metadata_table->name().IndexOf(metadata::kNames[key_idx]).value(); in GetMetadataForTesting()
66 return metadata_table->mutable_str_value()->Get(row); in GetMetadataForTesting()
80 auto* metadata_table = context_->storage->mutable_metadata_table(); in AppendMetadata() local
81 auto id_and_row = metadata_table->Insert(row); in AppendMetadata()
91 auto* metadata_table = context_->storage->mutable_metadata_table(); in SetDynamicMetadata() local
[all …]
Dproto_trace_parser_unittest.cc2535 for (uint32_t row = 0; row < storage_->metadata_table().row_count(); row++) { in TEST_F()
2536 if (storage_->metadata_table().name()[row] == in TEST_F()
2539 EXPECT_EQ(storage_->metadata_table().int_value()[0], 123); in TEST_F()
2640 const auto& meta_keys = storage_->metadata_table().name(); in TEST_F()
2641 const auto& meta_values = storage_->metadata_table().str_value(); in TEST_F()
2642 EXPECT_EQ(storage_->metadata_table().row_count(), 3u); in TEST_F()
2645 for (uint32_t i = 0; i < storage_->metadata_table().row_count(); i++) { in TEST_F()
2687 const auto& metadata = storage_->metadata_table(); in TEST_F()
/external/perfetto/src/trace_processor/storage/
Dtrace_storage.h440 const tables::MetadataTable& metadata_table() const { in metadata_table() function
/external/perfetto/src/trace_processor/
Dtrace_processor_impl.cc825 RegisterDbTable(storage->metadata_table()); in TraceProcessorImpl()
Dexport_json.cc1464 const auto& trace_metadata = storage_->metadata_table(); in ExportMetadata()
/external/perfetto/src/trace_processor/importers/ftrace/
Dftrace_parser.cc290 const auto& metadata = context_->storage->metadata_table(); in ParseFtraceEvent()