Home
last modified time | relevance | path

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

1234567

/OK3568_Linux_fs/kernel/drivers/gpu/arm/midgard/
H A Dmali_timeline.h32 int tgid,
37 tgid,
43 __field(int, tgid)
50 __entry->tgid = tgid;
57 __entry->tgid,
67 int tgid,
73 tgid,
80 __field(int, tgid)
88 __entry->tgid = tgid;
95 __entry->tgid,
[all …]
H A Dmali_linux_trace.h34 TP_PROTO(unsigned int event_id, unsigned int tgid, unsigned int pid,
36 TP_ARGS(event_id, tgid, pid, job_id),
39 __field(unsigned int, tgid)
45 __entry->tgid = tgid;
50 __entry->event_id, __entry->tgid, __entry->pid, __entry->job_id)
H A Dmali_kbase_tlstream.h109 void __kbase_tlstream_tl_summary_new_ctx(void *context, u32 nr, u32 tgid);
115 void __kbase_tlstream_tl_new_ctx(void *context, u32 nr, u32 tgid);
194 #define KBASE_TLSTREAM_TL_SUMMARY_NEW_CTX(context, nr, tgid) \ argument
195 __TRACE_IF_ENABLED(tl_summary_new_ctx, context, nr, tgid)
271 #define KBASE_TLSTREAM_TL_NEW_CTX(context, nr, tgid) \ argument
272 __TRACE_IF_ENABLED(tl_new_ctx, context, nr, tgid)
/OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/progs/
H A Dtest_core_reloc_kernel.c28 int tgid; member
42 int pid, tgid; in test_core_kernel() local
48 CORE_READ(&tgid, &task->tgid)) in test_core_kernel()
52 out->valid[0] = (((uint64_t)pid << 32) | tgid) == pid_tgid; in test_core_kernel()
56 tgid) == real_tgid; in test_core_kernel()
59 tgid) == real_tgid; in test_core_kernel()
62 tgid) == real_tgid; in test_core_kernel()
65 tgid) == real_tgid; in test_core_kernel()
69 tgid) == real_tgid; in test_core_kernel()
73 tgid) == real_tgid; in test_core_kernel()
[all …]
H A Dbpf_iter_test_kern3.c13 int tgid; in dump_task() local
15 tgid = task->tgid; in dump_task()
16 bpf_seq_write(seq, &tgid, sizeof(tgid)); in dump_task()
H A Dbpf_iter_task_file.c10 int tgid = 0; variable
28 if (tgid == task->tgid && task->tgid != task->pid) in dump_task_file()
31 BPF_SEQ_PRINTF(seq, "%8d %8d %8d %lx\n", task->tgid, task->pid, fd, in dump_task_file()
H A Dtest_core_retro.c8 int tgid; member
29 int tgid = BPF_CORE_READ(task, tgid); in handle_sys_enter() local
38 bpf_map_update_elem(&results, &zero, &tgid, 0); in handle_sys_enter()
/OK3568_Linux_fs/kernel/kernel/bpf/preload/
H A Dbpf_preload_kern.c54 struct pid *tgid; in finish() local
64 tgid = umd_ops.info.tgid; in finish()
65 if (tgid) { in finish()
66 wait_event(tgid->wait_pidfd, thread_group_exited(tgid)); in finish()
86 struct pid *tgid; in fini_umd() local
91 tgid = umd_ops.info.tgid; in fini_umd()
92 if (tgid) { in fini_umd()
93 kill_pid(tgid, SIGKILL, 1); in fini_umd()
95 wait_event(tgid->wait_pidfd, thread_group_exited(tgid)); in fini_umd()
/OK3568_Linux_fs/kernel/drivers/gpu/arm/bifrost/context/
H A Dmali_kbase_context.c50 static struct kbase_process *find_process_node(struct rb_node *node, pid_t tgid) in find_process_node() argument
58 if (prcs_node->tgid == tgid) { in find_process_node()
63 if (tgid < prcs_node->tgid) in find_process_node()
88 const pid_t tgid = kctx->tgid; in kbase_insert_kctx_to_process() local
93 kprcs = find_process_node(prcs_root->rb_node, tgid); in kbase_insert_kctx_to_process()
104 kprcs->tgid = tgid; in kbase_insert_kctx_to_process()
115 if (tgid < prcs_node->tgid) in kbase_insert_kctx_to_process()
142 kctx->tgid = task_tgid_vnr(current); in kbase_context_common_init()
150 pid_struct = find_get_pid(kctx->tgid); in kbase_context_common_init()
/OK3568_Linux_fs/kernel/net/bpfilter/
H A Dbpfilter_kern.c19 struct pid *tgid = info->tgid; in shutdown_umh() local
21 if (tgid) { in shutdown_umh()
22 kill_pid(tgid, SIGKILL, 1); in shutdown_umh()
23 wait_event(tgid->wait_pidfd, thread_group_exited(tgid)); in shutdown_umh()
40 if (!bpfilter_ops.info.tgid) in bpfilter_send_req()
89 pr_info("Loaded bpfilter_umh pid %d\n", pid_nr(bpfilter_ops.info.tgid)); in start_umh()
/OK3568_Linux_fs/kernel/arch/powerpc/kvm/
H A Dtrace_hv.h395 __field(pid_t, tgid)
402 __entry->tgid = current->tgid;
407 __entry->runner_vcpu, __entry->n_runnable, __entry->tgid)
419 __field(pid_t, tgid)
426 __entry->tgid = current->tgid;
431 __entry->runner_vcpu, __entry->n_runnable, __entry->tgid)
442 __field(pid_t, tgid)
448 __entry->tgid = current->tgid;
453 __entry->ns, __entry->tgid)
463 __field(pid_t, tgid)
[all …]
/OK3568_Linux_fs/kernel/net/ipv4/bpfilter/
H A Dsockopt.c19 put_pid(info->tgid); in bpfilter_umh_cleanup()
20 info->tgid = NULL; in bpfilter_umh_cleanup()
39 if (bpfilter_ops.info.tgid && in bpfilter_mbox_request()
40 thread_group_exited(bpfilter_ops.info.tgid)) in bpfilter_mbox_request()
43 if (!bpfilter_ops.info.tgid) { in bpfilter_mbox_request()
75 bpfilter_ops.info.tgid = NULL; in bpfilter_sockopt_init()
/OK3568_Linux_fs/kernel/Documentation/accounting/
H A Dtaskstats.rst22 "tgid", "process" and "thread group" are used interchangeably and refer to the
24 use of tgid, there is no special treatment for the task that is thread group
31 socket (NETLINK_GENERIC family) and sends commands specifying a pid or a tgid.
33 statistics for all tasks of the process (if tgid is specified).
43 an additional record containing the per-tgid stats is also sent to userspace.
49 send commands and process responses, listen for per-tid/tgid exit data,
63 per-tgid data. It is versioned and can be extended by each accounting subsystem
79 a pid/tgid consist of one attribute, of type TASKSTATS_CMD_ATTR_PID/TGID,
80 containing a u32 pid or tgid in the attribute payload. The pid/tgid denotes
97 a pid/tgid will be followed by some stats.
[all …]
/OK3568_Linux_fs/kernel/drivers/connector/
H A Dcn_proc.c87 ev->event_data.fork.parent_tgid = parent->tgid; in proc_fork_connector()
90 ev->event_data.fork.child_tgid = task->tgid; in proc_fork_connector()
114 ev->event_data.exec.process_tgid = task->tgid; in proc_exec_connector()
138 ev->event_data.id.process_tgid = task->tgid; in proc_id_connector()
176 ev->event_data.sid.process_tgid = task->tgid; in proc_sid_connector()
200 ev->event_data.ptrace.process_tgid = task->tgid; in proc_ptrace_connector()
203 ev->event_data.ptrace.tracer_tgid = current->tgid; in proc_ptrace_connector()
232 ev->event_data.comm.process_tgid = task->tgid; in proc_comm_connector()
258 ev->event_data.coredump.process_tgid = task->tgid; in proc_coredump_connector()
264 ev->event_data.coredump.parent_tgid = parent->tgid; in proc_coredump_connector()
[all …]
/OK3568_Linux_fs/kernel/tools/bpf/runqslower/
H A Drunqslower.bpf.c28 static int trace_enqueue(u32 tgid, u32 pid) in trace_enqueue() argument
46 return trace_enqueue(p->tgid, p->pid); in handle__sched_wakeup()
55 return trace_enqueue(p->tgid, p->pid); in handle__sched_wakeup_new()
73 trace_enqueue(prev->tgid, prev->pid); in handle__sched_switch()
/OK3568_Linux_fs/kernel/drivers/infiniband/core/
H A Dumem_odp.c138 umem_odp->tgid = get_task_pid(current->group_leader, PIDTYPE_PID); in ib_umem_odp_alloc_implicit()
141 put_pid(umem_odp->tgid); in ib_umem_odp_alloc_implicit()
196 odp_data->tgid = get_pid(root->tgid); in ib_umem_odp_alloc_child()
204 put_pid(odp_data->tgid); in ib_umem_odp_alloc_child()
253 umem_odp->tgid = get_task_pid(current->group_leader, PIDTYPE_PID); in ib_umem_odp_get()
260 put_pid(umem_odp->tgid); in ib_umem_odp_get()
283 put_pid(umem_odp->tgid); in ib_umem_odp_release()
378 owning_process = get_pid_task(umem_odp->tgid, PIDTYPE_PID); in ib_umem_odp_map_dma_and_lock()
/OK3568_Linux_fs/kernel/drivers/gpu/arm/bifrost/csf/
H A Dmali_kbase_debug_csf_fault.c79 kctx->tgid, kctx->id, error); in kbase_debug_csf_fault_notify()
91 kbdev->csf.dof.kctx_tgid = kctx ? kctx->tgid : 0; in kbase_debug_csf_fault_notify()
109 u32 tgid, ctx_id; in debug_csf_fault_read() local
137 tgid = kbdev->csf.dof.kctx_tgid; in debug_csf_fault_read()
140 BUILD_BUG_ON(sizeof(buf) < (sizeof(tgid) + sizeof(ctx_id) + sizeof(error_code))); in debug_csf_fault_read()
141 count = scnprintf(buf, sizeof(buf), "%u_%u_%u\n", tgid, ctx_id, error_code); in debug_csf_fault_read()
H A Dmali_kbase_csf_tiler_heap_reclaim.c75 "Reclaim_mgr_detach: ctx_%d_%d, est_pages=0%u, freed_pages=%u", kctx->tgid, in detach_ctx_from_heap_reclaim_mgr()
100 dev_dbg(kctx->kbdev->dev, "Reclaim_mgr_attach: ctx_%d_%d, est_count_pages=%u", kctx->tgid, in attach_ctx_to_heap_reclaim_mgr()
115 group->kctx->tgid, group->kctx->id, group->handle); in kbase_csf_tiler_heap_reclaim_sched_notify_grp_active()
156 group->kctx->tgid, group->kctx->id, group->handle); in kbase_csf_tiler_heap_reclaim_sched_notify_grp_evict()
164 group->kctx->tgid, group->kctx->id, group->handle); in kbase_csf_tiler_heap_reclaim_sched_notify_grp_evict()
183 group->kctx->tgid, group->kctx->id, group->handle); in kbase_csf_tiler_heap_reclaim_sched_notify_grp_suspend()
/OK3568_Linux_fs/kernel/tools/perf/util/
H A Dnamespaces.c109 nsi->tgid = (pid_t)strtol(strrchr(statln, '\t'), in nsinfo__init()
111 nsi->nstgid = nsi->tgid; in nsinfo__init()
140 nsi->tgid = pid; in nsinfo__new()
166 nnsi->tgid = nsi->tgid; in nsinfo__copy()
H A Dsynthetic-events.c73 pid_t *tgid, pid_t *ppid) in perf_event__get_comm_ids() argument
81 *tgid = -1; in perf_event__get_comm_ids()
124 *tgid = atoi(tgids); in perf_event__get_comm_ids()
141 pid_t *tgid, pid_t *ppid) in perf_event__prepare_comm() argument
152 tgid, ppid) != 0) { in perf_event__prepare_comm()
156 *tgid = machine->pid; in perf_event__prepare_comm()
159 if (*tgid < 0) in perf_event__prepare_comm()
162 event->comm.pid = *tgid; in perf_event__prepare_comm()
181 pid_t tgid, ppid; in perf_event__synthesize_comm() local
183 if (perf_event__prepare_comm(event, pid, machine, &tgid, &ppid) != 0) in perf_event__synthesize_comm()
[all …]
/OK3568_Linux_fs/kernel/fs/proc/
H A Dself.c16 pid_t tgid = task_tgid_nr_ns(current, ns); in proc_self_get_link() local
19 if (!tgid) in proc_self_get_link()
25 sprintf(name, "%u", tgid); in proc_self_get_link()
/OK3568_Linux_fs/kernel/kernel/
H A Dusermode_driver.c133 umd_info->tgid = get_pid(task_tgid(current)); in umd_setup()
154 put_pid(info->tgid); in umd_cleanup_helper()
155 info->tgid = NULL; in umd_cleanup_helper()
175 if (WARN_ON_ONCE(info->tgid)) in fork_usermode_driver()
/OK3568_Linux_fs/kernel/tools/testing/selftests/ptrace/
H A Dpeeksiginfo.c15 static int sys_rt_sigqueueinfo(pid_t tgid, int sig, siginfo_t *uinfo) in sys_rt_sigqueueinfo() argument
17 return syscall(SYS_rt_sigqueueinfo, tgid, sig, uinfo); in sys_rt_sigqueueinfo()
20 static int sys_rt_tgsigqueueinfo(pid_t tgid, pid_t tid, in sys_rt_tgsigqueueinfo() argument
23 return syscall(SYS_rt_tgsigqueueinfo, tgid, tid, sig, uinfo); in sys_rt_tgsigqueueinfo()
/OK3568_Linux_fs/kernel/fs/cifs/
H A Dsmb2file.c153 if (current->tgid != li->pid) in smb2_unlock_range()
182 current->tgid, num, buf); in smb2_unlock_range()
205 cfile->fid.volatile_fid, current->tgid, in smb2_unlock_range()
239 current->tgid, num, buf); in smb2_push_mand_fdlocks()
251 current->tgid, num, buf); in smb2_push_mand_fdlocks()
/OK3568_Linux_fs/buildroot/package/google-breakpad/
H A D0003-src-client-linux-handler-exception_handler.cc-rename.patch15 109 | static int tgkill(pid_t tgid, pid_t tid, int sig) {
43 -static int tgkill(pid_t tgid, pid_t tid, int sig) {
44 +static int BreakpadTgkill(pid_t tgid, pid_t tid, int sig) {
45 return syscall(__NR_tgkill, tgid, tid, sig);

1234567