| /onnv/onnv-gate/usr/src/cmd/ptools/prun/ |
| prun.c | 42 static const char *lwps; variable 56 (void) fprintf(stderr, "usage:\t%s pid[/lwps] ...\n", command); 57 (void) fprintf(stderr, " (set stopped processes or lwps " 75 PGRAB_RETAIN | PGRAB_NOSTOP, &gcode, &lwps)) == NULL) { 106 if (lwps != NULL) { 109 * lwp specification as a mask. We iterate over all lwps in the 114 * otherwise *all* lwps could be set running after detaching 115 * from the process and not only lwps, which were selected. 124 " no matching LWPs found\n", command, arg); 147 if (proc_lwp_in_set(lwps, info->pr_lwpid)) [all...] |
| /onnv/onnv-gate/usr/src/cmd/ptools/pstop/ |
| pstop.c | 42 static const char *lwps; variable 56 (void) fprintf(stderr, "usage:\t%s pid[/lwps] ...\n", command); 58 " (stop processes or lwps with /proc request)\n"); 75 PGRAB_NOSTOP | PGRAB_FORCE, &gcode, &lwps)) == NULL) { 79 } else if (lwps != NULL) { 82 * the lwp specification as a mask. We iterate over all lwps in 93 " no matching LWPs found\n", command, arg); 118 if (proc_lwp_in_set(lwps, info->pr_lwpid)) {
|
| /onnv/onnv-gate/usr/src/cmd/truss/ |
| ipc.c | 187 gps->lwps[j] = lwplist; 224 const char *lwps; local 237 lwps = gps->lwps[i]; 240 return (proc_lwp_in_set(lwps, lwpid));
|
| main.c | 58 * This structure keeps track of pid/lwp specifications. If there are no LWPs 59 * specified, then 'lwps' will be NULL. 63 const char *lwps; member in struct:proc_set 463 "\t[-o outfile] command | -p pid[/lwps] ...\n"); 535 * victim process that has half a million lwps. 778 * lwps will not change in the process until we create all 819 * Create worker threads to match the lwps in the target process. 829 (void) printf("(Warning: no matching active LWPs found, " 2245 const char *lwps = NULL; local [all...] |
| ramdata.h | 181 extern int truss_nlwp; /* number of truss lwps */ 212 const char *lwps[1000]; /* optional lwp list */ member in struct:global_psinfo
|
| /onnv/onnv-gate/usr/src/cmd/pbind/ |
| pbind.c | 234 * Query, set, or clear bindings for the range of LWPs in the given process. 249 * Report bindings for LWPs in process 'pid'. 302 "No matching LWPs found\n"), 439 die(gettext("failed to unbind some LWPs")); 495 const char *lwps = (const char *)(++endstr); local 496 if (*lwps == '\0' || 497 proc_lwp_range_valid(lwps) != 0) { 505 ret = do_lwps(pid, lwps, qflag ? PBIND_QUERY : cpu);
|
| /onnv/onnv-gate/usr/src/cmd/ptools/pflags/ |
| pflags.c | 44 const char *lwps; member in struct:look_arg 104 "usage:\t%s [-r] { pid | core }[/lwps] ...\n", command); 146 &lookarg.lwps)) == NULL) { 233 (void) printf("No matching lwps found"); 257 if (!proc_lwp_in_set(arg->lwps, pip->pr_lwpid))
|
| /onnv/onnv-gate/usr/src/cmd/wbem/provider/tools/rds/ |
| rdimpl.c | 60 list_t lwps; /* list of lwps/processes */ variable 168 list_remove_lwp(&lwps, lwp_tmp); 355 * This procedure removes all dead lwps from the specified lwp list. 369 list_remove_lwp(&lwps, lwp); 463 * read /proc/pid/lpsinfo for information about all lwps. 509 lwp = list_add_lwp(&lwps, pid, lwpid); 523 lwp = list_add_lwp(&lwps, pid, lwpid); 538 * will get information about all its lwps from 597 list_refresh(&lwps); [all...] |
| /onnv/onnv-gate/usr/src/lib/libpctx/common/ |
| libpctx.c | 413 lwpstatus_t *lwps; local 449 lwps = (lwpstatus_t *)(prh + 1); 453 pstatus->pr_pid, lwps->pr_lwpid, pctx->uarg) != 0) 456 lwps = (lwpstatus_t *)((char *)lwps + prh->pr_entsize); 721 * Reinstate the lwps we fini'd
|
| /onnv/onnv-gate/usr/src/cmd/ptools/pstack/ |
| pstack.c | 111 const char *lwps; member in struct:pstack_handle 168 "usage:\t%s [-F] { pid | core }[/lwps] ...\n", command); 195 const char *lwps, *arg; local 202 Fflag, &gcode, &lwps)) == NULL) { 264 handle.lwps = lwps; 276 (void) fprintf(stderr, "%s: no matching LWPs found\n", 364 if (!proc_lwp_in_set(h->lwps, pip->pr_lwpid)) 394 if (!proc_lwp_in_set(h->lwps, pip->pr_lwpid)) 418 if (proc_lwp_in_set(h->lwps, status.pr_lwp.pr_lwpid)) [all...] |
| /onnv/onnv-gate/usr/src/cmd/psrset/ |
| psrset.c | 555 * Query, set, or clear bindings for the range of LWPs in the given process. 570 * Report bindings for LWPs in process 'pid'. 623 "No matching LWPs found\n"), 735 die(gettext("failed to unbind all LWPs")); 884 const char *lwps = (const char *)(++errptr); local 885 if (*lwps == '\0' || 886 proc_lwp_range_valid(lwps) != 0) { 894 ret = do_lwps(pid, lwps, pset);
|
| /onnv/onnv-gate/usr/src/cmd/cpc/common/ |
| cpustat.c | 612 int lwps = 0; local 731 lwps++; 740 if (lwps != 0) 767 print_total(lwps, *data1, nreqs, cpc_setgrp_getname(accum));
|
| /onnv/onnv-gate/usr/src/cmd/ptools/plgrp/ |
| plgrp.c | 132 const char *lwps; /* LWPs */ member in struct:plgrp_args 194 gettext("Usage:\t%s [-h] <pid> | <core> [/lwps] ...\n"), progname); 196 gettext("\t%s [-F] -a <lgroup list> <pid>[/lwps] ...\n"), progname); 199 " <pid>[/lwps] ...\n"), progname); 201 gettext("\t%s [-F] -H <lgroup list> <pid>[/lwps] ...\n"), progname); 946 * then home LWPs to lgroups in round robin fashion. 1189 * Routine called by Plwp_iter_all() as it iterates through LWPs of another 1223 * Skip agent LWP and any LWPs that weren't specified 1227 !proc_lwp_in_set(plgrp_args->lwps, lwpid) 1247 const char *lwps; local [all...] |
| /onnv/onnv-gate/usr/src/cmd/prstat/ |
| prstat.c | 123 "Total: %d processes, %d lwps, load averages: %3.2f, %3.2f, %3.2f" 150 static uint_t total_lwps; /* total number of lwps */ 154 static list_t lwps; /* list of lwps/processes */ variable 654 list_remove_lwp(&lwps, lwp_tmp); 854 lwp = list_add_lwp(&lwps, pid, lwpid); 868 lwp = list_add_lwp(&lwps, pid, lwpid); 961 * If one of process's LWPs is bound 1027 * New LWPs created after we read lpsinfo 1055 * This procedure removes all dead lwps from the linked list of all lwps [all...] |