/system/sepolicy/prebuilts/api/28.0/private/ |
D | perfetto.te | 2 # explicitly allowlisted with a domain_auto_trans(X, perfetto_exec, perfetto). 6 type perfetto, domain, coredomain; 9 tmpfs_domain(perfetto); 12 unix_socket_connect(perfetto, traced_consumer, traced) 14 # Allow to write and unlink traces into /data/misc/perfetto-traces. 15 allow perfetto perfetto_traces_data_file:dir rw_dir_perms; 16 allow perfetto perfetto_traces_data_file:file create_file_perms; 19 binder_use(perfetto) 20 binder_call(perfetto, system_server) 21 allow perfetto dropbox_service:service_manager find; [all …]
|
D | file.te | 15 # /data/misc/perfetto-traces for perfetto traces
|
D | shell.te | 43 # Allow shell binaries to exec the perfetto cmdline util and have that 46 domain_auto_trans(shell, perfetto_exec, perfetto) 51 # Allow shell to read and unlink traces stored in /data/misc/perfetto-traces.
|
D | su.te | 16 # Put the perfetto command into its domain so it is the same on user, userdebug and eng. 17 domain_auto_trans(su, perfetto_exec, perfetto)
|
/system/sepolicy/prebuilts/api/30.0/private/ |
D | perfetto.te | 2 # explicitly allowlisted with a domain_auto_trans(X, perfetto_exec, perfetto). 9 tmpfs_domain(perfetto); 12 unix_socket_connect(perfetto, traced_consumer, traced) 16 perfetto_producer(perfetto) 18 # Allow to write and unlink traces into /data/misc/perfetto-traces. 19 allow perfetto perfetto_traces_data_file:dir rw_dir_perms; 20 allow perfetto perfetto_traces_data_file:file create_file_perms; 23 binder_use(perfetto) 24 binder_call(perfetto, system_server) 25 allow perfetto dropbox_service:service_manager find; [all …]
|
D | shell.te | 41 # Allow shell binaries to exec the perfetto cmdline util and have that 44 domain_auto_trans(shell, perfetto_exec, perfetto) 45 # Allow to send SIGINT to perfetto when daemonized. 46 allow shell perfetto:process signal; 51 # Allow shell to read and unlink traces stored in /data/misc/perfetto-traces.
|
D | statsd.te | 5 # Allow to exec the perfetto cmdline client and pass it the trace config on 9 domain_auto_trans(statsd, perfetto_exec, perfetto)
|
D | su.te | 16 # Put the perfetto command into its domain so it is the same on user, userdebug and eng. 17 domain_auto_trans(su, perfetto_exec, perfetto)
|
D | file.te | 10 # /data/misc/perfetto-traces for perfetto traces
|
/system/sepolicy/private/ |
D | perfetto.te | 2 # explicitly allowlisted with a domain_auto_trans(X, perfetto_exec, perfetto). 9 tmpfs_domain(perfetto); 12 unix_socket_connect(perfetto, traced_consumer, traced) 16 perfetto_producer(perfetto) 18 # Allow to write and unlink traces into /data/misc/perfetto-traces. 19 allow perfetto perfetto_traces_data_file:dir rw_dir_perms; 20 allow perfetto perfetto_traces_data_file:file create_file_perms; 23 binder_use(perfetto) 24 binder_call(perfetto, system_server) 25 allow perfetto dropbox_service:service_manager find; [all …]
|
D | statsd.te | 5 # Allow to exec the perfetto cmdline client and pass it the trace config on 9 domain_auto_trans(statsd, perfetto_exec, perfetto)
|
D | su.te | 16 # Put the perfetto command into its domain so it is the same on user, userdebug and eng. 17 domain_auto_trans(su, perfetto_exec, perfetto)
|
D | file.te | 10 # /data/misc/perfetto-traces for perfetto traces
|
/system/sepolicy/prebuilts/api/29.0/private/ |
D | perfetto.te | 2 # explicitly allowlisted with a domain_auto_trans(X, perfetto_exec, perfetto). 9 tmpfs_domain(perfetto); 12 unix_socket_connect(perfetto, traced_consumer, traced) 16 allow perfetto traced:fd use; 17 allow perfetto traced_tmpfs:file { read write getattr map }; 18 unix_socket_connect(perfetto, traced_producer, traced) 21 # Allow to write and unlink traces into /data/misc/perfetto-traces. 22 allow perfetto perfetto_traces_data_file:dir rw_dir_perms; 23 allow perfetto perfetto_traces_data_file:file create_file_perms; 26 binder_use(perfetto) [all …]
|
D | shell.te | 43 # Allow shell binaries to exec the perfetto cmdline util and have that 46 domain_auto_trans(shell, perfetto_exec, perfetto) 47 # Allow to send SIGINT to perfetto when daemonized. 48 allow shell perfetto:process signal; 53 # Allow shell to read and unlink traces stored in /data/misc/perfetto-traces.
|
D | statsd.te | 8 # Allow to exec the perfetto cmdline client and pass it the trace config on 12 domain_auto_trans(statsd, perfetto_exec, perfetto)
|
D | file.te | 10 # /data/misc/perfetto-traces for perfetto traces
|
D | su.te | 16 # Put the perfetto command into its domain so it is the same on user, userdebug and eng. 17 domain_auto_trans(su, perfetto_exec, perfetto)
|
/system/iorap/src/perfetto/ |
D | perfetto_consumer.h | 21 namespace iorap::perfetto { 29 using State = ::perfetto::consumer::State; 30 using Handle = ::perfetto::consumer::Handle; 31 static constexpr Handle kInvalidHandle = ::perfetto::consumer::kInvalidHandle; 32 using OnStateChangedCb = ::perfetto::consumer::OnStateChangedCb; 33 using TraceBuffer = ::perfetto::consumer::TraceBuffer; 59 return ::perfetto::consumer::Create(config_proto, in Create() 66 ::perfetto::consumer::StartTracing(handle); in StartTracing() 70 return ::perfetto::consumer::ReadTrace(handle); in ReadTrace() 74 ::perfetto::consumer::Destroy(handle); in Destroy() [all …]
|
D | rx_producer.cc | 33 namespace perfetto { namespace 72 namespace iorap::perfetto { namespace 91 ::perfetto::protos::TraceConfig PerfettoDependencies::CreateConfig(uint32_t duration_ms, in CreateConfig() 94 ::perfetto::protos::TraceConfig trace_config; in CreateConfig() 161 using State = ::perfetto::consumer::State; 162 using Handle = ::perfetto::consumer::Handle; 199 using State = ::perfetto::consumer::State; 200 using Handle = ::perfetto::consumer::Handle; 202 StateChangedSubject(const ::perfetto::protos::TraceConfig& trace_config, in StateChangedSubject() 325 using namespace ::perfetto::consumer; in OnStateChanged() [all …]
|
D | rx_producer.h | 28 namespace iorap::perfetto { 32 fruit::Component<PerfettoConsumer, ::perfetto::protos::TraceConfig>; 34 fruit::Injector<PerfettoConsumer, ::perfetto::protos::TraceConfig>; 36 fruit::NormalizedComponent<PerfettoConsumer, ::perfetto::protos::TraceConfig>; 49 static ::perfetto::protos::TraceConfig CreateConfig(uint32_t duration_ms,
|
/system/iorap/src/manager/ |
D | event_manager.h | 25 namespace iorap::perfetto { 35 /*borrow*/perfetto::RxProducerFactory& perfetto_factory); 52 EventManager(perfetto::RxProducerFactory& perfetto_factory);
|
D | event_manager.cc | 34 using perfetto::PerfettoStreamCommand; 35 using perfetto::PerfettoTraceProto; 120 borrowed<perfetto::RxProducerFactory*> perfetto_factory_; // not null 124 explicit AppLaunchEventState(borrowed<perfetto::RxProducerFactory*> perfetto_factory, in AppLaunchEventState() 392 Impl(/*borrow*/perfetto::RxProducerFactory& perfetto_factory) in Impl() 396 io_thread_(perfetto::ObserveOnNewIoThread()) { in Impl() 445 perfetto::RxProducerFactory& perfetto_factory_; 473 EventManager::EventManager(perfetto::RxProducerFactory& perfetto_factory) in EventManager() 477 static perfetto::PerfettoDependencies::Injector injector{ in Create() 478 perfetto::PerfettoDependencies::CreateComponent in Create() [all …]
|
/system/iorap/ |
D | Android.bp | 123 "libiorap-perfetto", 126 "libiorap-perfetto-default-dependencies", 219 name: "libiorap-perfetto-protos", 228 name: "libiorap-perfetto-default-dependencies", 234 include_dirs: ["external/perfetto/include"], 235 // Various perfetto protos are used directly by iorap. 238 // libiorap-perfetto.a into the main cc_binary rule. 244 // Not part of true dependencies: Users of 'libiorap-perfetto' do not link against 254 name: "libiorap-perfetto", 258 "libiorap-perfetto-default-dependencies", [all …]
|
/system/sepolicy/prebuilts/api/30.0/public/ |
D | perfetto.te | 1 type perfetto, domain, coredomain;
|