Home
last modified time | relevance | path

Searched refs:perfetto (Results 1 – 25 of 96) sorted by relevance

1234

/system/sepolicy/private/
Dperfetto.te2 # 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 …]
Dfile.te13 # /data/misc/perfetto-traces for perfetto traces
16 # /data/misc/perfetto-traces/bugreport for perfetto traces for bugreports.
19 # /data/misc/perfetto-configs for perfetto configs
Ddumpstate.te101 # For starting (and killing) perfetto --save-for-bugreport. If a labelled trace
103 # /data/misc/perfetto-traces/bugreport/*.pftrace .
104 domain_auto_trans(dumpstate, perfetto_exec, perfetto)
105 allow dumpstate perfetto:process signal;
110 # When exec-ing /system/bin/perfetto, dumpstates redirects stdio to /dev/null
112 # zip file. These rules are to allow perfetto.te to inherit dumpstate's
114 allow perfetto dumpstate_tmpfs:file rw_file_perms;
115 allow perfetto dumpstate:fd use;
/system/sepolicy/prebuilts/api/31.0/private/
Dperfetto.te2 # 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 …]
Dfile.te13 # /data/misc/perfetto-traces for perfetto traces
16 # /data/misc/perfetto-traces/bugreport for perfetto traces for bugreports.
19 # /data/misc/perfetto-configs for perfetto configs
Ddumpstate.te101 # For starting (and killing) perfetto --save-for-bugreport. If a labelled trace
103 # /data/misc/perfetto-traces/bugreport/*.pftrace .
104 domain_auto_trans(dumpstate, perfetto_exec, perfetto)
105 allow dumpstate perfetto:process signal;
110 # When exec-ing /system/bin/perfetto, dumpstates redirects stdio to /dev/null
112 # zip file. These rules are to allow perfetto.te to inherit dumpstate's
114 allow perfetto dumpstate_tmpfs:file rw_file_perms;
115 allow perfetto dumpstate:fd use;
/system/sepolicy/prebuilts/api/28.0/private/
Dperfetto.te2 # 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 …]
Dfile.te15 # /data/misc/perfetto-traces for perfetto traces
Dsu.te16 # 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)
Dshell.te43 # 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.
/system/sepolicy/prebuilts/api/30.0/private/
Dperfetto.te2 # 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 …]
Dshell.te41 # 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.
Dstatsd.te5 # Allow to exec the perfetto cmdline client and pass it the trace config on
9 domain_auto_trans(statsd, perfetto_exec, perfetto)
Dsu.te16 # 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/29.0/private/
Dperfetto.te2 # 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 …]
Dshell.te43 # 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.
Dstatsd.te8 # Allow to exec the perfetto cmdline client and pass it the trace config on
12 domain_auto_trans(statsd, perfetto_exec, perfetto)
Dfile.te10 # /data/misc/perfetto-traces for perfetto traces
Dsu.te16 # 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/
Dperfetto_consumer.h25 namespace iorap::perfetto {
33 using State = ::perfetto::consumer::State;
34 using Handle = ::perfetto::consumer::Handle;
35 static constexpr Handle kInvalidHandle = ::perfetto::consumer::kInvalidHandle;
36 using OnStateChangedCb = ::perfetto::consumer::OnStateChangedCb;
37 using TraceBuffer = ::perfetto::consumer::TraceBuffer;
63 return ::perfetto::consumer::Create(config_proto, in Create()
70 ::perfetto::consumer::StartTracing(handle); in StartTracing()
74 return ::perfetto::consumer::ReadTrace(handle); in ReadTrace()
78 ::perfetto::consumer::Destroy(handle); in Destroy()
[all …]
Drx_producer.cc33 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;
208 StateChangedSubject(const ::perfetto::protos::TraceConfig& trace_config, in StateChangedSubject()
331 using namespace ::perfetto::consumer; in OnStateChanged()
[all …]
Drx_producer.h28 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/
Devent_manager.h34 namespace iorap::perfetto {
60 /*borrow*/perfetto::RxProducerFactory& perfetto_factory);
116 EventManager(perfetto::RxProducerFactory& perfetto_factory);
/system/iorap/
DAndroid.bp144 "libiorap-perfetto",
150 "libiorap-perfetto-default-dependencies",
296 name: "libiorap-perfetto-protos",
305 name: "libiorap-perfetto-default-dependencies",
311 include_dirs: ["external/perfetto/include"],
312 // Various perfetto protos are used directly by iorap.
315 // libiorap-perfetto.a into the main cc_binary rule.
321 // Not part of true dependencies: Users of 'libiorap-perfetto' do not link against
331 name: "libiorap-perfetto",
335 "libiorap-perfetto-default-dependencies",
[all …]
/system/iorap/src/compiler/
Dcompiler.cc53 using ProtobufPtr = iorap::perfetto::ProtobufPtr<T>;
57 ::iorap::perfetto::PerfettoTraceProto proto;
72 ProtobufPtr<::perfetto::protos::Trace> trace_ptr;
93 using BinaryWireProtoT = ::iorap::perfetto::PerfettoTraceProto; in ReadProtosFromFileNames()
176 ReadProtosFromFileNames<::perfetto::protos::Trace>(std::move(filename_obs)); in ReadPerfettoTraceProtos()
250 std::optional<uint64_t> GetStartTimestamp(const ::perfetto::protos::Trace& trace) { in GetStartTimestamp()
253 for (const ::perfetto::protos::TracePacket& packet : trace.packet()) { in GetStartTimestamp()
261 const ::perfetto::protos::FtraceEventBundle& ftrace_event_bundle = in GetStartTimestamp()
263 for (const ::perfetto::protos::FtraceEvent& event : ftrace_event_bundle.event()) { in GetStartTimestamp()
300 const ::perfetto::protos::Trace& trace = *(trace_info.trace_ptr); in SelectPageCacheFtraceEvents()
[all …]

1234