Searched refs:pid (Results 1 - 25 of 56) sorted by relevance

123

/gem5/tests/quick/se/01.hello-2T-smt/
H A Dtest.py29 process1 = Process(cmd = 'hello', executable = binpath('hello'), pid = 100)
31 pid = 101, ppid = 100)
/gem5/util/statetrace/base/
H A Dregstate.hh41 virtual bool update(int pid) = 0;
H A Dtracechild.cc46 pid = fork();
47 if (pid == -1) {
50 } else if (pid == 0) {
82 if (ptrace(PTRACE_KILL, pid, 0, 0) != 0)
101 if (ptrace(PTRACE_SINGLESTEP, pid, 0, 0) != 0) {
115 update(pid);
H A Dtracechild.hh39 int pid; member in class:TraceChild
/gem5/src/arch/arm/linux/
H A Dsystem.cc254 uint32_t pid = tc->getCpuPtr()->getPid(); local
255 if (pid != BaseCPU::invldPid) {
256 mapPid(tc, pid);
257 tc->getCpuPtr()->taskId(taskMap[pid]);
264 LinuxArmSystem::mapPid(ThreadContext *tc, uint32_t pid) argument
266 // Create a new unique identifier for this pid
267 std::map<uint32_t, uint32_t>::iterator itr = taskMap.find(pid);
272 taskMap[pid] = ContextSwitchTaskId::Unknown;
274 taskMap[pid] = map_size;
294 DumpStatsPCEvent::getTaskDetails(ThreadContext *tc, uint32_t &pid, argument
316 getTaskDetails(ThreadContext *tc, uint32_t &pid, uint32_t &tgid, std::string &next_task_str, int32_t &mm) argument
336 uint32_t pid = 0; local
[all...]
H A Dsystem.hh94 /** This function creates a new task Id for the given pid.
96 void mapPid(ThreadContext* tc, uint32_t pid);
136 virtual void getTaskDetails(ThreadContext *tc, uint32_t &pid,
147 void getTaskDetails(ThreadContext *tc, uint32_t &pid, uint32_t &tgid,
/gem5/util/statetrace/arch/arm/
H A Dtracechild.cc121 ARMTraceChild::update(int pid) argument
124 if (ptrace(PTRACE_GETREGS, pid, 0, &regs) != 0) {
132 if (ptrace((__ptrace_request)get_vfp_regs, pid, 0, &fpregs) != 0) {
174 int32_t cargc = ptrace(PTRACE_PEEKDATA, pid, sp, 0);
183 cargv = ptrace(PTRACE_PEEKDATA, pid, sp, 0);
197 cenvp = ptrace(PTRACE_PEEKDATA, pid, sp, 0);
205 auxType = ptrace(PTRACE_PEEKDATA, pid, sp, 0);
207 auxVal = ptrace(PTRACE_PEEKDATA, pid, sp, 0);
219 buf = ptrace(PTRACE_PEEKDATA, pid, sp, 0);
264 subsOp = ptrace(PTRACE_PEEKDATA, pid, p
[all...]
H A Dtracechild.hh95 bool update(int pid);
/gem5/util/batch/
H A Dbatch.py65 self.pid = os.fork()
66 if self.pid == 0:
80 pid, status = os.waitpid(self.pid, os.WNOHANG)
81 if pid == self.pid:
87 pid, status = os.waitpid(self.pid, 0)
88 if pid == self.pid
[all...]
/gem5/util/pbs/
H A Dpbs.py65 self.pid = os.fork()
66 if self.pid == 0:
80 pid, status = os.waitpid(self.pid, os.WNOHANG)
81 if pid == self.pid:
87 pid, status = os.waitpid(self.pid, 0)
88 if pid == self.pid
[all...]
/gem5/src/arch/arm/freebsd/
H A Dsystem.hh79 /** This function creates a new task Id for the given pid.
81 void mapPid(ThreadContext* tc, uint32_t pid);
/gem5/util/statetrace/arch/sparc/
H A Dtracechild.cc170 SparcTraceChild::update(int pid) argument
176 if (ptrace(PTRACE_GETREGS, pid, &theregs, 0) != 0) {
186 locals[x] = ptrace(PTRACE_PEEKTEXT, pid, localAddr, 0);
190 inputs[x] = ptrace(PTRACE_PEEKTEXT, pid, inputAddr, 0);
193 if (ptrace(PTRACE_GETFPREGS, pid, &thefpregs, 0) != 0)
299 uint64_t curInst = ptrace(PTRACE_PEEKTEXT, pid, alignedPC);
315 origBp1 = ptrace(PTRACE_PEEKTEXT, pid, alignedBp1, 0);
319 if (ptrace(PTRACE_POKETEXT, pid, alignedBp1, newBp1) != 0)
325 origBp2 = ptrace(PTRACE_PEEKTEXT, pid, alignedBp2, 0);
329 if (ptrace(PTRACE_POKETEXT, pid, alignedBp
[all...]
/gem5/util/statetrace/arch/i686/
H A Dtracechild.cc73 I686TraceChild::update(int pid) argument
76 if (ptrace(PTRACE_GETREGS, pid, 0, &regs) != 0)
H A Dtracechild.hh67 bool update(int pid);
/gem5/util/statetrace/arch/amd64/
H A Dtracechild.cc209 AMD64TraceChild::update(int pid) argument
213 if (ptrace(PTRACE_GETREGS, pid, 0, &regs) != 0) {
217 if (ptrace(PTRACE_GETFPREGS, pid, 0, &fpregs) != 0) {
257 uint64_t cargc = ptrace(PTRACE_PEEKDATA, pid, sp, 0);
266 cargv = ptrace(PTRACE_PEEKDATA, pid, sp, 0);
280 cenvp = ptrace(PTRACE_PEEKDATA, pid, sp, 0);
288 auxType = ptrace(PTRACE_PEEKDATA, pid, sp, 0);
290 auxVal = ptrace(PTRACE_PEEKDATA, pid, sp, 0);
302 buf = ptrace(PTRACE_PEEKDATA, pid, sp, 0);
328 uint64_t buf = ptrace(PTRACE_PEEKDATA, pid, ri
[all...]
/gem5/util/streamline/
H A Dm5stats2streamline.py175 def __init__(self, uid, pid, tgid, task_name, is_process, tick):
176 if pid == 0: # Idle
178 elif pid == -1: # Kernel
182 self.pid = pid
498 # - pid: packed32
502 def schedSwitchFrame(core, timestamp, pid, tid, cookie, state):
504 body = packed32(1) + timestampList(timestamp) + packed32(pid) + \
513 def schedThreadExitFrame(core, timestamp, pid, tid, cookie, state):
605 pid
[all...]
/gem5/src/arch/alpha/
H A Dstacktrace.hh59 int pid(Addr ksp) const;
/gem5/src/arch/arm/
H A Dstacktrace.hh59 int pid(Addr ksp) const;
/gem5/src/arch/mips/
H A Dstacktrace.hh56 int pid(Addr ksp) const;
/gem5/src/arch/x86/
H A Dstacktrace.hh58 int pid(Addr ksp) const;
/gem5/src/arch/riscv/
H A Dstacktrace.cc53 ProcessInfo::pid(Addr ksp) const function in class:RiscvISA::ProcessInfo
55 panic("ProcessInfo::pid not implemented.\n");
H A Dstacktrace.hh54 int pid(Addr ksp) const;
/gem5/src/arch/power/
H A Dstacktrace.cc54 ProcessInfo::pid(Addr ksp) const function in class:PowerISA::ProcessInfo
56 panic("ProcessInfo::pid not implemented.\n");
H A Dstacktrace.hh54 int pid(Addr ksp) const;
/gem5/src/sim/
H A DProcess.py55 pid = Param.Int(100, 'process id') variable in class:Process

Completed in 27 milliseconds

123