Searched refs:tgid (Results 1 – 9 of 9) sorted by relevance
/kernel/ |
D | taskstats.c | 195 static int fill_stats_for_tgid(pid_t tgid, struct taskstats *stats) in fill_stats_for_tgid() argument 208 first = find_task_by_vpid(tgid); in fill_stats_for_tgid() 516 u32 tgid; in cmd_attr_tgid() local 526 tgid = nla_get_u32(info->attrs[TASKSTATS_CMD_ATTR_TGID]); in cmd_attr_tgid() 527 stats = mk_reply(rep_skb, TASKSTATS_TYPE_TGID, tgid); in cmd_attr_tgid() 531 rc = fill_stats_for_tgid(tgid, stats); in cmd_attr_tgid()
|
D | signal.c | 3762 do_send_specific(pid_t tgid, pid_t pid, int sig, struct kernel_siginfo *info) in do_send_specific() argument 3769 if (p && (tgid <= 0 || task_tgid_vnr(p) == tgid)) { in do_send_specific() 3791 static int do_tkill(pid_t tgid, pid_t pid, int sig) in do_tkill() argument 3802 return do_send_specific(tgid, pid, sig, &info); in do_tkill() 3815 SYSCALL_DEFINE3(tgkill, pid_t, tgid, pid_t, pid, int, sig) in SYSCALL_DEFINE3() argument 3818 if (pid <= 0 || tgid <= 0) in SYSCALL_DEFINE3() 3821 return do_tkill(tgid, pid, sig); in SYSCALL_DEFINE3() 3883 static int do_rt_tgsigqueueinfo(pid_t tgid, pid_t pid, int sig, kernel_siginfo_t *info) in do_rt_tgsigqueueinfo() argument 3886 if (pid <= 0 || tgid <= 0) in do_rt_tgsigqueueinfo() 3896 return do_send_specific(tgid, pid, sig, info); in do_rt_tgsigqueueinfo() [all …]
|
D | fork.c | 2125 p->tgid = current->tgid; in copy_process() 2128 p->tgid = p->pid; in copy_process()
|
/kernel/trace/ |
D | trace_output.c | 579 unsigned int tgid = trace_find_tgid(entry->pid); in trace_print_context() local 581 if (!tgid) in trace_print_context() 584 trace_seq_printf(s, "(%7d) ", tgid); in trace_print_context() 1103 task = find_task_by_vpid(field->tgid); in trace_user_stack_print()
|
D | trace_entries.h | 196 __field( unsigned int, tgid )
|
D | trace.c | 2295 *ptr = tsk->tgid; in trace_save_tgid() 3024 entry->tgid = current->tgid; in ftrace_trace_userstack() 3666 bool tgid = flags & TRACE_ITER_RECORD_TGID; in print_func_help_header() local 3670 …seq_printf(m, "# TASK-PID %s CPU# TIMESTAMP FUNCTION\n", tgid ? " TGID " : "… in print_func_help_header() 3671 …seq_printf(m, "# | | %s | | |\n", tgid ? " | " : "… in print_func_help_header() 3677 bool tgid = flags & TRACE_ITER_RECORD_TGID; in print_func_help_header_irq() local 3679 int prec = tgid ? 12 : 2; in print_func_help_header_irq() 5155 int tgid = *entry; in saved_tgids_show() local 5157 if (tgid == 0) in saved_tgids_show() 5160 seq_printf(m, "%d %d\n", pid, tgid); in saved_tgids_show()
|
D | trace_events.c | 436 bool cmd = false, tgid = false; in __ftrace_event_enable_disable() local 449 tgid = true; in __ftrace_event_enable_disable() 458 if (tgid) in __ftrace_event_enable_disable()
|
/kernel/bpf/ |
D | helpers.c | 174 return (u64) task->tgid << 32 | task->pid; in BPF_CALL_0()
|
/kernel/events/ |
D | uprobes.c | 1884 current->pid, current->tgid); in prepare_uretprobe()
|