/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/tools/perf/scripts/python/bin/ |
H A D | syscall-counts-by-pid-report | 2 # description: system-wide syscall counts, by pid 10 perf trace $@ -s ~/libexec/perf-core/scripts/python/syscall-counts-by-pid.py $comm
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/tools/perf/util/ |
H A D | values.h | 9 u32 *pid, *tid; member in struct:perf_read_values 21 u32 pid, u32 tid,
|
H A D | thread.c | 19 int find_all_tid(int pid, pid_t ** all_tid) argument 27 sprintf(name, "/proc/%d/task", pid); 50 static struct thread *thread__new(pid_t pid) argument 56 self->pid = pid; 59 snprintf(self->comm, 32, ":%d", self->pid); 100 return fprintf(fp, "Thread %d %s\n", self->pid, self->comm) + 104 struct thread *perf_session__findnew(struct perf_session *self, pid_t pid) argument 115 if (self->last_match && self->last_match->pid == pid) [all...] |
H A D | thread.h | 14 pid_t pid; member in struct:thread 25 int find_all_tid(int pid, pid_t ** all_tid); 28 struct thread *perf_session__findnew(struct perf_session *self, pid_t pid); 41 enum map_type type, pid_t pid, u64 addr, 46 enum map_type type, pid_t pid, u64 addr,
|
/netgear-R7000-V1.0.7.12_1.2.5/src/router/hotplug2/ |
H A D | childlist.c | 19 struct hotplug2_child_t *add_child(struct hotplug2_child_t *child, pid_t pid, event_seqnum_t seqnum) { argument 34 child->pid = pid; 41 struct hotplug2_child_t *remove_child_by_pid(struct hotplug2_child_t *child, pid_t pid, event_seqnum_t *largest_seqnum, int *child_c) { argument 51 for (; child->prev && child->pid != pid; child = child->prev); 53 if (child->pid != pid) {
|
/netgear-R7000-V1.0.7.12_1.2.5/src/router/busybox-1.x/procps/ |
H A D | fuser.c | 29 pid_t pid; member in struct:pid_list 93 static int fuser_add_pid(pid_list *plist, pid_t pid) argument 97 if (plist->pid == 0) 98 plist->pid = pid; 101 if (curr->pid == pid) 108 curr->pid = pid; 189 static int fuser_scan_pid_maps(int opts, const char *fname, pid_t pid, argument 217 fuser_scan_link(int opts, const char *lname, pid_t pid, inode_list *ilist, pid_list *plist) argument 230 fuser_scan_dir_links(int opts, const char *dname, pid_t pid, inode_list *ilist, pid_list *plist) argument 255 pid_t pid; local [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/samba-3.0.25b/source/tests/ |
H A D | fcntl_lock64.c | 21 static int sys_waitpid(pid_t pid,int *status,int options) argument 24 return waitpid(pid,status,options); 26 return wait4(pid, status, options, NULL); 37 pid_t pid; local 39 if (!(pid=fork())) { 81 sys_waitpid(pid, &status, 0);
|
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/netatalk-2.2.5/contrib/macusers/ |
H A D | macusers | 24 $PS_STR = "-awwxouser,pid,ppid,start,command"; 27 $PS_STR = "-eo user,pid,ppid,c,stime,tty,time,comm"; 30 $PS_STR = "-eo user:32,pid,ppid,c,stime,tty,time,cmd"; 47 my ($pid, $addr, $host); 48 $pid = $1; 52 $mac{$pid} = $host; 69 my ($pid, $host); 70 $pid = $1; 73 $mac{$pid} = $host; 87 my ($user, $pid, [all...] |
H A D | macusers.in | 24 $PS_STR = "-awwxouser,pid,ppid,start,command"; 27 $PS_STR = "-eo user,pid,ppid,c,stime,tty,time,comm"; 30 $PS_STR = "-eo user:32,pid,ppid,c,stime,tty,time,cmd"; 47 my ($pid, $addr, $host); 48 $pid = $1; 52 $mac{$pid} = $host; 69 my ($pid, $host); 70 $pid = $1; 73 $mac{$pid} = $host; 87 my ($user, $pid, [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/proc/ |
H A D | internal.h | 47 struct pid *pid, struct task_struct *task); 49 struct pid *pid, struct task_struct *task); 51 struct pid *pid, struct task_struct *task); 53 struct pid *pid, struct task_struct *task); 66 static inline struct pid *proc_pid(struct inode *inode) 68 return PROC_I(inode)->pid; [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/src/router/busybox-1.x/miscutils/ |
H A D | chrt.c | 47 pid_t pid = 0; local 70 if (argc == optind+1) { /* -p <priority> <pid> */ 75 pid = xatoul_range(p_opt, 1, ULONG_MAX); /* -p <pid> */ 95 pol = sched_getscheduler(pid); 97 bb_perror_msg_and_die("failed to %cet pid %d's policy", 'g', pid); 98 printf("pid %d's %s scheduling policy: %s\n", 99 pid, state, policies[pol].name); 100 if (sched_getparam(pid, [all...] |
H A D | taskset.c | 48 pid_t pid = 0; local 56 if (argc == optind+1) { /* -p <aff> <pid> */ 61 pid = xatoul_range(p_opt, 1, ULONG_MAX); /* -p <pid> */ 78 if (sched_getaffinity(pid, sizeof(mask), &mask) < 0) 79 bb_perror_msg_and_die("failed to %cet pid %d's affinity", 'g', pid); 80 printf("pid %d's %s affinity mask: "TASKSET_PRINTF_MASK"\n", 81 pid, state, from_cpuset(mask)); 86 if (sched_setaffinity(pid, sizeo [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/media/dvb/b2c2/ |
H A D | flexcop-hw-filter.c | 3 * flexcop-hw-filter.c - pid and mac address filtering and control functions 46 u16 pid, u16 mask) 50 v30c.pid_filter_30c_ext_ind_0_7.Group_PID = pid; 67 vpid.vregname.field = onoff ? pid : 0x1fff; \ 74 u16 pid, int onoff) 81 u16 pid, int onoff) 88 u16 pid, int onoff) 94 u16 pid, int onoff) 100 u16 pid, int onoff) 106 u16 pid, in 45 flexcop_pid_group_filter(struct flexcop_device *fc, u16 pid, u16 mask) argument 73 flexcop_pid_Stream1_PID_ctrl(struct flexcop_device *fc, u16 pid, int onoff) argument 80 flexcop_pid_Stream2_PID_ctrl(struct flexcop_device *fc, u16 pid, int onoff) argument 87 flexcop_pid_PCR_PID_ctrl(struct flexcop_device *fc, u16 pid, int onoff) argument 93 flexcop_pid_PMT_PID_ctrl(struct flexcop_device *fc, u16 pid, int onoff) argument 99 flexcop_pid_EMM_PID_ctrl(struct flexcop_device *fc, u16 pid, int onoff) argument 105 flexcop_pid_ECM_PID_ctrl(struct flexcop_device *fc, u16 pid, int onoff) argument 111 flexcop_pid_control(struct flexcop_device *fc, int index, u16 pid, int onoff) argument [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/samba-3.0.25b/source/lib/ |
H A D | pidfile.c | 29 /* return the pid in a pidfile. return 0 if the process (or pidfile) 35 pid_t pid; local 39 slprintf(pidFile, sizeof(pidFile)-1, "%s/%s.pid", lp_piddir(), name); 61 pid = (pid_t)ret; 62 if (!process_exists_by_pid(pid)) { 80 /* create a pid file in the pid directory. open it and leave it locked */ 88 pid_t pid; local 106 slprintf(pidFile, sizeof(pidFile)-1, "%s/%s.pid", lp_piddir(), name); 108 pid [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/wxWidgets-2.8.12/include/wx/ |
H A D | process.h | 42 static wxKillError Kill(int pid, wxSignal sig = wxSIGTERM, int flags = wxKILL_NOCHILDREN); 45 static bool Exists(int pid); 69 virtual void OnTerminate(int pid, int status); 109 void SetPid(long pid) { m_pid = pid; } argument 140 wxProcessEvent(int nId = 0, int pid = 0, int exitcode = 0) : wxEvent(nId) 143 m_pid = pid;
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/tools/perf/bench/ |
H A D | sched-pipe.c | 59 pid_t pid, retpid; local 67 pid = fork(); 68 assert(pid >= 0); 72 if (!pid) { 87 if (pid) { 88 retpid = waitpid(pid, &wait_stat, 0); 89 assert((retpid == pid) && WIFEXITED(wait_stat));
|
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/samba-3.0.25b/source/utils/ |
H A D | smbcontrol.c | 48 /* Send a message to a destination pid. Zero means broadcast smbd. */ 50 static BOOL send_message(struct process_id pid, int msg_type, argument 61 if (procid_to_pid(&pid) != 0) 62 return NT_STATUS_IS_OK(message_send_pid(pid, msg_type, buf, len, 102 static void print_pid_string_cb(int msg_type, struct process_id pid, void *buf, argument 105 printf("PID %u: %.*s", (unsigned int)procid_to_pid(&pid), 112 static void print_string_cb(int msg_type, struct process_id pid, argument 121 static BOOL do_noop(const struct process_id pid, argument 136 static BOOL do_debug(const struct process_id pid, argument 146 pid, MSG_DEBU 155 procname(pid_t pid, char * buf, size_t bufsz) argument 172 print_stack_trace(pid_t pid, int * count) argument 264 do_daemon_stack_trace(const struct process_id pid, const int argc, const char **argv) argument 309 do_daemon_stack_trace(const struct process_id pid, const int argc, const char **argv) argument 321 do_inject_fault(const struct process_id pid, const int argc, const char **argv) argument 362 do_election(const struct process_id pid, const int argc, const char **argv) argument 376 pong_cb(int msg_type, struct process_id pid, void *buf, size_t len, void *private_data) argument 385 do_ping(const struct process_id pid, const int argc, const char **argv) argument 413 do_profile(const struct process_id pid, const int argc, const char **argv) argument 442 profilelevel_cb(int msg_type, struct process_id pid, void *buf, size_t len, void *private_data) argument 479 profilelevel_rqst(int msg_type, struct process_id pid, void *buf, size_t len, void *private_data) argument 489 do_profilelevel(const struct process_id pid, const int argc, const char **argv) argument 519 do_debuglevel(const struct process_id pid, const int argc, const char **argv) argument 548 do_printnotify(const struct process_id pid, const int argc, const char **argv) argument 688 do_closeshare(const struct process_id pid, const int argc, const char **argv) argument 703 do_samsync(const struct process_id pid, const int argc, const char **argv) argument 717 do_samrepl(const struct process_id pid, const int argc, const char **argv) argument 731 do_poolusage(const struct process_id pid, const int argc, const char **argv) argument 760 do_dmalloc_mark(const struct process_id pid, const int argc, const char **argv) argument 774 do_dmalloc_changed(const struct process_id pid, const int argc, const char **argv) argument 789 do_shutdown(const struct process_id pid, const int argc, const char **argv) argument 802 do_drvupgrade(const struct process_id pid, const int argc, const char **argv) argument 815 do_winbind_online(const struct process_id pid, const int argc, const char **argv) argument 848 do_winbind_offline(const struct process_id pid, const int argc, const char **argv) argument 918 do_winbind_onlinestatus(const struct process_id pid, const int argc, const char **argv) argument 948 do_reload_config(const struct process_id pid, const int argc, const char **argv) argument 970 do_nodestatus(const struct process_id pid, const int argc, const char **argv) argument 1072 pid_t pid; local 1119 struct process_id pid; local [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/um/os-Linux/skas/ |
H A D | process.c | 30 int is_skas_winch(int pid, int fd, void *data) argument 32 if (pid != getpgrp()) 39 static int ptrace_dump_regs(int pid) argument 44 if (ptrace(PTRACE_GETREGS, pid, 0, regs) < 0) 63 void wait_stub_done(int pid) argument 68 CATCH_EINTR(n = waitpid(pid, &status, WUNTRACED | __WALL)); 75 err = ptrace(PTRACE_CONT, pid, 0, 0); 87 err = ptrace_dump_regs(pid); 92 "pid = %d, n = %d, errno = %d, status = 0x%x\n", pid, 99 get_skas_faultinfo(int pid, struct faultinfo *fi) argument 149 handle_segv(int pid, struct uml_pt_regs * regs) argument 159 handle_trap(int pid, struct uml_pt_regs *regs, int local_using_sysemu) argument 283 int pid, status, n, flags, err; local 354 int err, status, op, pid = userspace_pid[0]; local 478 copy_context_skas0(unsigned long new_stack, int pid) argument [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/net/netfilter/ |
H A D | nf_conntrack_ecache.h | 20 u32 pid; /* netlink pid of destroyer */ member in struct:nf_conntrack_ecache 54 u32 pid; member in struct:nf_ct_event 89 u32 pid, 108 .pid = e->pid ? e->pid : pid, 112 unsigned long missed = e->pid ? 0 : e->missed; 125 e->pid 87 nf_conntrack_eventmask_report(unsigned int eventmask, struct nf_conn *ct, u32 pid, int report) argument 140 nf_conntrack_event_report(enum ip_conntrack_events event, struct nf_conn *ct, u32 pid, int report) argument 154 u32 pid; member in struct:nf_exp_event 167 nf_ct_expect_event_report(enum ip_conntrack_expect_events event, struct nf_conntrack_expect *exp, u32 pid, int report) argument 210 nf_conntrack_eventmask_report(unsigned int eventmask, struct nf_conn *ct, u32 pid, int report) argument 216 nf_conntrack_event_report(enum ip_conntrack_events event, struct nf_conn *ct, u32 pid, int report) argument 223 nf_ct_expect_event_report(enum ip_conntrack_expect_events e, struct nf_conntrack_expect *exp, u32 pid, int report) argument [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/libkqueue-1.0.6/test/ |
H A D | proc.c | 20 static pid_t pid; variable 35 kevent_add(kqfd, &kev, pid, EVFILT_PROC, EV_ADD, 0, 0, NULL); 45 kevent_add(kqfd, &kev, pid, EVFILT_PROC, EV_DELETE, 0, 0, NULL); 46 if (kill(pid, SIGKILL) < 0) 58 pid = fork(); 59 if (pid == 0) { 64 printf(" -- child created (pid %d)\n", (int) pid); 67 kevent_add(kqfd, &kev, pid, EVFILT_PROC, EV_ADD, 0, 0, NULL); 70 printf(" -- killing process %d\n", (int) pid); [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/netatalk-2.2.5/libatalk/util/ |
H A D | server_lock.c | 32 * dies. it returns the pid. due to problems w/ solaris, this has 38 pid_t pid; local 42 /* check for pid. this can get fooled by stale pid's. */ 44 if (fgets(buf, sizeof(buf), pf) && !kill(pid = atol(buf), 0)) { 45 fprintf( stderr, "%s is already running (pid = %d), or the lock file is stale.\n", 46 program, pid); 67 switch (pid = fork()) { 91 return pid; 107 pid_t pid; local 129 pid_t pid; local [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/db-4.7.25.NC/build_windows/ |
H A D | dbkill.cpp | 74 fprintf(stderr, "Usage: kill [ -sig ] pid\n"); 84 long pid; local 107 pid = myatol(argv[1], 10); 108 /*printf("pid = %ld (0x%lx) (command line %s)\n", pid, pid, argv[1]);*/ 109 if (pid == LONG_MAX || pid == LONG_MIN) 116 hProcess = OpenProcess(accessflag, FALSE, pid);
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/scsi/bfa/ |
H A D | n2n.c | 61 port->pid = N2N_LOCAL_PID; 68 bfa_trc(port->fcs, rport->pid); 70 rport->pid = N2N_REMOTE_PID; 77 * pid should be zero, because it is offline. 99 bfa_trc(port->fcs, port->pid); 100 port->pid = 0;
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/tools/perf/scripts/python/ |
H A D | failed-syscalls-by-pid.py | 1 # failed system call counts, by pid 5 # Displays system-wide failed system call totals, broken down by pid. 17 usage = "perf trace -s syscall-counts-by-pid.py [comm]\n"; 54 print "%-30s %10s\n" % ("comm [pid]", "count"), 61 for pid in pid_keys: 62 print "\n%s [%d]\n" % (comm, pid), 63 id_keys = syscalls[comm][pid].keys() 66 ret_keys = syscalls[comm][pid][id].keys() 67 for ret, val in sorted(syscalls[comm][pid][id].iteritems(), key = lambda(k, v): (v, k), reverse = True):
|
/netgear-R7000-V1.0.7.12_1.2.5/src/router/busybox-1.x/runit/ |
H A D | sv.c | 249 int pid; local 261 pid = SWAP_LE32(svstatus.pid_le32); 263 if (pid) { 268 printf("%s: (pid %d) ", m, pid); 274 if (pid) { 283 return pid ? 1 : 2; 311 int pid, w; local 321 pid = spawn(prog); 322 if (pid < 337 unsigned pid; local [all...] |