Home
last modified time | relevance | path

Searched refs:tgid (Results 1 – 9 of 9) sorted by relevance

/kernel/
Dtaskstats.c195 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()
Dsignal.c3762 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 …]
Dfork.c2125 p->tgid = current->tgid; in copy_process()
2128 p->tgid = p->pid; in copy_process()
/kernel/trace/
Dtrace_output.c579 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()
Dtrace_entries.h196 __field( unsigned int, tgid )
Dtrace.c2295 *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()
Dtrace_events.c436 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/
Dhelpers.c174 return (u64) task->tgid << 32 | task->pid; in BPF_CALL_0()
/kernel/events/
Duprobes.c1884 current->pid, current->tgid); in prepare_uretprobe()