Lines Matching defs:prpsinfo
453 static void fill_prpsinfo(vki_elf_prpsinfo_t *prpsinfo,
457 VG_(memset)(prpsinfo, 0, sizeof(*prpsinfo));
459 fill_thread_state(tst, &prpsinfo->pr_state, &prpsinfo->pr_sname);
460 prpsinfo->pr_uid = get_uid();
461 prpsinfo->pr_gid = get_gid();
462 prpsinfo->pr_pid = VG_(getpid)();
463 prpsinfo->pr_ppid = VG_(getppid)();
464 prpsinfo->pr_pgrp = VG_(getpgrp)();
465 prpsinfo->pr_sid = VG_(getpgrp)();
466 fill_scheduling_class(prpsinfo->pr_clname, sizeof(prpsinfo->pr_clname));
467 VG_(client_fname)(prpsinfo->pr_fname, sizeof(prpsinfo->pr_fname), True);
468 VG_(client_cmd_and_args)(prpsinfo->pr_psargs,
469 sizeof(prpsinfo->pr_psargs));
470 fill_argv(&prpsinfo->pr_argc, (Addr *) &prpsinfo->pr_argv);
471 prpsinfo->pr_envp = (char **) VG_(client_envp);
472 prpsinfo->pr_wstat = get_wstat(si);
473 prpsinfo->pr_euid = VG_(geteuid)();
474 prpsinfo->pr_egid = VG_(getegid)();
475 prpsinfo->pr_dmodel = get_dmodel();
940 vki_elf_prpsinfo_t prpsinfo;
941 fill_prpsinfo(&prpsinfo, &VG_(threads)[tid], si);
942 add_note(&old_notes, VKI_NT_PRPSINFO, &prpsinfo,