Home
last modified time | relevance | path

Searched refs:execname (Results 1 – 25 of 134) sorted by relevance

123456

/netbsd-src/external/cddl/dtracetoolkit/dist/Docs/
H A Doneliners.txt11 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 Dexpand.c72 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 Dpaths.c173 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 Doneliners_examples.txt24 # 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 Doneliners_examples.txt24 # 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 Dfsck.c285 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 Dshellsnoop188 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 Dshellsnoop188 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 Derrinfo144 ($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 Dstacksize.d53 /execname != "sched"/
82 @sizes[execname] = quantize(this->stktop - this->stkptr);
87 @errors[execname] = count();
H A Dsh_pidcolors.d160 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 Drwbbypid.d49 @bytes[pid, execname, "R"] = sum(arg0);
54 @bytes[pid, execname, "W"] = sum(arg0);
H A Drwbypid.d49 @calls[pid, execname, "R"] = sum(arg0);
54 @calls[pid, execname, "W"] = sum(arg0);
H A Drwbytype.d79 @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 Dtcl_stat.d85 /execname == "tcl" || execname == "tclsh"/
/netbsd-src/external/cddl/dtracetoolkit/dist/
H A Derrinfo144 ($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 Dstacksize.d53 /execname != "sched"/
82 @sizes[execname] = quantize(this->stktop - this->stkptr);
87 @errors[execname] = count();
H A Drwbbypid.d49 @bytes[pid, execname, "R"] = sum(arg0);
54 @bytes[pid, execname, "W"] = sum(arg0);
H A Drwbypid.d49 @calls[pid, execname, "R"] = sum(arg0);
54 @calls[pid, execname, "W"] = sum(arg0);
H A Drwbytype.d79 @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 Delfcore.h64 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 Delfcore.h64 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 Dsh_pidcolors.d160 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 Dproc_create.c63 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 Dtcl_stat.d85 /execname == "tcl" || execname == "tclsh"/

123456