Home
last modified time | relevance | path

Searched refs:task_struct (Results 1 – 25 of 33) sorted by relevance

12

/external/bcc/libbpf-tools/
Drunqslower.bpf.c49 struct task_struct *p = (void *)ctx[0]; in handle__sched_wakeup()
58 struct task_struct *p = (void *)ctx[0]; in handle__sched_wakeup_new()
69 struct task_struct *prev = (struct task_struct *)ctx[1]; in handle__sched_switch()
70 struct task_struct *next = (struct task_struct *)ctx[2]; in handle__sched_switch()
Drunqlat.bpf.c52 static __always_inline unsigned int pid_namespace(struct task_struct *task) in pid_namespace()
71 int BPF_PROG(sched_wakeup, struct task_struct *p) in BPF_PROG()
77 int BPF_PROG(sched_wakeup_new, struct task_struct *p) in BPF_PROG()
83 int BPF_PROG(sched_swith, bool preempt, struct task_struct *prev, in BPF_PROG()
84 struct task_struct *next) in BPF_PROG()
Dcpudist.bpf.c40 static __always_inline void update_hist(struct task_struct *task, in update_hist()
81 int BPF_PROG(sched_switch, bool preempt, struct task_struct *prev, in BPF_PROG()
82 struct task_struct *next) in BPF_PROG()
Doffcputime.bpf.c45 static bool allow_record(struct task_struct *t) in allow_record()
61 int BPF_PROG(sched_switch, bool preempt, struct task_struct *prev, in BPF_PROG()
62 struct task_struct *next) in BPF_PROG()
Dexitsnoop.bpf.c25 struct task_struct *task; in sched_process_exit()
34 task = (struct task_struct *)bpf_get_current_task(); in sched_process_exit()
Dexecsnoop.bpf.c37 struct task_struct *task; in tracepoint__syscalls__sys_enter_execve()
58 task = (struct task_struct*)bpf_get_current_task(); in tracepoint__syscalls__sys_enter_execve()
Dmountsnoop.bpf.c62 struct task_struct *task; in probe_exit()
73 task = (struct task_struct *)bpf_get_current_task(); in probe_exit()
Dcore_fixes.bpf.h26 return ((struct task_struct *)task)->state; in get_task_state()
Drunqlen.bpf.c16 struct task_struct *task; in do_sample()
Dsyscount.bpf.c37 struct task_struct *current = (void *)bpf_get_current_task(); in save_proc_name()
/external/llvm/test/CodeGen/PowerPC/
Dpost-ra-ec.ll7 %struct.task_struct.4.16.124 = type { i8*, %struct.atomic_t.2.14.122, %struct.signal_struct.3.15.12…
15 …%call1.i = tail call %struct.task_struct.4.16.124* @get_pid_task(%struct.pid.5.17.125* undef, i32 …
24 …%counter.i.i = getelementptr inbounds %struct.task_struct.4.16.124, %struct.task_struct.4.16.124* …
34 %3 = bitcast %struct.task_struct.4.16.124* %call1.i to i8*
44 declare %struct.task_struct.4.16.124* @get_pid_task(%struct.pid.5.17.125*, i32 zeroext)
/external/linux-kselftest/tools/testing/selftests/bpf/progs/
Dtest_overhead.c26 struct task_struct;
28 struct task_struct *, tsk, const char *, buf, __u8, exec)
34 struct task_struct *, tsk, const char *, buf, __u8, exec)
Dtest_core_reloc_kernel.c24 struct task_struct { struct
28 struct task_struct *group_leader; argument
36 struct task_struct *task = (void *)bpf_get_current_task(); in test_core_kernel()
Dstrobemeta.h14 struct task_struct {}; struct
443 static __always_inline void *read_strobe_meta(struct task_struct *task, in read_strobe_meta()
499 struct task_struct *task; in on_event()
513 task = (struct task_struct *)bpf_get_current_task(); in on_event()
Dpyperf.h183 struct task_struct* task = (struct task_struct*)bpf_get_current_task(); in __on_event()
/external/libbpf/src/
Dbpf_helper_defs.h31 struct task_struct;
3311 static long (*bpf_get_task_stack)(struct task_struct *task, void *buf, __u32 size, __u64 flags) = (…
3691 static void *(*bpf_task_storage_get)(void *map, struct task_struct *task, void *value, __u64 flags)…
3703 static long (*bpf_task_storage_delete)(void *map, struct task_struct *task) = (void *) 157;
3715 static struct task_struct *(*bpf_get_current_task_btf)(void) = (void *) 158;
4054 static long (*bpf_task_pt_regs)(struct task_struct *task) = (void *) 175;
4145 static long (*bpf_find_vma)(struct task_struct *task, __u64 addr, void *callback_fn, void *callback…
4296 …py_from_user_task)(void *dst, __u32 size, const void *user_ptr, struct task_struct *tsk, __u64 fla…
/external/bcc/examples/tracing/
Dtask_switch.c10 int count_sched(struct pt_regs *ctx, struct task_struct *prev) { in count_sched()
/external/bpftool/src/skeleton/
Dpid_iter.bpf.c45 struct task_struct *task = ctx->task; in iter()
/external/bcc/libbpf-tools/powerpc/
Dvmlinux_510.h688 struct task_struct;
724 struct task_struct *__current;
1295 struct task_struct { struct
1307 struct task_struct *last_wakee; argument
1373 struct task_struct *real_parent; argument
1374 struct task_struct *parent; argument
1377 struct task_struct *group_leader; argument
1434 struct task_struct *pi_top_task; argument
1518 struct task_struct *oom_reaper_list; argument
1727 struct task_struct *owner;
[all …]
Dvmlinux.h688 struct task_struct;
724 struct task_struct *__current;
1295 struct task_struct { struct
1307 struct task_struct *last_wakee; argument
1373 struct task_struct *real_parent; argument
1374 struct task_struct *parent; argument
1377 struct task_struct *group_leader; argument
1434 struct task_struct *pi_top_task; argument
1518 struct task_struct *oom_reaper_list; argument
1727 struct task_struct *owner;
[all …]
/external/libbpf/.github/actions/build-selftests/
Dvmlinux.h1094 struct task_struct { struct
1105 struct task_struct *last_wakee; argument
1178 struct task_struct *real_parent; argument
1179 struct task_struct *parent; argument
1182 struct task_struct *group_leader; argument
1240 struct task_struct *pi_top_task; argument
1335 struct task_struct *oom_reaper_list; argument
2487 int (*cpu_up)(unsigned int, struct task_struct *);
2923 struct task_struct *owner;
3313 struct task_struct *owner;
[all …]
/external/bcc/tools/
Doomkill_example.txt28 you can edit it to include other task_struct details from the target PID at
/external/bcc/libbpf-tools/arm64/
Dvmlinux.h904 struct task_struct { struct
916 struct task_struct *last_wakee; argument
985 struct task_struct *real_parent; argument
986 struct task_struct *parent; argument
989 struct task_struct *group_leader; argument
1044 struct task_struct *pi_top_task; argument
1128 struct task_struct *oom_reaper_list; argument
1539 struct task_struct *target;
1669 struct task_struct *owner;
1763 struct task_struct *child_reaper;
[all …]
Dvmlinux_510.h904 struct task_struct { struct
916 struct task_struct *last_wakee; argument
985 struct task_struct *real_parent; argument
986 struct task_struct *parent; argument
989 struct task_struct *group_leader; argument
1044 struct task_struct *pi_top_task; argument
1128 struct task_struct *oom_reaper_list; argument
1539 struct task_struct *target;
1669 struct task_struct *owner;
1763 struct task_struct *child_reaper;
[all …]
/external/bcc/libbpf-tools/x86/
Dvmlinux.h878 struct task_struct { struct
890 struct task_struct *last_wakee; argument
937 struct task_struct *real_parent; argument
938 struct task_struct *parent; argument
941 struct task_struct *group_leader; argument
993 struct task_struct *pi_top_task; argument
1046 struct task_struct *oom_reaper_list; argument
3503 struct task_struct *task;
3614 int (*cpu_up)(unsigned int, struct task_struct *);
3818 struct task_struct *kswapd;
[all …]

12