Home
last modified time | relevance | path

Searched defs:pid (Results 1 – 25 of 206) sorted by relevance

123456789

/llvm-project/bolt/test/runtime/
H A Dinstrumentation-indirect-2.c9 __attribute__((noinline)) void funcA(int pid) { printf("funcA %d\n", pid); } in funcA()
10 __attribute__((noinline)) void funcB(int pid) { printf("funcB %d\n", pid); } in funcB()
11 __attribute__((noinline)) void funcC(int pid) { printf("funcC %d\n", pid); } in funcC()
12 __attribute__((noinline)) void funcD(int pid) { printf("funcD %d\n", pid); } in funcD()
13 __attribute__((noinline)) void funcE(int pid) { printf("funcE %d\n", pid); } in funcE()
14 __attribute__((noinline)) void funcF(int pid) { printf("funcF %d\n", pid); } in funcF()
15 __attribute__((noinline)) void funcG(int pid) { printf("funcG %d\n", pid); } in funcG()
16 __attribute__((noinline)) void funcH(int pid) { printf("funcH %d\n", pid); } in funcH()
17 __attribute__((noinline)) void funcI(int pid) { printf("funcI %d\n", pid); } in funcI()
18 __attribute__((noinline)) void funcJ(int pid) { printf("funcJ %d\n", pid); } in funcJ()
[all …]
/llvm-project/lldb/tools/debugserver/source/
H A DDNB.cpp85 static nub_bool_t AddProcessToMap(nub_process_t pid, MachProcessSP &procSP) { in AddProcessToMap() argument
112 static nub_bool_t GetProcessSP(nub_process_t pid, MachProcessSP &procSP) { in GetProcessSP() argument
163 const pid_t pid = (pid_t)death_event.ident; in kqueue_thread() local
217 spawn_kqueue_thread(pid_t pid) spawn_kqueue_thread() argument
253 const pid_t pid = (pid_t)(intptr_t)arg; waitpid_thread() local
303 spawn_waitpid_thread(pid_t pid) spawn_waitpid_thread() argument
353 pid_t pid = processSP->LaunchForDebug( DNBProcessLaunch() local
499 pid_t pid = INVALID_NUB_PROCESS; DNBProcessAttach() local
616 DNBGetDyldProcessState(nub_process_t pid) DNBGetDyldProcessState() argument
742 nub_process_t pid; DNBProcessAttachWait() local
855 DNBProcessDetach(nub_process_t pid) DNBProcessDetach() argument
868 DNBProcessKill(nub_process_t pid) DNBProcessKill() argument
876 DNBProcessSignal(nub_process_t pid,int signal) DNBProcessSignal() argument
884 DNBProcessInterrupt(nub_process_t pid) DNBProcessInterrupt() argument
891 DNBProcessSendEvent(nub_process_t pid,const char * event) DNBProcessSendEvent() argument
901 DNBProcessIsAlive(nub_process_t pid) DNBProcessIsAlive() argument
910 DNBProcessGetState(nub_process_t pid) DNBProcessGetState() argument
919 DNBProcessGetExitStatus(nub_process_t pid,int * status) DNBProcessGetExitStatus() argument
927 DNBProcessSetExitStatus(nub_process_t pid,int status) DNBProcessSetExitStatus() argument
936 DNBProcessGetExitInfo(nub_process_t pid) DNBProcessGetExitInfo() argument
944 DNBProcessSetExitInfo(nub_process_t pid,const char * info) DNBProcessSetExitInfo() argument
953 DNBThreadGetName(nub_process_t pid,nub_thread_t tid) DNBThreadGetName() argument
961 DNBThreadGetIdentifierInfo(nub_process_t pid,nub_thread_t tid,thread_identifier_info_data_t * ident_info) DNBThreadGetIdentifierInfo() argument
969 DNBThreadGetState(nub_process_t pid,nub_thread_t tid) DNBThreadGetState() argument
1005 DNBGetGenealogyInfoForThread(nub_process_t pid,nub_thread_t tid,bool & timed_out) DNBGetGenealogyInfoForThread() argument
1015 DNBGetGenealogyImageInfo(nub_process_t pid,size_t idx) DNBGetGenealogyImageInfo() argument
1025 DNBGetRequestedQoSForThread(nub_process_t pid,nub_thread_t tid,nub_addr_t tsd,uint64_t dti_qos_class_index) DNBGetRequestedQoSForThread() argument
1035 DNBGetPThreadT(nub_process_t pid,nub_thread_t tid) DNBGetPThreadT() argument
1043 DNBGetDispatchQueueT(nub_process_t pid,nub_thread_t tid) DNBGetDispatchQueueT() argument
1052 DNBGetTSDAddressForThread(nub_process_t pid,nub_thread_t tid,uint64_t plo_pthread_tsd_base_address_offset,uint64_t plo_pthread_tsd_base_offset,uint64_t plo_pthread_tsd_entry_size) DNBGetTSDAddressForThread() argument
1066 DNBGetMainBinaryCPUTypes(nub_process_t pid) DNBGetMainBinaryCPUTypes() argument
1074 DNBGetAllLoadedLibrariesInfos(nub_process_t pid,bool report_load_commands) DNBGetAllLoadedLibrariesInfos() argument
1083 DNBGetLibrariesInfoForAddresses(nub_process_t pid,std::vector<uint64_t> & macho_addresses) DNBGetLibrariesInfoForAddresses() argument
1092 DNBGetSharedCacheInfo(nub_process_t pid) DNBGetSharedCacheInfo() argument
1100 DNBProcessGetExecutablePath(nub_process_t pid) DNBProcessGetExecutablePath() argument
1108 DNBProcessGetArgumentCount(nub_process_t pid) DNBProcessGetArgumentCount() argument
1116 DNBProcessGetArgumentAtIndex(nub_process_t pid,nub_size_t idx) DNBProcessGetArgumentAtIndex() argument
1125 DNBProcessResume(nub_process_t pid,const DNBThreadResumeAction * actions,size_t num_actions) DNBProcessResume() argument
1148 DNBProcessHalt(nub_process_t pid) DNBProcessHalt() argument
1183 DNBProcessWaitForEvents(nub_process_t pid,nub_event_t event_mask,bool wait_for_set,struct timespec * timeout) DNBProcessWaitForEvents() argument
1197 DNBProcessResetEvents(nub_process_t pid,nub_event_t event_mask) DNBProcessResetEvents() argument
1204 DNBBreakpointSet(nub_process_t pid,nub_addr_t addr,nub_size_t size,nub_bool_t hardware) DNBBreakpointSet() argument
1212 DNBBreakpointClear(nub_process_t pid,nub_addr_t addr) DNBBreakpointClear() argument
1220 DNBWatchpointSet(nub_process_t pid,nub_addr_t addr,nub_size_t size,uint32_t watch_flags,nub_bool_t hardware) DNBWatchpointSet() argument
1228 DNBWatchpointClear(nub_process_t pid,nub_addr_t addr) DNBWatchpointClear() argument
1236 DNBWatchpointGetNumSupportedHWP(nub_process_t pid) DNBWatchpointGetNumSupportedHWP() argument
1248 DNBProcessMemoryRead(nub_process_t pid,nub_addr_t addr,nub_size_t size,void * buf) DNBProcessMemoryRead() argument
1256 DNBProcessMemoryReadInteger(nub_process_t pid,nub_addr_t addr,nub_size_t integer_size,uint64_t fail_value) DNBProcessMemoryReadInteger() argument
1292 DNBProcessMemoryReadPointer(nub_process_t pid,nub_addr_t addr) DNBProcessMemoryReadPointer() argument
1301 DNBProcessMemoryReadCString(nub_process_t pid,nub_addr_t addr) DNBProcessMemoryReadCString() argument
1320 DNBProcessMemoryReadCStringFixed(nub_process_t pid,nub_addr_t addr,nub_size_t fixed_length) DNBProcessMemoryReadCStringFixed() argument
1336 DNBProcessMemoryWrite(nub_process_t pid,nub_addr_t addr,nub_size_t size,const void * buf) DNBProcessMemoryWrite() argument
1344 DNBProcessMemoryAllocate(nub_process_t pid,nub_size_t size,uint32_t permissions) DNBProcessMemoryAllocate() argument
1352 DNBProcessMemoryDeallocate(nub_process_t pid,nub_addr_t addr) DNBProcessMemoryDeallocate() argument
1371 DNBProcessMemoryRegionInfo(nub_process_t pid,nub_addr_t addr,DNBRegionInfo * region_info) DNBProcessMemoryRegionInfo() argument
1380 DNBProcessGetProfileData(nub_process_t pid,DNBProfileDataScanType scanType) DNBProcessGetProfileData() argument
1389 DNBProcessSetEnableAsyncProfiling(nub_process_t pid,nub_bool_t enable,uint64_t interval_usec,DNBProfileDataScanType scan_type) DNBProcessSetEnableAsyncProfiling() argument
1403 DNBProcessGetNumThreads(nub_process_t pid) DNBProcessGetNumThreads() argument
1411 DNBProcessGetCurrentThread(nub_process_t pid) DNBProcessGetCurrentThread() argument
1419 DNBProcessGetCurrentThreadMachPort(nub_process_t pid) DNBProcessGetCurrentThreadMachPort() argument
1427 DNBProcessSetCurrentThread(nub_process_t pid,nub_thread_t tid) DNBProcessSetCurrentThread() argument
1436 DNBThreadGetStopReason(nub_process_t pid,nub_thread_t tid,struct DNBThreadStopInfo * stop_info) DNBThreadGetStopReason() argument
1449 DNBThreadGetInfo(nub_process_t pid,nub_thread_t tid) DNBThreadGetInfo() argument
1457 DNBProcessGetThreadAtIndex(nub_process_t pid,size_t thread_idx) DNBProcessGetThreadAtIndex() argument
1466 DNBProcessSyncThreadState(nub_process_t pid,nub_thread_t tid) DNBProcessSyncThreadState() argument
1473 DNBProcessGetSharedLibraryInfoAddress(nub_process_t pid) DNBProcessGetSharedLibraryInfoAddress() argument
1481 DNBProcessSharedLibrariesUpdated(nub_process_t pid) DNBProcessSharedLibrariesUpdated() argument
1491 DNBGetDeploymentInfo(nub_process_t pid,bool is_executable,const struct load_command & lc,uint64_t load_command_address,uint32_t & major_version,uint32_t & minor_version,uint32_t & patch_version) DNBGetDeploymentInfo() argument
1519 DNBProcessGetSharedLibraryInfo(nub_process_t pid,nub_bool_t only_changed,struct DNBExecutableImageInfo ** image_infos) DNBProcessGetSharedLibraryInfo() argument
1540 DNBThreadGetRegisterValueByID(nub_process_t pid,nub_thread_t tid,uint32_t set,uint32_t reg,DNBRegisterValue * value) DNBThreadGetRegisterValueByID() argument
1552 DNBThreadSetRegisterValueByID(nub_process_t pid,nub_thread_t tid,uint32_t set,uint32_t reg,const DNBRegisterValue * value) DNBThreadSetRegisterValueByID() argument
1563 DNBThreadGetRegisterContext(nub_process_t pid,nub_thread_t tid,void * buf,size_t buf_len) DNBThreadGetRegisterContext() argument
1574 DNBThreadSetRegisterContext(nub_process_t pid,nub_thread_t tid,const void * buf,size_t buf_len) DNBThreadSetRegisterContext() argument
1584 DNBThreadSaveRegisterState(nub_process_t pid,nub_thread_t tid) DNBThreadSaveRegisterState() argument
1592 DNBThreadRestoreRegisterState(nub_process_t pid,nub_thread_t tid,uint32_t save_id) DNBThreadRestoreRegisterState() argument
1603 DNBThreadGetRegisterValueByName(nub_process_t pid,nub_thread_t tid,uint32_t reg_set,const char * reg_name,DNBRegisterValue * value) DNBThreadGetRegisterValueByName() argument
1671 DNBProcessSetNameToAddressCallback(nub_process_t pid,DNBCallbackNameToAddress callback,void * baton) DNBProcessSetNameToAddressCallback() argument
1685 DNBProcessSetSharedLibraryInfoCallback(nub_process_t pid,DNBCallbackCopyExecutableImageInfos callback,void * baton) DNBProcessSetSharedLibraryInfoCallback() argument
1695 DNBProcessLookupAddress(nub_process_t pid,const char * name,const char * shlib) DNBProcessLookupAddress() argument
1704 DNBProcessGetAvailableSTDOUT(nub_process_t pid,char * buf,nub_size_t buf_size) DNBProcessGetAvailableSTDOUT() argument
1712 DNBProcessGetAvailableSTDERR(nub_process_t pid,char * buf,nub_size_t buf_size) DNBProcessGetAvailableSTDERR() argument
1720 DNBProcessGetAvailableProfileData(nub_process_t pid,char * buf,nub_size_t buf_size) DNBProcessGetAvailableProfileData() argument
1728 DNBProcessGetStopCount(nub_process_t pid) DNBProcessGetStopCount() argument
1735 DNBProcessGetCPUType(nub_process_t pid) DNBProcessGetCPUType() argument
1903 DNBProcessIsBeingDebugged(nub_process_t pid) DNBProcessIsBeingDebugged() argument
[all...]
/llvm-project/libc/test/integration/src/unistd/
H A Dfork_test.cpp29 pid_t pid = LIBC_NAMESPACE::fork(); fork_and_wait_normal_exit() local
41 pid_t pid = LIBC_NAMESPACE::fork(); fork_and_wait4_normal_exit() local
56 pid_t pid = LIBC_NAMESPACE::fork(); fork_and_waitpid_normal_exit() local
68 pid_t pid = LIBC_NAMESPACE::fork(); fork_and_wait_signal_exit() local
81 pid_t pid = LIBC_NAMESPACE::fork(); fork_and_wait4_signal_exit() local
97 pid_t pid = LIBC_NAMESPACE::fork(); fork_and_waitpid_signal_exit() local
123 pid_t pid = LIBC_NAMESPACE::fork(); fork_with_atfork_callbacks() local
[all...]
H A Dexecv_test.cpp19 pid_t pid = LIBC_NAMESPACE::fork(); in fork_and_execv_normal_exit() local
37 pid_t pid = LIBC_NAMESPACE::fork(); in fork_and_execv_signal_exit() local
H A Dstack_smashing_test.cpp26 if (pid == 0) { in no_stack_smashing_normal_exit() local
43 if (pid == 0) { in stack_smashing_abort() local
H A Dexecve_test.cpp19 pid_t pid = LIBC_NAMESPACE::fork(); in fork_and_execv_normal_exit() local
37 pid_t pid = LIBC_NAMESPACE::fork(); in fork_and_execv_signal_exit() local
/llvm-project/clang/test/Analysis/
H A Dvfork.c10 pid_t pid = vfork(); // expected-warning{{Call to function 'vfork' is insecure}} in f1() local
62 pid_t pid = vfork(); // expected-warning{{Call to function 'vfork' is insecure}} in f2() local
118 pid_t pid; in f4() local
/llvm-project/lldb/source/Plugins/Process/gdb-remote/
H A DGDBRemoteCommunicationServerPlatform.cpp75 AssociatePortWithProcess(uint16_t port,lldb::pid_t pid) AssociatePortWithProcess() argument
94 FreePortForProcess(lldb::pid_t pid) FreePortForProcess() argument
161 LaunchGDBServer(const lldb_private::Args & args,std::string hostname,lldb::pid_t & pid,std::optional<uint16_t> & port,std::string & socket_name) LaunchGDBServer() argument
316 lldb::pid_t pid = packet.GetU64(LLDB_INVALID_PROCESS_ID); Handle_qKillSpawnedProcess() local
334 KillSpawnedProcess(lldb::pid_t pid) KillSpawnedProcess() argument
392 lldb::pid_t pid = m_process_launch_info.GetProcessID(); Handle_qProcessInfo() local
472 lldb::pid_t pid = m_process_launch_info.GetProcessID(); Handle_qC() local
520 DebugserverProcessReaped(lldb::pid_t pid) DebugserverProcessReaped() argument
551 const auto pid = m_process_launch_info.GetProcessID(); LaunchProcess() local
600 SetPendingGdbServer(lldb::pid_t pid,uint16_t port,const std::string & socket_name) SetPendingGdbServer() argument
[all...]
/llvm-project/compiler-rt/test/sanitizer_common/ios_commands/
H A Dprint_crashreport_for_pid.py69 outfile, pid, filename, attempts_remaining, max_wait_time argument
88 def find_report_in_cur_dir(pid, filename): argument
/llvm-project/lldb/examples/interposing/darwin/fd_interposing/
H A DFDInterposing.cpp320 const pid_t pid = getpid(); in get_interposed_pid() local
346 const pid_t pid = get_interposed_pid(); in get_logging_fd() local
448 const int pid = get_interposed_pid(); in backtrace_error() local
528 const int pid = get_interposed_pid(); in socket$__interposed__() local
556 const int pid = get_interposed_pid(); in socketpair$__interposed__() local
581 const int pid = get_interposed_pid(); in open$__interposed__() local
611 const int pid = get_interposed_pid(); in open$NOCANCEL$__interposed__() local
633 const int pid = get_interposed_pid(); in __open_extended$__interposed__() local
654 const int pid = get_interposed_pid(); in kqueue$__interposed__() local
672 const int pid = get_interposed_pid(); in shm_open$__interposed__() local
[all …]
/llvm-project/lldb/test/API/functionalities/postmortem/netbsd-core/
H A DTestNetBSDCore.py119 def do_test(self, filename, pid, region_count): argument
139 def check_stack(self, process, pid, filename): argument
163 def check_stack(self, process, pid, filename): argument
193 def check_stack(self, process, pid, filename): argument
/llvm-project/lldb/source/Plugins/Trace/intel-pt/
H A DPerfContextSwitchDecoder.cpp78 uint32_t pid, tid; member
93 lldb::pid_t pid; member
147 lldb::cpu_id_t cpu_id, lldb::tid_t tid, lldb::pid_t pid, uint64_t start, in CreateCompleteExecution()
157 lldb::cpu_id_t cpu_id, lldb::tid_t tid, lldb::pid_t pid, in CreateHintedStartExecution()
167 lldb::cpu_id_t cpu_id, lldb::tid_t tid, lldb::pid_t pid, uint64_t start, in CreateHintedEndExecution()
177 lldb::cpu_id_t cpu_id, lldb::tid_t tid, lldb::pid_t pid, uint64_t end) { in CreateOnlyEndExecution()
185 lldb::cpu_id_t cpu_id, lldb::tid_t tid, lldb::pid_t pid, uint64_t start) { in CreateOnlyStartExecution()
/llvm-project/llvm/include/llvm/
H A DPass.h100 explicit Pass(PassKind K, char &pid) : PassID(&pid), Kind(K) {} in Pass() argument
253 explicit ModulePass(char &pid) : Pass(PT_Module, pid) {} in ModulePass() argument
284 ImmutablePass(char & pid) ImmutablePass() argument
313 FunctionPass(char & pid) FunctionPass() argument
/llvm-project/lldb/source/Host/linux/
H A DSupport.cpp15 lldb_private::getProcFile(::pid_t pid, ::pid_t tid, const llvm::Twine &file) { in getProcFile()
27 lldb_private::getProcFile(::pid_t pid, const llvm::Twine &file) { in getProcFile()
H A DHost.cpp298 auto BufferOrError = getProcFile(pid, "enviro argument
255 GetProcessArgs(::pid_t pid,ProcessInstanceInfo & process_info) GetProcessArgs() argument
271 GetExePathAndArch(::pid_t pid,ProcessInstanceInfo & process_info) GetExePathAndArch() argument
313 GetProcessAndStatInfo(::pid_t pid,ProcessInstanceInfo & process_info,ProcessState & State,::pid_t & tracerpid) GetProcessAndStatInfo() argument
348 lldb::pid_t pid = atoi(direntry->d_name); FindProcessesImpl() local
384 FindProcessThreads(const lldb::pid_t pid,TidMap & tids_to_attach) FindProcessThreads() argument
410 GetProcessInfo(lldb::pid_t pid,ProcessInstanceInfo & process_info) GetProcessInfo() argument
[all...]
/llvm-project/lldb/test/API/commands/process/attach/attach_denied/
H A Dmain.cpp24 bool writePid (const char* file_name, const pid_t pid) in writePid()
69 const pid_t pid = fork (); in main() local
/llvm-project/lldb/test/API/functionalities/scripted_platform/
H A Dmy_scripted_platform.py23 def get_process_info(self, pid): argument
29 def kill_process(self, pid): argument
/llvm-project/lldb/examples/python/templates/
H A Dscripted_platform.py53 def get_process_info(self, pid): argument
87 def kill_process(self, pid): argument
/llvm-project/lldb/source/Host/netbsd/
H A DHostNetBSD.cpp56 int pid = process_info.GetProcessID(); GetNetBSDProcessArgs() local
141 const int pid = process_info.GetProcessID(); GetNetBSDProcessUserAndGroup() local
258 GetProcessInfo(lldb::pid_t pid,ProcessInstanceInfo & process_info) GetProcessInfo() argument
/llvm-project/lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/
H A DScriptedPlatformPythonInterface.cpp63 GetProcessInfo(lldb::pid_t pid) GetProcessInfo() argument
92 KillProcess(lldb::pid_t pid) KillProcess() argument
/llvm-project/lldb/test/Shell/Subprocess/Inputs/
H A Dfork.cpp85 pid_t pid = clone(child_top_func, &stack[sizeof(stack)], 0, argv[0]); in main() local
87 pid_t pid = TEST_FORK(); in main() local
/llvm-project/lldb/source/Plugins/Platform/Android/
H A DPlatformAndroidRemoteGDBServer.cpp83 bool PlatformAndroidRemoteGDBServer::LaunchGDBServer(lldb::pid_t &pid, in LaunchGDBServer() argument
107 bool PlatformAndroidRemoteGDBServer::KillSpawnedProcess(lldb::pid_t pid) { in KillSpawnedProcess() argument
165 void PlatformAndroidRemoteGDBServer::DeleteForwardPort(lldb::pid_t pid) { in DeleteForwardPort() argument
184 MakeConnectURL(const lldb::pid_t pid,const uint16_t local_port,const uint16_t remote_port,llvm::StringRef remote_socket_name,std::string & connect_url) MakeConnectURL() argument
[all...]
/llvm-project/lldb/source/Host/freebsd/
H A DHost.cpp53 int pid = process_info.GetProcessID(); GetFreeBSDProcessArgs() local
120 const int pid = process_info.GetProcessID(); GetFreeBSDProcessUserAndGroup() local
230 GetProcessInfo(lldb::pid_t pid,ProcessInstanceInfo & process_info) GetProcessInfo() argument
/llvm-project/compiler-rt/test/msan/
H A Dfork.cpp75 pid_t pid = fork(); in test() local
90 pid_t pid = fork(); in main() local
/llvm-project/compiler-rt/test/dfsan/
H A Dfork.cpp69 pid_t pid = fork(); in test() local
85 pid_t pid = fork(); in main() local

123456789