| /xnu-11215/tools/lldbmacros/core/ |
| H A D | caching.py | 169 stop_id = process.GetStopID() 206 process = lldbwrap.GetProcess() 274 process = exe_ctx.GetProcess() 277 process = target.GetProcess() 281 process = target.GetProcess() 284 target = process.GetTarget() 287 process = target.GetProcess() 293 self.process = process 304 _implicit_process = process = self.process 319 _implicit_process = process [all …]
|
| H A D | operating_system.py | 658 def __init__(self, process): argument 660 self.process = None 666 if type(process) is lldb.SBProcess and process.IsValid(): 668 self.process = process 669 self._target = process.target 671 self.current_session_id = GetUniqueSessionID(self.process) 701 plugin_string = self.process.GetPluginName().lower() 707 triple = self.process.target.triple 776 self.current_session_id = GetUniqueSessionID(self.process) 805 self.current_session_id = GetUniqueSessionID(self.process) [all …]
|
| /xnu-11215/tools/lldbmacros/usertaskdebugging/ |
| H A D | gdbserver.py | 11 self.process = backing_instance 64 h_msg = rsprotocol.Message(self.process.getSignalInfo()) 106 h_msg = rsprotocol.Message(self.process.getHostInfo()) 139 bytes = self.process.getFirstThreadInfo() 141 bytes = self.process.getSubsequestThreadInfo() 146 bytes = self.process.getThreadStopInfo(tid) 176 bytes = self.process.getRegisterInfo(regnum) 204 data = self.process.getProcessInfo() 212 data = self.process.getSharedLibInfoAddress() 213 data = self.process.encodeThreadID(data) [all …]
|
| /xnu-11215/doc/vm/ |
| H A D | freezer.md | 15 …orystatus_pick_freeze_count_for_wakeup()` processes. This is generally 1 process except for app sw… 26 …an be in a single process. `memorystatus_freeze_private_shared_pages_ratio` is the min ratio of pr… 28 …process in multiple places though, so we do a quick forward scan in the map and subtract any other… 30 We assume that shared memory will be accessed by a non frozen process while the frozen process is s… 32 1. shared with another process in the same coalition 48 … freezing more than 1 process. Every app coalition has a leader which is the main app process. We … 64 …process, somewhat confusingly, is still considered frozen. This is because it may still have data … 107 | kern.memorystatus\_freeze\_pages\_min | The min. number of resident pages that a process needs to… 110 …d\_pages\_ratio | The min. ratio of private to shared pages needed for a process to be freezer eli… 116 …ount\_demotion\_threshold | The min. number of thaws needed for a frozen process to avoid demotion… [all …]
|
| H A D | memorystatus_kills.md | 20 … | thread that went over the process' memory limit | N… 31 …pages_pressure`, the `memorystatus_thread` will perform these kills. Any process over its soft mem… 45 …last ditch attempt to fix this by hopefully killing whatever higher band process is talking with t… 61 In this case the `memorystatus_thread` kills the process with the lowest jetsam priority and resets… 65 …process has gone over its hard limit. The process is immediately killed. This kill happens on the … 67 …limit. In that case the callback does a simulated crash instead of a per process limit kill. This … 71 …ed` sysctl. The thread that performs this sysctl then kills every frozen process so that we can fu… 84 …process to kill, it performs a synchronous kill. If not, it asks the `memorystatus_thread` to pick… 88 …compressions in the last 10 m.s. The `memorystatus_thread` will kill the process with the lowest j…
|
| H A D | memorystatus.md | 20 for killing processes that go over their per-process memory limits. 73 The memorystatus subsystem has 210 priority levels. Every process in the system (except launchd) ha… 76 A process's priority is tracked in the proc structure (See `bsd/sys/proc_internal.h`). `p_memstat_e… 128 - `kern.memstat_critical_mb`: any process may be killed in ascending jetsam priority order (see `JE… 173 …shot contains system level memory statistics along with entries for each process in the system. Si…
|
| /xnu-11215/tools/lldbmacros/tests/lldbtest/ |
| H A D | testcase.py | 69 def process(self): member in LLDBTestCase 78 return self.process.GetScriptedImplementation() 112 self.process.ForceScriptedState(lldb.eStateRunning) 113 self.process.ForceScriptedState(lldb.eStateStopped)
|
| /xnu-11215/bsd/kern/ |
| H A D | kern_codesigning.c | 940 __unused const proc_t process, in csm_resolve_os_entitlements_from_proc() argument 954 proc_require(process, PROC_REQUIRE_ALLOW_ALL); in csm_resolve_os_entitlements_from_proc() 957 task = proc_task(process); in csm_resolve_os_entitlements_from_proc() 986 const proc_t process) in address_space_debugged() argument 989 if (process == NULL) { in address_space_debugged() 993 proc_require(process, PROC_REQUIRE_ALLOW_ALL); in address_space_debugged() 1007 task = proc_task(process); in address_space_debugged() 1033 if (proc_getcsflags(process) & CS_DEBUGGED) { in address_space_debugged() 1044 if ((proc_getcsflags(process) & CS_SIGNED) == 0) { in address_space_debugged()
|
| /xnu-11215/tools/lldbmacros/tests/lldb_tests/ |
| H A D | test_process.py | 41 import process as tst_process 43 from process import ShowTask, ShowProc, INVALID_PROC_SUMMARY, INVALID_TASK_SUMMARY
|
| H A D | test_examples.py | 46 from process import ShowTask, P_LHASTASK, TF_HASPROC
|
| /xnu-11215/tests/ |
| H A D | stackshot_accuracy.m | 65 T_HELPER_DECL(simple_child_process, "child process that will be frozen and others") 70 T_HELPER_DECL(sid_child_process, "child process that setsid()s") 363 /* create the child process */ 384 T_DECL(basic_singleproc, "test that no-fault stackshot works correctly in single process setting", … 390 T_DECL(basic_singleproc_spin, "test that no-fault stackshot works correctly in single process setti… 473 T_DECL(fault_singleproc, "test that faulting stackshots work correctly in a single process setting"… 540 /* create the child process */ 552 /* Sleep to allow the target process to become zombified */
|
| H A D | stackshot_tests.m | 88 …ey = @"driverkit_found_key"; // callback when driverkit process is found. argument is the process … 761 T_HELPER_DECL(zombie_child, "child process to sample as a zombie") 835 * don't leave a process stuck in the kernel. 864 T_HELPER_DECL(exec_child_preexec, "child process pre-exec") 892 T_HELPER_DECL(exec_child_postexec, "child process post-exec to sample") 1001 T_PASS("found mid-exec process in %d tries", tries); 1624 T_QUIET; T_ASSERT_GT(bufsize, (size_t)0, "process info is not empty"); 2155 * the process with the receive right for the service port is: 2544 T_DECL(perf_process, "test stackshot performance targeted at process", 3335 "current process name matches in stackshot"); [all …]
|
| /xnu-11215/tools/lldbmacros/ |
| H A D | .lldbinit | 1 settings set target.process.python-os-plugin-path ./core/operating_system.py
|
| H A D | taskinfo.py | 2 from process import GetTaskSummary
|
| H A D | memorystatus.py | 3 from process import GetProcName, GetProcPID, GetTaskFromProc, GetTaskSummary
|
| H A D | exclaves.py | 4 from process import GetProcFromTask
|
| H A D | README.md | 46 (lldb) process connect --plugin kdp-remote udp://17.123.45.67:41139 48 (lldb) process connect --plugin gdb-remote gdb://17.123.45.67:8000 111 |-process.py # files containing commands/summaries code for each subsystem 115 …|-lldb_tests/ # unit tests for macros, using lldb scripted process to simulate debugging … 119 The lldbmacros directory has a Makefile that follows the build process for xnu. This packages lldbm… 242 Time for some code example? Try reading the code for GetTaskSummary() in process.py. 266 …seem that the lldb process is hung. But it is not. You can use "-i" option to get immediate output… 397 …ze referencing #ifdef'ed fields in structure. See example in def GetTaskSummary(task) in process.py 443 …- (lldb)settings set target.process.python-os-plugin-path /path/to/xnu/tools/lldbmacros/core/opera…
|
| H A D | vm_pageout.py | 7 from process import GetTaskSummary
|
| H A D | Makefile | 81 process.py \
|
| H A D | workqueue.py | 2 from process import GetBSDThread, GetMachThread
|
| /xnu-11215/bsd/sys/ |
| H A D | code_signing.h | 442 const proc_t process, 474 const proc_t process);
|
| /xnu-11215/tools/lldbmacros/tests/ |
| H A D | runtests.py | 152 process = target.Launch(launch_info, error) variable
|
| /xnu-11215/doc/building/ |
| H A D | bound_checks.md | 11 process that implements our best practices to adopt -fbounds-safety in existing 72 # The process of enabling bound-checks 76 panics. We have found that the following process consistently helps land code
|
| /xnu-11215/config/ |
| H A D | MASTER | 250 # CONFIG_AIO_PROCESS_MAX - process limit of async IO requests. 292 # maximum size of the per-process Mach IPC table 372 # enable per-process memory priority tracking 579 options CONFIG_PROC_RESOURCE_LIMITS # Per process limits for resources like file descriptors and m…
|
| /xnu-11215/makedefs/ |
| H A D | MakeInc.dir | 104 # Post-process build results
|