Home
last modified time | relevance | path

Searched refs:lwpid (Results 1 – 24 of 24) sorted by relevance

/external/google-breakpad/src/client/solaris/handler/
Dsolaris_lwp.cc113 int lwpid = 0; in IterateLwpAll() local
115 if (LocalAtoi(entry->d_name, &lwpid) && last_pid != lwpid) { in IterateLwpAll()
116 last_pid = lwpid; in IterateLwpAll()
119 !(callback_param->call_back)(lwpid, callback_param->context)) { in IterateLwpAll()
162 static bool ControlLwp(int lwpid, void *context) { in ControlLwp() argument
164 if (lwpid != pthread_self()) { in ControlLwp()
170 snprintf(procname, sizeof (procname), "/proc/self/lwp/%d/lwpctl", lwpid); in ControlLwp()
183 print_message2(2, "failed in lwp %d\n", lwpid); in ControlLwp()
Dsolaris_lwp.h83 typedef bool (*LwpidCallback)(int lwpid, void *context);
/external/valgrind/coregrind/
Dvgdb-invoker-ptrace.c194 Int lwpid; member
427 &(vgdb_threads[i].lwpid), in acquire_and_suspend_threads()
437 vgdb_threads[i].lwpid); in acquire_and_suspend_threads()
439 if (vgdb_threads[i].lwpid <= 1) { in acquire_and_suspend_threads()
440 if (vgdb_threads[i].lwpid == 0 in acquire_and_suspend_threads()
444 vgdb_threads[i].lwpid); in acquire_and_suspend_threads()
448 vgdb_threads[i].lwpid); in acquire_and_suspend_threads()
454 if (vgdb_threads[i].lwpid == pid) { in acquire_and_suspend_threads()
459 if (!attach(vgdb_threads[i].lwpid, "attach_thread")) { in acquire_and_suspend_threads()
461 vgdb_threads[i].lwpid, i); in acquire_and_suspend_threads()
[all …]
Dm_libcsignal.c360 Int VG_(tkill)( Int lwpid, Int signo ) in VG_()
364 res = VG_(do_syscall2)(__NR_tkill, lwpid, signo); in VG_()
366 res = VG_(do_syscall2)(__NR_kill, lwpid, signo); in VG_()
372 res = VG_(do_syscall2)(__NR___pthread_kill, lwpid, signo); in VG_()
379 res = VG_(do_syscall6)(__NR_lwp_sigqueue, 0, lwpid, signo, in VG_()
382 res = VG_(do_syscall5)(__NR_lwp_sigqueue, lwpid, signo, in VG_()
386 res = VG_(do_syscall2)(__NR_lwp_kill, lwpid, signo); in VG_()
Dpub_core_threadstate.h123 Int lwpid; // PID of kernel task (Darwin: Mach thread) member
455 extern ThreadId VG_(lwpid_to_vgtid)(Int lwpid);
Dpub_core_libcsignal.h79 extern Int VG_(tkill) ( Int lwpid, Int signo );
Dm_threadstate.c171 && VG_(threads)[tid].os_state.lwpid == lwp) in VG_()
Dm_libcassert.c376 VG_(threads)[i].os_state.lwpid); in show_sched_status_wrk()
Dm_signals.c2008 vg_assert(tst->os_state.lwpid == VG_(gettid)()); in resume_scheduler()
/external/fio/os/
Dos-freebsd.h96 long lwpid; in gettid() local
98 thr_self(&lwpid); in gettid()
99 return (int) lwpid; in gettid()
/external/valgrind/coregrind/m_scheduler/
Dsema.c102 Int lwpid = VG_(gettid)(); in ML_() local
104 vg_assert(sema->owner_lwpid != lwpid); /* can't have it already */ in ML_()
125 sema->owner_lwpid = lwpid; in ML_()
Dscheduler.c368 == VG_(threads)[tid].os_state.lwpid); in VG_()
405 tid, VG_(threads)[tid].os_state.lwpid); in VG_()
413 thread_abort(VG_(threads)[tid].os_state.lwpid); in VG_()
418 Int r = VG_(tkill)(VG_(threads)[tid].os_state.lwpid, VG_SIGVGKILL); in VG_()
446 vg_assert(VG_(threads)[tid].os_state.lwpid == VG_(gettid)()); in VG_()
489 tst->os_state.lwpid = 0; in os_state_clear()
581 VG_(threads)[me].os_state.lwpid = VG_(gettid)(); in sched_fork_cleanup()
1325 vg_assert(tst->os_state.lwpid == VG_(gettid)()); in VG_()
2160 Int lwpid = VG_(gettid)(); in scheduler_sanity() local
2170 if (lwpid != VG_(threads)[tid].os_state.lwpid) { in scheduler_sanity()
[all …]
/external/valgrind/memcheck/tests/solaris/
Dscalar_lwp_name.stderr.exp7 Syscall param lwp_name(lwpid) contains uninitialised byte(s)
23 Syscall param lwp_name(lwpid) contains uninitialised byte(s)
Dscalar.stderr.exp2430 Syscall param lwp_detach(lwpid) contains uninitialised byte(s)
2516 Syscall param lwp_suspend(lwpid) contains uninitialised byte(s)
2566 Syscall param lwp_wait(lwpid) contains uninitialised byte(s)
/external/valgrind/coregrind/m_gdbserver/
Dtarget.c79 image_ptid (ptid), ts->os_state.lwpid in valgrind_update_threads()
83 ptid = ts->os_state.lwpid; in valgrind_update_threads()
314 wptid = tst->os_state.lwpid; in valgrind_wait()
318 if (tst->os_state.lwpid) in valgrind_wait()
770 use_general, found, tid, tst->os_state.lwpid); in set_desired_inferior()
Dremote-utils.c324 offsetof(ThreadState, os_state) + offsetof(ThreadOSstate, lwpid), in remote_open()
/external/valgrind/coregrind/m_syswrap/
Dsyswrap-x86-darwin.c310 tst->os_state.lwpid = kport; in pthread_hijack()
497 tst->os_state.lwpid = kport; in wqthread_hijack()
Dsyswrap-amd64-darwin.c369 tst->os_state.lwpid = kport; in pthread_hijack()
549 tst->os_state.lwpid = kport; in wqthread_hijack()
Dsyswrap-solaris.c128 tst->os_state.lwpid = VG_(gettid)(); in thread_wrapper()
4212 timespec_t *, timeout, vki_id_t, lwpid); in PRE()
4223 vki_id_t, lwpid); in PRE()
4229 id_t *, lwpid, int, nids); in PRE()
4355 PRE_REG_READ3(long, "lwp_name", int, opcode, vki_id_t, lwpid, in PRE()
4361 PRE_REG_READ4(long, "lwp_name", int, opcode, vki_id_t, lwpid, in PRE()
6552 PRE_REG_READ1(long, "lwp_detach", vki_id_t, lwpid);
6714 PRE_REG_READ1(long, "lwp_suspend", vki_id_t, lwpid);
6716 if (ARG1 == tst->os_state.lwpid) {
6964 PRE_REG_READ2(long, "lwp_wait", vki_id_t, lwpid, vki_id_t *, departed);
Dsyswrap-darwin.c111 tst->os_state.lwpid = VG_(gettid)(); in thread_wrapper()
1082 #define MACH_THREAD ((Addr)VG_(get_ThreadState)(tid)->os_state.lwpid)
Dsyswrap-linux.c93 tst->os_state.lwpid = VG_(gettid)(); in thread_wrapper()
/external/valgrind/coregrind/m_coredump/
Dcoredump-solaris.c493 prs->pr_who = tst->os_state.lwpid; in fill_prstatus()
524 psinfo->pr_lwp.pr_lwpid = tst->os_state.lwpid; in fill_psinfo()
551 pstatus->pr_lwp.pr_lwpid = tst->os_state.lwpid; in fill_pstatus()
720 lwp->pr_lwpid = tst->os_state.lwpid; in fill_lwpsinfo()
732 lwp->pr_lwpid = tst->os_state.lwpid; in fill_lwpstatus()
Dcoredump-elf.c228 prs->pr_pid = tst->os_state.lwpid; in fill_prstatus()
/external/valgrind/
Dconfigure.ac2876 # int lwp_kill(id_t lwpid, int sig);
2879 # int lwp_sigqueue(id_t lwpid, int sig, void *value,
2906 # int lwp_sigqueue(id_t lwpid, int sig, void *value,
2910 # int lwp_sigqueue(pid_t pid, id_t lwpid, int sig, void *value,
2950 # int lwp_name(int opcode, id_t lwpid, char *name, size_t len);