Home
last modified time | relevance | path

Searched refs:protos (Results 1 – 25 of 412) sorted by relevance

12345678910>>...17

/external/perfetto/include/perfetto/traced/
Dsys_stats_counters.h33 {"MemUnspecified", protos::pbzero::MeminfoCounters::MEMINFO_UNSPECIFIED},
34 {"MemTotal", protos::pbzero::MeminfoCounters::MEMINFO_MEM_TOTAL},
35 {"MemFree", protos::pbzero::MeminfoCounters::MEMINFO_MEM_FREE},
36 {"MemAvailable", protos::pbzero::MeminfoCounters::MEMINFO_MEM_AVAILABLE},
37 {"Buffers", protos::pbzero::MeminfoCounters::MEMINFO_BUFFERS},
38 {"Cached", protos::pbzero::MeminfoCounters::MEMINFO_CACHED},
39 {"SwapCached", protos::pbzero::MeminfoCounters::MEMINFO_SWAP_CACHED},
40 {"Active", protos::pbzero::MeminfoCounters::MEMINFO_ACTIVE},
41 {"Inactive", protos::pbzero::MeminfoCounters::MEMINFO_INACTIVE},
42 {"Active(anon)", protos::pbzero::MeminfoCounters::MEMINFO_ACTIVE_ANON},
[all …]
/external/perfetto/
DAndroid.bp771 // GN target: //protos/perfetto/common:lite_gen
775 "protos/perfetto/common/android_log_constants.proto",
776 "protos/perfetto/common/commit_data_request.proto",
777 "protos/perfetto/common/descriptor.proto",
778 "protos/perfetto/common/observable_events.proto",
779 "protos/perfetto/common/sys_stats_counters.proto",
780 "protos/perfetto/common/trace_stats.proto",
785 …)/external/perfetto/protos && $(location aprotoc) --cpp_out=$(genDir)/external/perfetto/protos --p…
787 "external/perfetto/protos/perfetto/common/android_log_constants.pb.cc",
788 "external/perfetto/protos/perfetto/common/commit_data_request.pb.cc",
[all …]
/external/perfetto/ui/src/common/
Dprotos.ts16 import * as protos from '../gen/protos';
20 import AndroidLogConfig = protos.perfetto.protos.AndroidLogConfig;
21 import AndroidPowerConfig = protos.perfetto.protos.AndroidPowerConfig;
22 import AndroidLogId = protos.perfetto.protos.AndroidLogId;
24 protos.perfetto.protos.AndroidPowerConfig.BatteryCounters;
25 import BufferConfig = protos.perfetto.protos.TraceConfig.BufferConfig;
26 import DataSourceConfig = protos.perfetto.protos.DataSourceConfig;
27 import FtraceConfig = protos.perfetto.protos.FtraceConfig;
28 import IAndroidPowerConfig = protos.perfetto.protos.IAndroidPowerConfig;
29 import IBufferConfig = protos.perfetto.protos.TraceConfig.IBufferConfig;
[all …]
/external/perfetto/protos/
DBUILD26 # GN target: //protos/perfetto/common:lite_gen
45 # GN target: //protos/perfetto/common:lite_gen
52 "//third_party/perfetto/protos:common",
56 # GN target: //protos/perfetto/common:zero_gen
69 # GN target: //protos/perfetto/common:zero_gen
72 src_proto_library = "//third_party/perfetto/protos:common_zero",
79 # GN target: //protos/perfetto/config:lite_gen
104 "//third_party/perfetto/protos:common",
108 # GN target: //protos/perfetto/config:lite_gen
115 "//third_party/perfetto/protos:config",
[all …]
/external/perfetto/src/tracing/ipc/consumer/
Dconsumer_ipc_client_impl.cc75 protos::EnableTracingRequest req; in EnableTracing()
77 ipc::Deferred<protos::EnableTracingResponse> async_response; in EnableTracing()
80 [weak_this](ipc::AsyncResult<protos::EnableTracingResponse> response) { in EnableTracing()
97 ipc::Deferred<protos::ChangeTraceConfigResponse> async_response; in ChangeTraceConfig()
99 [](ipc::AsyncResult<protos::ChangeTraceConfigResponse> response) { in ChangeTraceConfig()
103 protos::ChangeTraceConfigRequest req; in ChangeTraceConfig()
113 ipc::Deferred<protos::StartTracingResponse> async_response; in StartTracing()
115 [](ipc::AsyncResult<protos::StartTracingResponse> response) { in StartTracing()
119 protos::StartTracingRequest req; in StartTracing()
129 ipc::Deferred<protos::DisableTracingResponse> async_response; in DisableTracing()
[all …]
/external/perfetto/src/tracing/ipc/producer/
Dproducer_ipc_client_impl.cc77 ipc::Deferred<protos::InitializeConnectionResponse> on_init; in OnConnect()
79 [this](ipc::AsyncResult<protos::InitializeConnectionResponse> resp) { in OnConnect()
82 protos::InitializeConnectionRequest req; in OnConnect()
91 protos::InitializeConnectionRequest::SMB_SCRAPING_ENABLED); in OnConnect()
95 protos::InitializeConnectionRequest::SMB_SCRAPING_DISABLED); in OnConnect()
101 ipc::Deferred<protos::GetAsyncCommandResponse> on_cmd; in OnConnect()
102 on_cmd.Bind([this](ipc::AsyncResult<protos::GetAsyncCommandResponse> resp) { in OnConnect()
107 producer_port_.GetAsyncCommand(protos::GetAsyncCommandRequest(), in OnConnect()
129 const protos::GetAsyncCommandResponse& cmd) { in OnServiceRequest()
134 if (cmd.cmd_case() == protos::GetAsyncCommandResponse::kSetupDataSource) { in OnServiceRequest()
[all …]
/external/cros/system_api/
Dsystem_api.gyp4 'target_name': 'system_api-protos-gen',
18 'target_name': 'system_api-protos',
22 'system_api-protos-gen',
31 'target_name': 'system_api-power_manager-protos-gen',
50 'target_name': 'system_api-power_manager-protos',
54 'system_api-power_manager-protos-gen',
68 'target_name': 'system_api-cryptohome-protos-gen',
82 'target_name': 'system_api-cryptohome-protos',
86 'system_api-cryptohome-protos-gen',
95 'target_name': 'system_api-authpolicy-protos-gen',
[all …]
Dsystem_api.pc4protos -lsystem_api-cryptohome-protos -lsystem_api-authpolicy-protos -lsystem_api-biod-protos -lsy…
/external/mesa3d/src/gallium/drivers/swr/rasterizer/codegen/
Dgen_archrast.py81 protos = {}
88 protos['events'] = {} # event dictionary containing events with their fields
89 protos['event_names'] = [] # needed to keep events in order parsed. dict is not ordered.
90 protos['enums'] = {}
91 protos['enum_names'] = []
105 protos['event_names'].append(event_name)
107 protos['events'][event_name] = {}
108 protos['events'][event_name]['event_id'] = eventId
109 idx = parse_event_fields(lines, idx, protos['events'][event_name])
116 protos['enum_names'].append(enum_name)
[all …]
/external/perfetto/src/tracing/ipc/service/
Dproducer_ipc_service.cc53 const protos::InitializeConnectionRequest& req, in InitializeConnection()
71 case protos::InitializeConnectionRequest::SMB_SCRAPING_UNSPECIFIED: in InitializeConnection()
73 case protos::InitializeConnectionRequest::SMB_SCRAPING_DISABLED: in InitializeConnection()
76 case protos::InitializeConnectionRequest::SMB_SCRAPING_ENABLED: in InitializeConnection()
95 ipc::AsyncResult<protos::InitializeConnectionResponse>::Create(); in InitializeConnection()
101 const protos::RegisterDataSourceRequest& req, in RegisterDataSource()
119 ipc::AsyncResult<protos::RegisterDataSourceResponse>::Create()); in RegisterDataSource()
136 const protos::UnregisterDataSourceRequest& req, in UnregisterDataSource()
152 ipc::AsyncResult<protos::UnregisterDataSourceResponse>::Create()); in UnregisterDataSource()
157 const protos::RegisterTraceWriterRequest& req, in RegisterTraceWriter()
[all …]
Dconsumer_ipc_service.cc63 void ConsumerIPCService::EnableTracing(const protos::EnableTracingRequest& req, in EnableTracing()
80 void ConsumerIPCService::StartTracing(const protos::StartTracingRequest&, in StartTracing()
84 resp.Resolve(ipc::AsyncResult<protos::StartTracingResponse>::Create()); in StartTracing()
89 const protos::ChangeTraceConfigRequest& req, in ChangeTraceConfig()
95 resp.Resolve(ipc::AsyncResult<protos::ChangeTraceConfigResponse>::Create()); in ChangeTraceConfig()
99 void ConsumerIPCService::DisableTracing(const protos::DisableTracingRequest&, in DisableTracing()
102 resp.Resolve(ipc::AsyncResult<protos::DisableTracingResponse>::Create()); in DisableTracing()
106 void ConsumerIPCService::ReadBuffers(const protos::ReadBuffersRequest&, in ReadBuffers()
114 void ConsumerIPCService::FreeBuffers(const protos::FreeBuffersRequest&, in FreeBuffers()
117 resp.Resolve(ipc::AsyncResult<protos::FreeBuffersResponse>::Create()); in FreeBuffers()
[all …]
Dconsumer_ipc_service.h41 class ConsumerIPCService : public protos::ConsumerPort {
47 void EnableTracing(const protos::EnableTracingRequest&,
49 void StartTracing(const protos::StartTracingRequest&,
51 void ChangeTraceConfig(const protos::ChangeTraceConfigRequest&,
53 void DisableTracing(const protos::DisableTracingRequest&,
55 void ReadBuffers(const protos::ReadBuffersRequest&,
57 void FreeBuffers(const protos::FreeBuffersRequest&,
59 void Flush(const protos::FlushRequest&, DeferredFlushResponse) override;
60 void Detach(const protos::DetachRequest&, DeferredDetachResponse) override;
61 void Attach(const protos::AttachRequest&, DeferredAttachResponse) override;
[all …]
Dproducer_ipc_service.h40 class ProducerIPCService : public protos::ProducerPort {
46 void InitializeConnection(const protos::InitializeConnectionRequest&,
48 void RegisterDataSource(const protos::RegisterDataSourceRequest&,
50 void UnregisterDataSource(const protos::UnregisterDataSourceRequest&,
52 void RegisterTraceWriter(const protos::RegisterTraceWriterRequest&,
54 void UnregisterTraceWriter(const protos::UnregisterTraceWriterRequest&,
56 void CommitData(const protos::CommitDataRequest&,
59 const protos::NotifyDataSourceStartedRequest&,
62 const protos::NotifyDataSourceStoppedRequest&,
65 void ActivateTriggers(const protos::ActivateTriggersRequest&,
[all …]
/external/perfetto/src/trace_processor/
Dproto_incremental_state.h45 struct StorageReferences<protos::pbzero::EventCategory> {
50 struct StorageReferences<protos::pbzero::LegacyEventName> {
55 struct StorageReferences<protos::pbzero::DebugAnnotationName> {
60 struct StorageReferences<protos::pbzero::SourceLocation> {
162 InternedDataMap<protos::pbzero::EventCategory> event_categories_;
163 InternedDataMap<protos::pbzero::LegacyEventName> legacy_event_names_;
164 InternedDataMap<protos::pbzero::DebugAnnotationName>
166 InternedDataMap<protos::pbzero::SourceLocation> source_locations_;
187 inline ProtoIncrementalState::InternedDataMap<protos::pbzero::EventCategory>*
189 protos::pbzero::EventCategory>() {
[all …]
DBUILD.gn32 "../../protos/perfetto/trace_processor:lite",
152 "../../protos/perfetto/common:zero",
153 "../../protos/perfetto/metrics:zero",
154 "../../protos/perfetto/metrics/android:zero",
155 "../../protos/perfetto/trace:zero",
156 "../../protos/perfetto/trace/android:zero",
157 "../../protos/perfetto/trace/ftrace:zero",
158 "../../protos/perfetto/trace/interned_data:zero",
159 "../../protos/perfetto/trace/power:zero",
160 "../../protos/perfetto/trace/profiling:zero",
[all …]
Dproto_trace_parser.cc210 using ProcessStats = protos::pbzero::ProcessStats; in ProtoTraceParser()
292 protos::pbzero::TracePacket::Decoder packet(blob.data(), blob.length()); in ParseTracePacket()
340 protos::pbzero::SysStats::Decoder sys_stats(blob.data, blob.size); in ParseSysStats()
343 protos::pbzero::SysStats::MeminfoValue::Decoder mi(it->data(), it->size()); in ParseSysStats()
356 protos::pbzero::SysStats::VmstatValue::Decoder vm(it->data(), it->size()); in ParseSysStats()
368 protos::pbzero::SysStats::CpuTimes::Decoder ct(it->data(), it->size()); in ParseSysStats()
397 protos::pbzero::SysStats::InterruptCount::Decoder ic(it->data(), in ParseSysStats()
404 protos::pbzero::SysStats::InterruptCount::Decoder ic(it->data(), in ParseSysStats()
429 protos::pbzero::ProcessTree::Decoder ps(blob.data, blob.size); in ParseProcessTree()
432 protos::pbzero::ProcessTree::Process::Decoder proc(it->data(), it->size()); in ParseProcessTree()
[all …]
Dproto_trace_tokenizer.cc89 protos::pbzero::Trace::Decoder decoder(data, std::min(size, kMaxScanSize)); in GuessProtoTraceType()
95 protos::pbzero::TracePacket::kTrackEventFieldNumber))) { in GuessProtoTraceType()
124 MakeTagLengthDelimited(protos::pbzero::Trace::kPacketFieldNumber); in Parse()
178 protos::pbzero::Trace::Decoder decoder(data, size); in ParseInternal()
193 protos::pbzero::TracePacket::Decoder decoder(packet.data(), packet.length()); in ParsePacket()
236 const protos::pbzero::TracePacket::Decoder& packet_decoder) { in HandleIncrementalStateCleared()
249 const protos::pbzero::TracePacket::Decoder& packet_decoder) { in HandlePreviousPacketDropped()
261 const protos::pbzero::TracePacket::Decoder& packet_decoder, in ParseInternedData()
272 protos::pbzero::InternedData::Decoder interned_data_decoder( in ParseInternedData()
278 InternMessage<protos::pbzero::EventCategory>( in ParseInternedData()
[all …]
/external/perfetto/src/traced/probes/filesystem/
Dfile_scanner_unittest.cc42 protos::pbzero::InodeFileMap_Entry_Type)> callback, in TestDelegate()
49 protos::pbzero::InodeFileMap_Entry_Type type) override { in OnInodeFound()
59 protos::pbzero::InodeFileMap_Entry_Type)>
68 protos::pbzero::InodeFileMap_Entry_Type type) in FileEntry()
83 protos::pbzero::InodeFileMap_Entry_Type type_;
93 protos::pbzero::InodeFileMap_Entry_Type type) { in StatFileEntry()
103 protos::pbzero::InodeFileMap_Entry_Type) { in TEST()
121 protos::pbzero::InodeFileMap_Entry_Type) { in TEST()
140 protos::pbzero::InodeFileMap_Entry_Type type) { in TEST()
153 protos::pbzero::InodeFileMap_Entry_Type_FILE)), in TEST()
[all …]
/external/perfetto/src/tracing/core/
Dtrace_packet_unittest.cc31 protos::Trace::kPacketFieldNumber,
34 static_assert(protos::TracePacket::kTrustedUidFieldNumber ==
35 protos::TrustedPacket::kTrustedUidFieldNumber,
38 static_assert(protos::TracePacket::kTraceConfigFieldNumber ==
39 protos::TrustedPacket::kTraceConfigFieldNumber,
42 static_assert(protos::TracePacket::kTraceStatsFieldNumber ==
43 protos::TrustedPacket::kTraceStatsFieldNumber,
46 static_assert(protos::TracePacket::kClockSnapshotFieldNumber ==
47 protos::TrustedPacket::kClockSnapshotFieldNumber,
51 protos::TracePacket proto; in TEST()
[all …]
Dtracing_service_impl_unittest.cc64 const std::vector<protos::TracePacket>& packets, in HasTriggerModeInternal()
65 protos::TraceConfig::TriggerConfig::TriggerMode mode) { in HasTriggerModeInternal()
69 &protos::TracePacket::trace_config, in HasTriggerModeInternal()
70 Property(&protos::TraceConfig::trigger_config, in HasTriggerModeInternal()
71 Property(&protos::TraceConfig::TriggerConfig::trigger_mode, in HasTriggerModeInternal()
324 HasTriggerMode(protos::TraceConfig::TriggerConfig::START_TRACING)); in TEST_F()
460 HasTriggerMode(protos::TraceConfig::TriggerConfig::START_TRACING)); in TEST_F()
551 HasTriggerMode(protos::TraceConfig::TriggerConfig::START_TRACING)); in TEST_F()
680 HasTriggerMode(protos::TraceConfig::TriggerConfig::START_TRACING)); in TEST_F()
683 HasTriggerMode(protos::TraceConfig::TriggerConfig::START_TRACING)); in TEST_F()
[all …]
Dtrace_writer_for_testing.cc34 cur_packet_.reset(new protos::pbzero::TracePacket()); in TraceWriterForTesting()
48 std::vector<protos::TracePacket> TraceWriterForTesting::GetAllTracePackets() { in GetAllTracePackets()
51 auto trace = protos::Trace(); in GetAllTracePackets()
56 std::vector<protos::TracePacket> ret; in GetAllTracePackets()
63 std::unique_ptr<protos::TracePacket> TraceWriterForTesting::ParseProto() { in ParseProto()
69 std::unique_ptr<protos::TracePacket>(new protos::TracePacket(trace[0])); in ParseProto()
87 protos::pbzero::Trace::kPacketFieldNumber), in NewTracePacket()
/external/perfetto/src/perfetto_cmd/
Dpbtxt_to_pb_unittest.cc48 protos::TraceConfig ToProto(const std::string& input) { in ToProto()
52 protos::TraceConfig config; in ToProto()
62 protos::TraceConfig config = ToProto(R"( in TEST()
69 protos::TraceConfig config = ToProto(R"( in TEST()
78 protos::TraceConfig config = ToProto(R"( in TEST()
87 protos::TraceConfig config = ToProto(R"( in TEST()
97 protos::TraceConfig config = ToProto(R"( in TEST()
113 protos::TraceConfig config = ToProto(R"( in TEST()
127 protos::TraceConfig config = ToProto(R"( in TEST()
142 protos::TraceConfig config = ToProto(R"( in TEST()
[all …]
/external/perfetto/protos/perfetto/trace/
DBUILD.gn19 # Common protos used by both the ":minimal_lite" target (for the service) and
51 proto_in_dir = "$perfetto_root_path/protos"
52 proto_out_dir = "$perfetto_root_path/protos"
74 generate_descriptor = "$perfetto_root_path/protos/trace/trace.descriptor"
77 proto_in_dir = "$perfetto_root_path/protos"
78 proto_out_dir = "$perfetto_root_path/protos"
88 proto_in_dir = "$perfetto_root_path/protos"
89 proto_out_dir = "$perfetto_root_path/protos"
101 proto_in_dir = "$perfetto_root_path/protos"
102 proto_out_dir = "$perfetto_root_path/protos"
[all …]
/external/mesa3d/src/gallium/drivers/swr/rasterizer/codegen/templates/
Dgen_ar_event.hpp40 % for name in protos['enum_names']:
42 {<% names = protos['enums'][name]['names'] %>
62 % for name in protos['event_names']:
70 field_names = protos['events'][name]['field_names']
71 field_types = protos['events'][name]['field_types'] %>
84 field_names = protos['events'][name]['field_names']
85 field_types = protos['events'][name]['field_types'] %>
/external/grpc-grpc/tools/buildgen/plugins/
Dlist_protos.py39 protos = set()
44 protos.add(m.group(1))
49 protos.add(m.group(1))
51 protos = sorted(protos)
53 dictionary['protos'] = protos

12345678910>>...17