/tools/perf/util/ |
D | thread_map.c | 33 struct perf_thread_map *thread_map__new_by_pid(pid_t pid) in thread_map__new_by_pid() 95 pid_t pid = strtol(dirent->d_name, &end, 10); in __thread_map__new_all_cpus() local 170 struct perf_thread_map *thread_map__new(pid_t pid, pid_t tid, uid_t uid) in thread_map__new() 188 pid_t pid, prev_pid = INT_MAX; in thread_map__new_by_pid_str() local 292 struct perf_thread_map *thread_map__new_str(const char *pid, const char *tid, in thread_map__new_str() 318 static int get_comm(char **comm, pid_t pid) in get_comm() 344 pid_t pid = perf_thread_map__pid(map, i); in comm_init() local 397 bool thread_map__has(struct perf_thread_map *threads, pid_t pid) in thread_map__has()
|
D | jitdump.c | 400 pid_t pid, tid; in jit_repipe_code_load() local 402 u32 pid, tid; in jit_repipe_code_load() member 513 pid_t pid, tid; in jit_repipe_code_move() local 515 u32 pid, tid; in jit_repipe_code_move() member 698 jit_detect(char *mmap_name, pid_t pid) in jit_detect() 757 pid_t pid, in jit_process()
|
/tools/perf/scripts/python/ |
D | netdev-times.py | 232 def irq__softirq_entry(name, context, cpu, sec, nsec, pid, comm, callchain, vec): argument 238 def irq__softirq_exit(name, context, cpu, sec, nsec, pid, comm, callchain, vec): argument 244 def irq__softirq_raise(name, context, cpu, sec, nsec, pid, comm, callchain, vec): argument 250 def irq__irq_handler_entry(name, context, cpu, sec, nsec, pid, comm, argument 256 def irq__irq_handler_exit(name, context, cpu, sec, nsec, pid, comm, callchain, irq, ret): argument 260 def napi__napi_poll(name, context, cpu, sec, nsec, pid, comm, callchain, napi, argument 266 def net__netif_receive_skb(name, context, cpu, sec, nsec, pid, comm, callchain, skbaddr, argument 272 def net__netif_rx(name, context, cpu, sec, nsec, pid, comm, callchain, skbaddr, argument 278 def net__net_dev_queue(name, context, cpu, sec, nsec, pid, comm, callchain, argument 284 def net__net_dev_xmit(name, context, cpu, sec, nsec, pid, comm, callchain, argument [all …]
|
D | sched-migration.py | 33 def thread_name(pid): argument 210 def wake_up(self, ts_list, pid, cpu, fork): argument 351 def migrate(self, headers, pid, prio, orig_cpu, dest_cpu): argument 355 def wake_up(self, headers, comm, pid, success, target_cpu, fork): argument 374 common_callchain, comm, pid, runtime, vruntime): argument 379 common_callchain, comm, pid, delay): argument 384 common_callchain, comm, pid, delay): argument 389 common_callchain, comm, pid, delay): argument 399 common_callchain, comm, pid, prio): argument 404 common_callchain, comm, pid, prio): argument [all …]
|
D | powerpc-hcalls.py | 173 def powerpc__hcall_exit(name, context, cpu, sec, nsec, pid, comm, callchain, argument 197 def powerpc__hcall_entry(event_name, context, cpu, sec, nsec, pid, comm, argument
|
D | compaction-times.py | 32 def filter(self, pid, comm): argument 41 def filter(self, pid, comm): argument 118 def create_pending(cls, pid, comm, start_secs, start_nsecs): argument 132 def increment_pending(cls, pid, migrated, fscan, mscan): argument 141 def complete_pending(cls, pid, secs, nsecs): argument 159 def __init__(self, comm, pid, filtered): argument
|
/tools/testing/selftests/cgroup/ |
D | test_freezer.c | 116 static int cg_enter_and_wait_for_frozen(const char *cgroup, int pid, in cg_enter_and_wait_for_frozen() 460 int pid; in test_cgfreezer_mkdir() local 569 int pid; in test_cgfreezer_migrate() local 645 int pid; in test_cgfreezer_ptrace() local 700 static int proc_check_stopped(int pid) in proc_check_stopped() 724 int pid, ret = KSFT_FAIL; in test_cgfreezer_stopped() local 768 int pid, ret = KSFT_FAIL; in test_cgfreezer_ptraced() local 822 int pid = vfork(); in vfork_fn() local
|
D | cgroup_util.c | 242 int pid = strtol(ptr, &ptr, 10); in cg_killall() local 275 int cg_enter(const char *cgroup, int pid) in cg_enter() 295 int pid, retcode; in cg_run() local 320 int pid; in cg_run_nowait() local 392 int set_oom_adj_score(int pid, int score) in set_oom_adj_score() 413 char proc_read_text(int pid, const char *item, char *buf, size_t size) in proc_read_text()
|
/tools/kvm/kvm_stat/ |
D | kvm_stat | 417 def _perf_event_open(self, attr, pid, cpu, group_fd, flags): argument 502 def __init__(self, pid): argument 529 def __init__(self, pid, fields_filter): argument 689 def pid(self): member in TracepointProvider 693 def pid(self, pid): argument 725 def __init__(self, pid, fields_filter, include_past): argument 762 def pid(self): member in DebugfsProvider 766 def pid(self, pid): argument 910 def pid_filter(self, pid): argument 1074 def get_gname_from_pid(pid): argument [all …]
|
/tools/perf/include/bpf/ |
D | pid_filter.h | 10 static int pid_filter__add(struct bpf_map *pids, pid_t pid) in pid_filter__add() 16 static bool pid_filter__has(struct bpf_map *pids, pid_t pid) in pid_filter__has()
|
/tools/testing/selftests/ptrace/ |
D | get_syscall_info.c | 17 kill_tracee(pid_t pid) in kill_tracee() 31 sys_ptrace(int request, pid_t pid, unsigned long addr, unsigned long data) in sys_ptrace() 77 pid_t pid = fork(); in TEST() local
|
/tools/testing/selftests/pidfd/ |
D | pidfd_wait.c | 29 static int sys_waitid(int which, pid_t pid, siginfo_t *info, int options, in sys_waitid() 47 pid_t pid; in test_pidfd_wait_simple() local 132 pid_t pid; in test_pidfd_wait_states() local
|
D | pidfd.h | 57 int wait_for_pid(pid_t pid) in wait_for_pid() 76 static inline int sys_pidfd_open(pid_t pid, unsigned int flags) in sys_pidfd_open()
|
/tools/testing/selftests/proc/ |
D | thread-self.c | 30 pid_t pid, tid; in f() local 50 pid_t pid; in main() local
|
D | proc-uptime-002.c | 33 static inline int sys_sched_getaffinity(pid_t pid, unsigned int len, unsigned long *m) in sys_sched_getaffinity() 38 static inline int sys_sched_setaffinity(pid_t pid, unsigned int len, unsigned long *m) in sys_sched_setaffinity()
|
D | fd-003-kthread.c | 40 static int kernel_thread_fd(unsigned int pid) in kernel_thread_fd() 157 unsigned int pid; in main() local
|
/tools/perf/arch/x86/tests/ |
D | intel-cqm.c | 18 pid_t pid; in spawn() local 48 pid_t pid; in test__intel_cqm_count_nmi_context() local
|
/tools/testing/selftests/bpf/progs/ |
D | test_core_reloc_kernel.c | 16 int pid; member 25 int pid, tgid; in test_core_kernel() local
|
/tools/testing/selftests/powerpc/benchmarks/ |
D | fork.c | 48 int pid; in start_process_on() local 88 pid_t pid = fork(); in bench_fork() local 110 pid_t pid = vfork(); in bench_vfork() local
|
/tools/bpf/bpftool/ |
D | perf.c | 63 static void print_perf_json(int pid, int fd, __u32 prog_id, __u32 fd_type, in print_perf_json() 113 static void print_perf_plain(int pid, int fd, __u32 prog_id, __u32 fd_type, in print_perf_plain() 155 int err, pid = 0, fd = 0; in show_proc() local
|
/tools/testing/selftests/powerpc/pmu/ |
D | event.c | 16 int perf_event_open(struct perf_event_attr *attr, pid_t pid, int cpu, in perf_event_open() 52 int event_open_with_options(struct event *e, pid_t pid, int cpu, int group_fd) in event_open_with_options() 68 int event_open_with_pid(struct event *e, pid_t pid) in event_open_with_pid()
|
/tools/testing/selftests/memfd/ |
D | fuse_test.c | 203 pid_t pid; in spawn_sealing_thread() local 223 static void join_sealing_thread(pid_t pid) in join_sealing_thread() 234 pid_t pid; in main() local
|
/tools/testing/selftests/breakpoints/ |
D | breakpoint_test_arm64.c | 81 static bool set_watchpoint(pid_t pid, int size, int wp) in set_watchpoint() 116 pid_t pid = fork(); in arun_test() local
|
/tools/perf/tests/ |
D | attr.c | 67 static int store_event(struct perf_event_attr *attr, pid_t pid, int cpu, in store_event() 146 void test_attr__open(struct perf_event_attr *attr, pid_t pid, int cpu, in test_attr__open()
|
/tools/testing/selftests/powerpc/tm/ |
D | tm-signal-stack.c | 35 int pid; in tm_signal_stack() local
|