Home
last modified time | relevance | path

Searched refs:rq (Results 1 – 2 of 2) sorted by relevance

/developtools/profiler/hiebpf/src/
Dhiebpf.bpf.c717 int handle_blk_issue(struct request *rq) in handle_blk_issue() argument
719 if (rq == NULL) { in handle_blk_issue()
723 const u64 start_event_map_key = (const u64)rq; in handle_blk_issue()
728 bio_se->type = get_biotrace_event_type_by_flags(BPF_CORE_READ(rq, cmd_flags)); in handle_blk_issue()
733 emit_strtrace_event(bio_se->stime, bio_se->type, BPF_CORE_READ(rq, bio), BIOTRACE); in handle_blk_issue()
738 bio_se->size = BPF_CORE_READ(rq, bio, bi_iter.bi_size); in handle_blk_issue()
757 int BPF_PROG(blk_update_request, struct request *rq) in BPF_PROG() argument
770 const u64 start_event_map_key = (const u64)rq; in BPF_PROG()
784 cmplt_event->prio = BPF_CORE_READ(rq, bio, bi_ioprio); in BPF_PROG()
785 cmplt_event->blkcnt = BPF_CORE_READ(rq, bio, bi_iter.bi_sector); in BPF_PROG()
/developtools/profiler/hiebpf/include/
Dvmlinux.h2363 struct rq;
2369 void (*enqueue_task)(struct rq *, struct task_struct *, int);
2370 void (*dequeue_task)(struct rq *, struct task_struct *, int);
2371 void (*yield_task)(struct rq *);
2372 bool (*yield_to_task)(struct rq *, struct task_struct *);
2373 void (*check_preempt_curr)(struct rq *, struct task_struct *, int);
2374 struct task_struct * (*pick_next_task)(struct rq *);
2375 void (*put_prev_task)(struct rq *, struct task_struct *);
2376 void (*set_next_task)(struct rq *, struct task_struct *, bool);
2377 int (*balance)(struct rq *, struct task_struct *, struct rq_flags *);
[all …]