Home
last modified time | relevance | path

Searched refs:pid (Results 751 – 775 of 2194) sorted by relevance

1...<<31323334353637383940>>...88

/openbmc/linux/tools/perf/scripts/python/
H A Dflamegraph.py97 pid = event.get("sample", {}).get("pid", 0)
100 if pid == 0:
104 comm = "{} ({})".format(event["comm"], pid)
/openbmc/linux/tools/perf/util/
H A Dintel-pt.c196 pid_t pid, tid; member
698 pid_t pid = ptq->pid <= 0 ? DEFAULT_GUEST_KERNEL_ID : ptq->pid; in intel_pt_get_guest() local
700 if (ptq->guest_machine && pid == ptq->guest_machine->pid) in intel_pt_get_guest()
1323 ptq->pid = -1; in intel_pt_alloc_queue()
1486 ptq->pid = -1; in intel_pt_set_pid_tid_cpu()
1692 sample->pid = ptq->pid; in intel_pt_prep_a_sample()
2527 pid_t pid = ptq->pid; in intel_ptq_synth_error() local
3088 ptq->pid = sample->pid; in intel_pt_sample_set_pid_tid_cpu()
3241 pid_t pid = sample->pid; in intel_pt_context_switch_in() local
3307 pid_t pid, tid; in intel_pt_context_switch() local
[all …]
/openbmc/linux/include/uapi/linux/
H A Dblktrace_api.h108 __u32 pid; /* who did it */ member
143 __u32 pid; member
/openbmc/linux/drivers/media/i2c/
H A Dov9640.h169 #define VERSION(pid, ver) (((pid) << 8) | ((ver) & 0xFF)) argument
/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dtest_core_reloc_module.c52 if (BPF_CORE_READ(task, pid) != real_pid || BPF_CORE_READ(task, tgid) != real_tgid) in BPF_PROG()
86 if (task->pid != real_pid || task->tgid != real_tgid) in BPF_PROG()
/openbmc/linux/tools/perf/arch/x86/util/
H A Devent.c65 event->mmap.pid = machine->pid; in perf_event__synthesize_extra_kmaps()
/openbmc/linux/include/linux/
H A Dresctrl.h13 struct pid *pid,
H A Dblktrace_api.h24 u32 pid; member
107 u32 pid; member
H A Dptrace.h170 static inline void ptrace_event_pid(int event, struct pid *pid) in ptrace_event_pid() argument
184 message = pid_nr_ns(pid, ns); in ptrace_event_pid()
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dsk_storage_tracing.c16 __u32 pid; member
39 if (!ASSERT_EQ(sk_stg.pid, my_pid, "pid")) in check_sk_stg()
/openbmc/openbmc-test-automation/lib/
H A Dgen_arg.py413 descendant_pids = [str(process.pid) for process in descendants]
416 [str(process.pid)] + descendant_pids
468 term_pids = [str(process.pid) for process in term_processes]
479 term_pids = [str(process.pid) for process in term_processes]
/openbmc/qemu/bsd-user/
H A Dbsd-proc.h257 static inline abi_long do_bsd_getpgid(pid_t pid) in do_bsd_getpgid() argument
259 return get_errno(getpgid(pid)); in do_bsd_getpgid()
263 static inline abi_long do_bsd_setpgid(int pid, int pgrp) in do_bsd_setpgid() argument
265 return get_errno(setpgid(pid, pgrp)); in do_bsd_setpgid()
/openbmc/linux/sound/isa/es1688/
H A Des1688.c204 const struct pnp_card_device_id *pid) in snd_card_es968_pnp() argument
210 pdev = pnp_request_card_device(pcard, pid->devs[0].id, NULL); in snd_card_es968_pnp()
228 const struct pnp_card_device_id *pid) in snd_es968_pnp_detect() argument
249 error = snd_card_es968_pnp(card, dev, pcard, pid); in snd_es968_pnp_detect()
/openbmc/linux/tools/testing/selftests/kvm/
H A Dget-reg-list.c358 pid_t pid; in main() local
386 pid = fork(); in main()
388 if (!pid) { in main()
394 TEST_ASSERT(wpid == pid && WIFEXITED(wstatus), "wait: Unexpected return"); in main()
/openbmc/sdeventplus/src/sdeventplus/internal/
H A Dsdevent.hpp104 pid_t* pid) const = 0;
141 int sd_event_add_child(sd_event* event, sd_event_source** source, pid_t pid, in sd_event_add_child() argument
145 return ::sd_event_add_child(event, source, pid, options, callback, in sd_event_add_child()
216 pid_t* pid) const override;
/openbmc/qemu/tcg/
H A Dperf.c126 uint32_t pid; member
145 uint32_t pid; member
230 header.pid = getpid(); in perf_enable_jitdump()
301 rec.pid = getpid(); in write_jr_code_load()
/openbmc/linux/arch/s390/kernel/
H A Dperf_cpum_sf.c670 u32 pid, enum pid_type type) in cpumsf_pid_type() argument
675 if (!pid) in cpumsf_pid_type()
678 tsk = find_task_by_pid_ns(pid, &init_pid_ns); in cpumsf_pid_type()
679 pid = -1; in cpumsf_pid_type()
687 pid = __task_pid_nr_ns(tsk, type, event->ns); in cpumsf_pid_type()
692 if (!pid && !pid_alive(tsk)) in cpumsf_pid_type()
693 pid = -1; in cpumsf_pid_type()
696 return pid; in cpumsf_pid_type()
703 u32 pid; in cpumsf_output_event_pid() local
711 pid = data->tid_entry.pid; in cpumsf_output_event_pid()
[all …]
/openbmc/linux/drivers/gpu/drm/
H A Ddrm_debugfs.c97 struct pid *pid; in drm_clients_info() local
100 pid = rcu_dereference(priv->pid); in drm_clients_info()
101 task = pid_task(pid, PIDTYPE_TGID); in drm_clients_info()
105 pid_vnr(pid), in drm_clients_info()
/openbmc/linux/tools/perf/tests/
H A Dcode-reading.c387 thread = machine__findnew_thread(machine, sample.pid, sample.tid); in process_sample_event()
574 pid_t pid; in do_test_code_reading() local
579 pid = getpid(); in do_test_code_reading()
613 threads = thread_map__new_by_tid(pid); in do_test_code_reading()
627 thread = machine__findnew_thread(machine, pid, pid); in do_test_code_reading()
/openbmc/linux/tools/testing/selftests/bpf/
H A Dtest_lru_map.c121 static int sched_next_online(int pid, int *next_to_try) in sched_next_online() argument
130 if (!sched_setaffinity(pid, sizeof(cpuset), &cpuset)) { in sched_next_online()
582 pid_t pid; in test_lru_sanity5() local
584 pid = fork(); in test_lru_sanity5()
585 if (pid == 0) { in test_lru_sanity5()
588 } else if (pid == -1) { in test_lru_sanity5()
595 assert(waitpid(pid, &status, 0) == pid); in test_lru_sanity5()
/openbmc/linux/mm/damon/
H A Ddbgfs.c340 id = pid_vnr(t->pid); in sprint_target_ids()
401 static void dbgfs_put_pids(struct pid **pids, int nr_pids) in dbgfs_put_pids()
415 static struct pid **str_to_pids(const char *str, ssize_t len, ssize_t *nr_pids) in str_to_pids()
419 struct pid **pids; in str_to_pids()
459 struct pid **pids) in dbgfs_set_targets()
466 put_pid(t->pid); in dbgfs_set_targets()
480 t->pid = pids[i]; in dbgfs_set_targets()
493 struct pid **target_pids = NULL; in dbgfs_target_ids_write()
707 len = scnprintf(kbuf, count, "%d\n", ctx->kdamond->pid); in dbgfs_kdamond_pid_read()
779 put_pid(t->pid); in dbgfs_before_terminate()
/openbmc/linux/tools/testing/selftests/mount_setattr/
H A Dmount_setattr_test.c1157 snprintf(procfile, sizeof(procfile), "/proc/%d/uid_map", pid); in map_ids()
1163 snprintf(procfile, sizeof(procfile), "/proc/%d/gid_map", pid); in map_ids()
1192 static int wait_for_pid(pid_t pid) in wait_for_pid() argument
1197 ret = waitpid(pid, &status, 0); in wait_for_pid()
1214 pid_t pid; in get_userns_fd() local
1217 pid = do_clone(get_userns_fd_cb, NULL, CLONE_NEWUSER); in get_userns_fd()
1218 if (pid < 0) in get_userns_fd()
1221 ret = map_ids(pid, nsid, hostid, range); in get_userns_fd()
1225 snprintf(path, sizeof(path), "/proc/%d/ns/user", pid); in get_userns_fd()
1227 kill(pid, SIGKILL); in get_userns_fd()
[all …]
/openbmc/linux/tools/perf/
H A Ddesign.txt25 pid_t pid, int cpu, int group_fd,
240 The 'pid' parameter to the sys_perf_event_open() system call allows the
243 pid == 0: if the pid parameter is zero, the counter is attached to the
246 pid > 0: the counter is attached to a specific task (if the current task
249 pid < 0: all tasks are counted (per cpu counters)
256 (Note: the combination of 'pid == -1' and 'cpu == -1' is not valid.)
258 A 'pid > 0' and 'cpu == -1' counter is a per task counter that counts
263 A 'pid == -1' and 'cpu == x' counter is a per CPU counter that counts
359 * u32 pid, tid;
373 * u32 pid, tid;
[all …]
/openbmc/linux/tools/testing/selftests/bpf/map_tests/
H A Dtask_storage_map.c113 skel->bss->pid = getpid(); in test_task_storage_map_stress_lookup()
119 skel->bss->pid = 0; in test_task_storage_map_stress_lookup()
/openbmc/linux/include/net/
H A Daf_unix.h33 struct pid *pid; /* Skb credentials */ member

1...<<31323334353637383940>>...88