Searched refs:psinfo (Results 1 – 5 of 5) sorted by relevance
/external/valgrind/none/tests/solaris/ |
D | proc_psinfo.c | 34 psinfo_t psinfo; in test_psinfo() local 35 ssize_t bytes = read(fd, &psinfo, sizeof(psinfo)); in test_psinfo() 36 if (bytes != sizeof(psinfo)) { in test_psinfo() 41 printf("fname: %s\n", psinfo.pr_fname); in test_psinfo() 42 printf("psargs: %s\n", psinfo.pr_psargs); in test_psinfo() 44 printf("argc: %d\n", psinfo.pr_argc); in test_psinfo() 46 char **argv = (char **) psinfo.pr_argv; in test_psinfo() 47 for (i = 0; i < psinfo.pr_argc; i++) { in test_psinfo()
|
/external/valgrind/coregrind/m_coredump/ |
D | coredump-solaris.c | 501 static void fill_psinfo(vki_psinfo_t *psinfo, const ThreadState *tst, in fill_psinfo() argument 504 VG_(memset)(psinfo, 0, sizeof(*psinfo)); in fill_psinfo() 506 psinfo->pr_nlwp = VG_(count_living_threads)(); in fill_psinfo() 507 psinfo->pr_uid = get_uid(); in fill_psinfo() 508 psinfo->pr_gid = get_gid(); in fill_psinfo() 509 psinfo->pr_pid = VG_(getpid)(); in fill_psinfo() 510 psinfo->pr_ppid = VG_(getppid)(); in fill_psinfo() 511 psinfo->pr_pgid = VG_(getpgrp)(); in fill_psinfo() 512 psinfo->pr_sid = VG_(getpgrp)(); in fill_psinfo() 513 psinfo->pr_euid = VG_(geteuid)(); in fill_psinfo() [all …]
|
/external/mesa3d/src/gallium/drivers/radeonsi/ |
D | si_state_shaders.c | 1888 struct tgsi_shader_info *psinfo = ps ? &ps->selector->info : NULL; in si_emit_spi_map() local 1898 for (i = 0; i < psinfo->num_inputs; i++) { in si_emit_spi_map() 1899 unsigned name = psinfo->input_semantic_name[i]; in si_emit_spi_map() 1900 unsigned index = psinfo->input_semantic_index[i]; in si_emit_spi_map() 1901 unsigned interpolate = psinfo->input_interpolate[i]; in si_emit_spi_map() 1917 if (!(psinfo->colors_read & (0xf << (i * 4)))) in si_emit_spi_map()
|
/external/valgrind/ |
D | README.solaris | 71 - Accessing contents of /proc/self/psinfo is not thread-safe. That is because
|
/external/valgrind/coregrind/m_syswrap/ |
D | syswrap-solaris.c | 1671 vki_psinfo_t psinfo; in handle_psinfo_open() local 1672 sres = VG_(do_syscall3)(SYS_read, fd, (UWord) &psinfo, sizeof(psinfo)); in handle_psinfo_open() 1678 if (sr_Res(sres) != sizeof(psinfo)) { in handle_psinfo_open() 1686 VG_(client_fname)(psinfo.pr_fname, sizeof(psinfo.pr_fname), True); in handle_psinfo_open() 1687 VG_(client_cmd_and_args)(psinfo.pr_psargs, sizeof(psinfo.pr_psargs)); in handle_psinfo_open() 1690 psinfo.pr_argc = *ptr++; in handle_psinfo_open() 1691 psinfo.pr_argv = (Addr) ptr; in handle_psinfo_open() 1694 (UWord) &psinfo, sizeof(psinfo), 0); in handle_psinfo_open()
|