Home
last modified time | relevance | path

Searched refs:process (Results 1 – 25 of 845) sorted by relevance

12345678910>>...34

/system/extras/simpleperf/scripts/inferno/
Dinferno.py91 def parse_samples(process, args, sample_filter_fn): argument
116 process.cmd = lib.GetRecordCmd()
120 process.props['ro.product.manufacturer'] = manufacturer
121 process.props['ro.product.model'] = model
122 process.props['ro.product.name'] = name
124 process.props['trace_offcpu'] = True
129 process.props['trace_offcpu'] = False
140 process.add_sample(sample, symbol, callchain)
142 if process.pid == 0:
143 main_threads = [thread for thread in process.threads.values() if thread.tid == thread.pid]
[all …]
/system/extras/simpleperf/
DJITDebugReader.cpp336 Process& process = it->second; in ReadAllProcesses() local
337 if (!ReadProcess(process, &debug_info)) { in ReadAllProcesses()
340 if (process.died) { in ReadAllProcesses()
341 LOG(DEBUG) << "Stop monitoring process " << process.pid; in ReadAllProcesses()
365 bool JITDebugReader::ReadProcess(Process& process, std::vector<JITDebugInfo>* debug_info) { in ReadProcess() argument
366 if (process.died || (!process.initialized && !InitializeProcess(process))) { in ReadProcess()
372 if (!ReadDescriptors(process, &jit_descriptor, &dex_descriptor)) { in ReadProcess()
376 if (jit_descriptor.action_seqlock == process.last_jit_descriptor.action_seqlock && in ReadProcess()
377 dex_descriptor.action_seqlock == process.last_dex_descriptor.action_seqlock) { in ReadProcess()
382 return ReadDebugInfo(process, jit_descriptor, debug_info) && in ReadProcess()
[all …]
DJITDebugReader.h190 bool ReadProcess(Process& process, std::vector<JITDebugInfo>* debug_info);
191 bool ReadDebugInfo(Process& process, Descriptor& new_descriptor,
193 bool IsDescriptorChanged(Process& process, Descriptor& old_descriptor);
194 bool InitializeProcess(Process& process);
196 bool ReadRemoteMem(Process& process, uint64_t remote_addr, uint64_t size, void* data);
197 bool ReadDescriptors(Process& process, Descriptor* jit_descriptor, Descriptor* dex_descriptor);
202 bool ReadNewCodeEntries(Process& process, const Descriptor& descriptor,
206 bool ReadNewCodeEntriesImpl(Process& process, const Descriptor& descriptor,
210 bool ReadJITCodeDebugInfo(Process& process, const std::vector<CodeEntry>& jit_entries,
212 TempSymFile* GetTempSymFile(Process& process, const CodeEntry& jit_entry);
[all …]
Dcmd_trace_sched.cpp298 ProcessInfo& process = process_map[thread.process_id]; in BuildProcessInfo() local
299 process.process_id = thread.process_id; in BuildProcessInfo()
301 process.name = thread.name; in BuildProcessInfo()
303 process.total_runtime_in_ns += thread.total_runtime_in_ns; in BuildProcessInfo()
304 process.threads.push_back(&thread); in BuildProcessInfo()
317 for (auto& process : processes) { in BuildProcessInfo() local
318 std::sort(process.threads.begin(), process.threads.end(), sort_thread); in BuildProcessInfo()
325 for (auto& process : processes) { in ReportProcessInfo() local
326 total_runtime_in_ns += process.total_runtime_in_ns; in ReportProcessInfo()
337 for (auto& process : processes) { in ReportProcessInfo() local
[all …]
/system/media/audio_utils/tests/
Dbalance_tests.cpp31 balance.process(buffer.data(), 1 /* frames */); in TEST()
37 balance.process(buffer.data(), 1 /* frames */); in TEST()
44 balance.process(buffer.data(), 1 /* frames */); in TEST()
59 balance.process(buffer.data(), 1 /* frames */);
64 balance.process(buffer.data(), 1 /* frames */);
71 balance.process(buffer.data(), 1 /* frames */);
92 balance.process(buffer.data(), 1 /* frames */); in TEST()
97 balance.process(buffer.data(), 1 /* frames */); in TEST()
102 balance.process(buffer.data(), 1 /* frames */); in TEST()
111 balance.process(buffer.data(), 1 /* frames */); in TEST()
[all …]
/system/memory/libmemunreachable/
DREADME.md6 …on on the main process, and then forks a copy of the process to perform the mark-and-sweep, minimi…
17 …ble is loaded by zygote and can be triggered with `dumpsys -t 600 meminfo --unreachable [process]`.
19 To enable malloc\_debug backtraces on allocations for a single app process on a userdebug device, u…
23 adb shell setprop wrap.[process] "\$\@"
27 …d restart the app, trigger the leak, and then run `dumpsys -t 600 meminfo --unreachable [process]`.
33 adb shell setprop wrap.[process] "''"
56 … is divided into three processes - the original process, the collection process, and the sweeper p…
58 1. *Original process*: Leak detection is requested by calling `GetUnreachableMemory()`
60process is spawned. The collection process, created using clone, is similar to a normal `fork()` …
61 4. *Collection process*: All threads in the original process are paused with `ptrace()`.
[all …]
/system/netd/server/
DIptablesRestoreController.cpp209 std::unique_ptr<IptablesProcess> *process = in sendCommand() local
220 IptablesProcess *existingProcess = process->get(); in sendCommand()
234 process->reset(newProcess); in sendCommand()
237 if (!android::base::WriteFully((*process)->stdIn, command.data(), command.length())) { in sendCommand()
242 if (!android::base::WriteFully((*process)->stdIn, PING, PING_SIZE)) { in sendCommand()
247 if (!drainAndWaitForAck(*process, command, output)) { in sendCommand()
255 void IptablesRestoreController::maybeLogStderr(const std::unique_ptr<IptablesProcess> &process, in maybeLogStderr() argument
257 if (process->errBuf.empty()) { in maybeLogStderr()
265 ALOGE("%s", process->errBuf.c_str()); in maybeLogStderr()
267 process->errBuf.clear(); in maybeLogStderr()
[all …]
/system/sepolicy/prebuilts/api/28.0/
Dvendor_sepolicy.cil477 (allow init_28_0 hal_audio_default (process (transition)))
479 (dontaudit init_28_0 hal_audio_default (process (noatsecure)))
480 (allow init_28_0 hal_audio_default (process (siginh rlimitinh)))
481 (typetransition init_28_0 hal_audio_default_exec process hal_audio_default)
486 (allow init_28_0 hal_audiocontrol_default (process (transition)))
488 (dontaudit init_28_0 hal_audiocontrol_default (process (noatsecure)))
489 (allow init_28_0 hal_audiocontrol_default (process (siginh rlimitinh)))
490 (typetransition init_28_0 hal_audiocontrol_default_exec process hal_audiocontrol_default)
495 (allow init_28_0 hal_authsecret_default (process (transition)))
497 (dontaudit init_28_0 hal_authsecret_default (process (noatsecure)))
[all …]
/system/sepolicy/prebuilts/api/30.0/private/
Dllkd.te19 allow llkd domain:process sigkill;
32 }:process ptrace;
35 # live lock watchdog process allowed to look through /proc/
42 # live lock watchdog process allowed to dump process trace and
49 neverallow { domain -init } llkd:process { dyntransition transition };
50 neverallow { domain userdebug_or_eng(`-crash_dump') } llkd:process ptrace;
53 neverallow * llkd:process noatsecure;
Dsystem_server_startup.te7 allow system_server_startup self:process execmem;
12 allow system_server_startup self:process setcurrent;
13 allow system_server_startup system_server:process dyntransition;
16 allow system_server_startup zygote:process sigchld;
Dcrash_dump.te19 }:process { ptrace signal sigchld sigstop sigkill };
21 allow crash_dump { apexd llkd logd vold }:process { ptrace signal sigchld sigstop sigkill };
46 }:process { signal sigstop sigkill };
48 neverallow crash_dump self:process ptrace;
/system/sepolicy/prebuilts/api/31.0/private/
Dllkd.te19 allow llkd domain:process sigkill;
32 }:process ptrace;
35 # live lock watchdog process allowed to look through /proc/
42 # live lock watchdog process allowed to dump process trace and
49 neverallow { domain -init } llkd:process { dyntransition transition };
50 neverallow { domain userdebug_or_eng(`-crash_dump') } llkd:process ptrace;
53 neverallow * llkd:process noatsecure;
Dsystem_server_startup.te7 allow system_server_startup self:process execmem;
16 allow system_server_startup self:process setcurrent;
17 allow system_server_startup system_server:process dyntransition;
20 allow system_server_startup zygote:process sigchld;
/system/sepolicy/private/
Dllkd.te19 allow llkd domain:process sigkill;
32 }:process ptrace;
35 # live lock watchdog process allowed to look through /proc/
42 # live lock watchdog process allowed to dump process trace and
49 neverallow { domain -init } llkd:process { dyntransition transition };
50 neverallow { domain userdebug_or_eng(`-crash_dump') } llkd:process ptrace;
53 neverallow * llkd:process noatsecure;
Dsystem_server_startup.te7 allow system_server_startup self:process execmem;
16 allow system_server_startup self:process setcurrent;
17 allow system_server_startup system_server:process dyntransition;
20 allow system_server_startup zygote:process sigchld;
/system/sepolicy/prebuilts/api/29.0/private/
Dllkd.te19 allow llkd domain:process sigkill;
32 }:process ptrace;
35 # live lock watchdog process allowed to look through /proc/
42 # live lock watchdog process allowed to dump process trace and
49 neverallow { domain -init } llkd:process { dyntransition transition };
50 neverallow { domain userdebug_or_eng(`-crash_dump') } llkd:process ptrace;
53 neverallow * llkd:process noatsecure;
Dsystem_server_startup.te7 allow system_server_startup self:process execmem;
19 allow system_server_startup self:process setcurrent;
20 allow system_server_startup system_server:process dyntransition;
23 allow system_server_startup zygote:process sigchld;
Dcrash_dump.te19 }:process { ptrace signal sigchld sigstop sigkill };
21 allow crash_dump { apexd llkd logd vold }:process { ptrace signal sigchld sigstop sigkill };
46 }:process { signal sigstop sigkill };
48 neverallow crash_dump self:process ptrace;
Dapp_zygote.te14 # Set the UID/GID of the process.
20 allow app_zygote self:process setcurrent;
21 allow app_zygote isolated_app:process dyntransition;
24 allow app_zygote self:process execmem;
31 # get system_server process group
32 allow app_zygote system_server:process getpgid;
35 allow app_zygote isolated_app:process setpgid;
53 allow app_zygote zygote:process sigchld;
75 neverallow app_zygote { domain -isolated_app }:process dyntransition;
78 neverallow app_zygote { domain -crash_dump }:process transition;
[all …]
/system/unwinding/libunwindstack/tests/
DDwarfSectionTest.cpp112 MemoryFake process; in TEST_F() local
113 EXPECT_CALL(*section_, Eval(&cie, &process, ::testing::_, &regs_, ::testing::_)) in TEST_F()
118 ASSERT_TRUE(section_->Step(0x1000, &regs_, &process, &finished, &is_signal_frame)); in TEST_F()
139 MemoryFake process; in TEST_F() local
140 EXPECT_CALL(*section_, Eval(&cie, &process, ::testing::_, &regs_, ::testing::_)) in TEST_F()
145 ASSERT_TRUE(section_->Step(0x1000, &regs_, &process, &finished, &is_signal_frame)); in TEST_F()
146 ASSERT_TRUE(section_->Step(0x1000, &regs_, &process, &finished, &is_signal_frame)); in TEST_F()
147 ASSERT_TRUE(section_->Step(0x1500, &regs_, &process, &finished, &is_signal_frame)); in TEST_F()
160 MemoryFake process; in TEST_F() local
161 EXPECT_CALL(*section_, Eval(&cie, &process, ::testing::_, &regs_, ::testing::_)) in TEST_F()
[all …]
/system/extras/boottime_tools/io_analysis/
Dcheck_io_trace.py51 def __init__(self, process): argument
52 self.process = process
63 if process[-1] == '*':
64 print "Process name starts with", process[:-1]
67 print "Process name", process
80 process = match.group(7)
82 if not process.startswith(self.process[:-1]):
84 self.processes.add(process)
86 if process != self.process:
/system/bt/gd/cert/
Dasync_subprocess_logger.py36 process: subprocess.Popen,
49 if not process:
51 if not process.stdout:
60 self.process = process
86 for line in self.process.stdout:
/system/extras/ANRdaemon/
DREADME20 not running. This is because the daemon process turns off tracing when CPU usage
22 from some other process to the daemon. Then sometime later (say 20 secs later),
23 when the CPU usage becomes high and the daemon process turn on tracing again,
25 daemon process to some other process. Due to this artifact, when the raw trace
26 file is parsed by systrace.py, the daemon process is shown as running for the
28 entries regarding the daemon process indicates the daemon process ran continuously
/system/sepolicy/prebuilts/api/26.0/private/
Dwebview_zygote.te1 # webview_zygote is an auxiliary zygote process that is used to spawn
10 # resulting process into webview_zygote domain.
22 # Set the UID/GID of the process.
27 allow webview_zygote self:process setcurrent;
28 allow webview_zygote isolated_app:process dyntransition;
41 allow webview_zygote system_server:process getpgid;
44 allow webview_zygote isolated_app:process setpgid;
58 neverallow webview_zygote { domain -isolated_app }:process dyntransition;
61 neverallow webview_zygote { domain -crash_dump }:process transition;
68 neverallow { domain -init } webview_zygote:process transition;
[all …]
/system/sepolicy/prebuilts/api/27.0/private/
Dwebview_zygote.te1 # webview_zygote is an auxiliary zygote process that is used to spawn
10 # resulting process into webview_zygote domain.
22 # Set the UID/GID of the process.
27 allow webview_zygote self:process setcurrent;
28 allow webview_zygote isolated_app:process dyntransition;
41 allow webview_zygote system_server:process getpgid;
44 allow webview_zygote isolated_app:process setpgid;
62 neverallow webview_zygote { domain -isolated_app }:process dyntransition;
65 neverallow webview_zygote { domain -crash_dump }:process transition;
72 neverallow { domain -init } webview_zygote:process transition;
[all …]

12345678910>>...34