/netbsd-src/external/cddl/dtracetoolkit/dist/Docs/ |
H A D | oneliners.txt | 11 dtrace -n 'syscall::open*:entry { printf("%s %s",execname,copyinstr(arg0)); }' 14 dtrace -n 'syscall::creat*:entry { printf("%s %s",execname,copyinstr(arg0)); }' 17 dtrace -n 'syscall:::entry { @num[execname] = count(); }' 23 dtrace -n 'syscall:::entry { @num[pid,execname] = count(); }' 26 dtrace -n 'sysinfo:::readch { @bytes[execname] = sum(arg0); }' 29 dtrace -n 'sysinfo:::writech { @bytes[execname] = sum(arg0); }' 32 dtrace -n 'sysinfo:::readch { @dist[execname] = quantize(arg0); }' 35 dtrace -n 'sysinfo:::writech { @dist[execname] = quantize(arg0); }' 38 dtrace -n 'io:::start { printf("%d %s %d",pid,execname,args[0]->b_bcount); }' 41 dtrace -n 'io:::start { @size[execname] = quantize(args[0]->b_bcount); }' [all …]
|
/netbsd-src/libexec/ld.elf_so/ |
H A D | expand.c | 72 expand(char *buf, const char *execname, size_t what, size_t bl) in expand() argument 85 if (execname == NULL) in expand() 87 if ((ep = strrchr(p = execname, '/')) == NULL) in expand() 88 xerr(1, "bad execname `%s' in AUX vector", execname); in expand() 113 _rtld_expand_path(char *buf, size_t bufsize, const char *execname, in _rtld_expand_path() argument 138 size_t ls = expand(dp, execname, i, ds); in _rtld_expand_path()
|
H A D | paths.c | 173 const char *execname, const char *bp, const char *ep) in _rtld_append_path() argument 179 len = _rtld_expand_path(epath, sizeof(epath), execname, bp, ep); in _rtld_append_path() 198 _rtld_add_paths(const char *execname, Search_Path **path_p, const char *pathstr) in _rtld_add_paths() argument 220 path_p = _rtld_append_path(head_p, path_p, execname, bp, ep); in _rtld_add_paths() 335 _rtld_process_hints(const char *execname, Search_Path **path_p, in _rtld_process_hints() argument 394 path_p = _rtld_append_path(head_p, path_p, execname, in _rtld_process_hints()
|
/netbsd-src/external/cddl/dtracetoolkit/dist/Docs/Examples/ |
H A D | oneliners_examples.txt | 24 # dtrace -n 'syscall::open*:entry { printf("%s %s",execname,copyinstr(arg0)); }' 49 # dtrace -n 'syscall:::entry { @num[execname] = count(); }' 86 # dtrace -n 'syscall:::entry { @num[pid,execname] = count(); }' 103 # dtrace -n 'sysinfo:::readch { @bytes[execname] = sum(arg0); }' 120 # dtrace -n 'sysinfo:::writech { @bytes[execname] = sum(arg0); }' 141 # dtrace -n 'sysinfo:::readch { @dist[execname] = quantize(arg0); }' 170 # dtrace -n 'sysinfo:::writech { @dist[execname] = quantize(arg0); }' 202 # dtrace -n 'io:::start { printf("%d %s %d",pid,execname,args[0]->b_bcount); }' 219 # dtrace -n 'vminfo:::pgpgin { @pg[execname] = sum(arg0); }' 231 # dtrace -n 'vminfo:::as_fault { @mem[execname] = sum(arg0); }' [all …]
|
/netbsd-src/external/cddl/dtracetoolkit/dist/Examples/ |
H A D | oneliners_examples.txt | 24 # dtrace -n 'syscall::open*:entry { printf("%s %s",execname,copyinstr(arg0)); }' 49 # dtrace -n 'syscall:::entry { @num[execname] = count(); }' 86 # dtrace -n 'syscall:::entry { @num[pid,execname] = count(); }' 103 # dtrace -n 'sysinfo:::readch { @bytes[execname] = sum(arg0); }' 120 # dtrace -n 'sysinfo:::writech { @bytes[execname] = sum(arg0); }' 141 # dtrace -n 'sysinfo:::readch { @dist[execname] = quantize(arg0); }' 170 # dtrace -n 'sysinfo:::writech { @dist[execname] = quantize(arg0); }' 202 # dtrace -n 'io:::start { printf("%d %s %d",pid,execname,args[0]->b_bcount); }' 219 # dtrace -n 'vminfo:::pgpgin { @pg[execname] = sum(arg0); }' 231 # dtrace -n 'vminfo:::as_fault { @mem[execname] = sum(arg0); }' [all …]
|
/netbsd-src/sbin/fsck/ |
H A D | fsck.c | 285 char execname[MAXPATHLEN + 1], execbase[MAXPATHLEN]; in checkfs() local 353 (void)snprintf(execname, in checkfs() 354 sizeof(execname), "%s/%s", *edir, execbase); in checkfs() 355 execv(execname, (char * const *)__UNCONST(argv)); in checkfs() 358 warn("exec %s for %s", execname, spec); in checkfs() 360 warn("exec %s", execname); in checkfs() 366 warn("exec %s for %s", execname, spec); in checkfs() 368 warn("exec %s", execname); in checkfs()
|
/netbsd-src/external/cddl/dtracetoolkit/dist/Apps/ |
H A D | shellsnoop | 188 printf("%5d %5d %8s %3s %s\n", pid, curpsinfo->pr_ppid, execname, 199 /self->buf && execname == "sh" && child[pid] == 0 && OPT_quiet == 1/ 235 printf("%5d %5d %8s %3s %s", pid, curpsinfo->pr_ppid, execname, 262 pid, execname, stringof(this->parent)) : 1;
|
/netbsd-src/external/cddl/dtracetoolkit/dist/Bin/ |
H A D | shellsnoop | 188 printf("%5d %5d %8s %3s %s\n", pid, curpsinfo->pr_ppid, execname, 199 /self->buf && execname == "sh" && child[pid] == 0 && OPT_quiet == 1/ 235 printf("%5d %5d %8s %3s %s", pid, curpsinfo->pr_ppid, execname, 262 pid, execname, stringof(this->parent)) : 1;
|
H A D | errinfo | 144 ($execname,$syscall,$errno,$counts) = split(' ',$line); 153 $execname,$syscall,$errno,$counts,$desc); 155 printf("%16s %16s %4d %s\n",$execname,$syscall,$errno,$desc);
|
H A D | stacksize.d | 53 /execname != "sched"/ 82 @sizes[execname] = quantize(this->stktop - this->stkptr); 87 @errors[execname] = count();
|
H A D | sh_pidcolors.d | 160 cpu, pid, this->delta, basename(execname), "sh", 172 cpu, pid, this->delta, basename(execname), "sh", 182 cpu, pid, this->delta, basename(execname), "syscall", 194 cpu, pid, this->delta, basename(execname), "syscall",
|
H A D | rwbbypid.d | 49 @bytes[pid, execname, "R"] = sum(arg0); 54 @bytes[pid, execname, "W"] = sum(arg0);
|
H A D | rwbypid.d | 49 @calls[pid, execname, "R"] = sum(arg0); 54 @calls[pid, execname, "W"] = sum(arg0);
|
H A D | rwbytype.d | 79 @bytes[pid, execname, self->type, "R"] = sum(self->size - this->resid); 90 @bytes[pid, execname, self->type, "W"] = sum(self->size - this->resid);
|
H A D | tcl_stat.d | 85 /execname == "tcl" || execname == "tclsh"/
|
/netbsd-src/external/cddl/dtracetoolkit/dist/ |
H A D | errinfo | 144 ($execname,$syscall,$errno,$counts) = split(' ',$line); 153 $execname,$syscall,$errno,$counts,$desc); 155 printf("%16s %16s %4d %s\n",$execname,$syscall,$errno,$desc);
|
/netbsd-src/external/cddl/dtracetoolkit/dist/Proc/ |
H A D | stacksize.d | 53 /execname != "sched"/ 82 @sizes[execname] = quantize(this->stktop - this->stkptr); 87 @errors[execname] = count();
|
H A D | rwbbypid.d | 49 @bytes[pid, execname, "R"] = sum(arg0); 54 @bytes[pid, execname, "W"] = sum(arg0);
|
H A D | rwbypid.d | 49 @calls[pid, execname, "R"] = sum(arg0); 54 @calls[pid, execname, "W"] = sum(arg0);
|
H A D | rwbytype.d | 79 @bytes[pid, execname, self->type, "R"] = sum(self->size - this->resid); 90 @bytes[pid, execname, self->type, "W"] = sum(self->size - this->resid);
|
/netbsd-src/external/gpl3/binutils.old/dist/bfd/ |
H A D | elfcore.h | 64 const char* execname = strrchr (bfd_get_filename (exec_bfd), '/'); in elf_core_file_matches_executable_p() local 66 execname = execname ? execname + 1 : bfd_get_filename (exec_bfd); in elf_core_file_matches_executable_p() 68 if (strcmp (execname, corename) != 0) in elf_core_file_matches_executable_p()
|
/netbsd-src/external/gpl3/binutils/dist/bfd/ |
H A D | elfcore.h | 64 const char* execname = strrchr (bfd_get_filename (exec_bfd), '/'); in elf_core_file_matches_executable_p() local 66 execname = execname ? execname + 1 : bfd_get_filename (exec_bfd); in elf_core_file_matches_executable_p() 68 if (strcmp (execname, corename) != 0) in elf_core_file_matches_executable_p()
|
/netbsd-src/external/cddl/dtracetoolkit/dist/Shell/ |
H A D | sh_pidcolors.d | 160 cpu, pid, this->delta, basename(execname), "sh", 172 cpu, pid, this->delta, basename(execname), "sh", 182 cpu, pid, this->delta, basename(execname), "syscall", 194 cpu, pid, this->delta, basename(execname), "syscall",
|
/netbsd-src/external/bsd/libproc/dist/ |
H A D | proc_create.c | 63 len = sizeof(phdl->execname); in proc_init() 64 if (sysctl(mib, 4, phdl->execname, &len, NULL, 0) != 0) { in proc_init() 70 phdl->execname[0] = '\0'; in proc_init()
|
/netbsd-src/external/cddl/dtracetoolkit/dist/Tcl/ |
H A D | tcl_stat.d | 85 /execname == "tcl" || execname == "tclsh"/
|