/external/libbrillo/brillo/ |
D | process.cc | 52 : pid_(0), in ProcessImpl() 330 if (pid_ == 0) { in Wait() 334 if (HANDLE_EINTR(waitpid(pid_, &status, 0)) < 0) { in Wait() 336 LOG(ERROR) << "Problem waiting for pid " << pid_ << ": " << saved_errno; in Wait() 339 pid_t old_pid = pid_; in Wait() 361 return pid_; in pid() 365 if (pid_ == 0) { in Kill() 370 if (kill(pid_, signal) < 0) { in Kill() 371 PLOG(ERROR) << "Unable to send signal to " << pid_; in Kill() 377 pid_t w = waitpid(pid_, &status, WNOHANG); in Kill() [all …]
|
/external/bcc/tests/cc/ |
D | test_usdt_probes.cc | 89 pid_t pid_; member in ChildProcess 93 pid_ = fork(); in ChildProcess() 94 if (pid_ == 0) { in ChildProcess() 100 if (kill(pid_, 0) < 0) in ChildProcess() 101 pid_ = -1; in ChildProcess() 108 kill(pid_, SIGKILL); in ~ChildProcess() 109 if (waitpid(pid_, &status, 0) != pid_) in ~ChildProcess() 114 bool spawned() const { return pid_ > 0; } in spawned() 115 pid_t pid() const { return pid_; } in pid()
|
/external/perfetto/include/perfetto/tracing/core/ |
D | heapprofd_config.h | 118 int pid_size() const { return static_cast<int>(pid_.size()); } in pid_size() 119 const std::vector<uint64_t>& pid() const { return pid_; } in pid() 120 std::vector<uint64_t>* mutable_pid() { return &pid_; } in mutable_pid() 121 void clear_pid() { pid_.clear(); } in clear_pid() 123 pid_.emplace_back(); in add_pid() 124 return &pid_.back(); in add_pid() 161 std::vector<uint64_t> pid_; variable
|
/external/perfetto/src/tracing/core/ |
D | heapprofd_config.cc | 45 (process_cmdline_ == other.process_cmdline_) && (pid_ == other.pid_) && in operator ==() 72 pid_.clear(); in FromProto() 74 pid_.emplace_back(); in FromProto() 75 static_assert(sizeof(pid_.back()) == sizeof(proto.pid(0)), "size mismatch"); in FromProto() 76 pid_.back() = static_cast<decltype(pid_)::value_type>(field); in FromProto() 122 for (const auto& it : pid_) { in ToProto()
|
/external/bcc/src/cc/usdt/ |
D | usdt.cc | 60 pid_(pid), in Probe() 74 return (pid_ && in resolve_global_address() 75 !bcc_resolve_global_addr(*pid_, bin_path.c_str(), addr, global)); in resolve_global_address() 83 assert(pid_); in add_to_semaphore() 94 std::string procmem = tfm::format("/proc/%d/mem", pid_.value()); in add_to_semaphore() 124 if (!pid_) in enable() 142 assert(pid_); in disable() 188 pid_)) in usdt_getarg() 202 pid_)) in usdt_getarg() 258 new Probe(binpath, probe->provider, probe->name, probe->semaphore, pid_, in add_probe() [all …]
|
/external/tensorflow/tensorflow/core/platform/posix/ |
D | subprocess.cc | 70 : running_(false), pid_(-1), exec_path_(nullptr), exec_argv_(nullptr) { in SubProcess() 83 pid_ = -1; in ~SubProcess() 206 pid_ = fork(); in Start() 207 if (pid_ < 0) { in Start() 213 if (pid_ > 0) { in Start() 292 pid_t pid = pid_; in WaitInternal() 313 if ((running_ == running) && (pid_ == pid)) { in WaitInternal() 315 pid_ = -1; in WaitInternal() 324 pid_t pid = pid_; in Kill()
|
/external/google-breakpad/src/client/mac/crash_generation/ |
D | client_info.h | 37 explicit ClientInfo(pid_t pid) : pid_(pid) {} in ClientInfo() 39 pid_t pid() const { return pid_; } in pid() 42 pid_t pid_;
|
/external/google-breakpad/src/client/linux/crash_generation/ |
D | client_info.h | 41 pid_(pid) {} in ClientInfo() 44 pid_t pid() const { return pid_; } in pid() 48 pid_t pid_; variable
|
/external/google-breakpad/src/client/linux/minidump_writer/ |
D | linux_dumper.cc | 76 : pid_(pid), in LinuxDumper() 108 if (pid_ == sys_getpid()) { in ElfFileIdentifierForMapping() 112 CopyFromProcess(linux_gate, pid_, in ElfFileIdentifierForMapping() 259 if (!BuildProcPath(auxv_path, pid_, "auxv")) { in ReadAuxv() 285 if (!BuildProcPath(maps_path, pid_, "maps")) in EnumerateMappings() 454 if (!BuildProcPath(exe_link, pid_, "exe")) in HandleDeletedFileInMapping()
|
/external/bcc/src/cc/api/ |
D | BPF.cc | 714 pid_(-1), in USDT() 723 pid_(pid), in USDT() 733 pid_(pid), in USDT() 741 pid_(usdt.pid_), in USDT() 749 pid_(usdt.pid_), in USDT() 760 (binary_path_ == other.binary_path_) && (pid_ == other.pid_) && in operator ==() 766 if (!binary_path_.empty() && pid_ > 0) in init() 767 ctx.reset(new ::USDT::Context(pid_, binary_path_)); in init() 770 else if (pid_ > 0) in init() 771 ctx.reset(new ::USDT::Context(pid_)); in init()
|
D | BPF.h | 259 std::to_string(pid_) + " for probe " + probe_func_; in print_name() 264 << usdt.binary_path_ << " PID " << usdt.pid_ << " for probe " 272 pid_t pid_; variable
|
/external/perfetto/src/trace_processor/ |
D | proto_incremental_state.h | 123 pid_ = pid; 135 int32_t pid() const { return pid_; } 154 int32_t pid_ = 0;
|
/external/google-breakpad/src/client/solaris/handler/ |
D | solaris_lwp.h | 117 int getpid() const { return this->pid_; } in getpid() 155 int pid_;
|
D | solaris_lwp.cc | 229 SolarisLwp::SolarisLwp(int pid) : pid_(pid) { in SolarisLwp() 237 return IterateLwpAll(pid_, &callback_param); in ControlAllLwps() 241 return IterateLwpAll(pid_, NULL); in GetLwpCount()
|
/external/strace/ |
D | kcmp.c | 49 #define PRINT_FIELD_PIDFD(prefix_, where_, field_, tcp_, pid_) \ argument 52 printpidfd((tcp_), (pid_), (where_).field_); \
|
/external/perf_data_converter/src/quipper/ |
D | test_perf_data.h | 253 : pid_(pid), in ExampleMmapEvent() 263 const u32 pid_; 281 : pid_(pid), in ExampleMmap2Event() 302 const u32 pid_; 324 pid_(pid), in ExampleForkExitEvent() 332 const u32 pid_;
|
D | test_perf_data.cc | 240 .pid = MaybeSwap32(pid_), in WriteTo() 241 .tid = MaybeSwap32(pid_), in WriteTo() 274 .pid = pid_, in WriteTo() 308 .pid = MaybeSwap32(pid_), in WriteTo()
|
/external/google-breakpad/src/client/windows/crash_generation/ |
D | client_info.h | 60 DWORD pid() const { return pid_; } in pid() 109 DWORD pid_; variable
|
D | client_info.cc | 46 pid_(pid), in ClientInfo() 62 process_handle_ = OpenProcess(GENERIC_ALL, FALSE, pid_); in Initialize()
|
/external/libchrome/base/process/ |
D | process_iterator.h | 47 ProcessId pid() const { return pid_; } 55 ProcessId pid_;
|
/external/bcc/src/cc/ |
D | bcc_syms.cc | 105 : pid_(pid), procstat_(pid), mount_ns_instance_(new ProcMountNS(pid_)) { in ProcSyms() 125 std::string exe = ebpf::get_pid_exe(pid_); in load_exe() 141 bcc_procutils_each_module(pid_, _add_module, this); in load_modules() 146 mount_ns_instance_.reset(new ProcMountNS(pid_)); in refresh()
|
D | usdt.h | 191 optional<int> pid_; variable 245 optional<int> pid_; variable 265 optional<int> pid() const { return pid_; } in pid()
|
/external/v8/src/libplatform/tracing/ |
D | trace-object.cc | 41 pid_ = base::OS::GetCurrentProcessId(); in Initialize() 119 pid_ = pid; in InitializeForTesting()
|
/external/bcc/src/cc/includes/ |
D | usdt.h | 191 optional<int> pid_; variable 245 optional<int> pid_; variable 265 optional<int> pid() const { return pid_; } in pid()
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_stoptheworld_linux_libcdep.cc | 103 , pid_(pid) { in ThreadSuspender() 115 pid_t pid_; member in __sanitizer::ThreadSuspender 191 ThreadLister thread_lister(pid_); in SuspendAllThreads()
|