Commit d1cc126c authored by Sasha Goldshtein's avatar Sasha Goldshtein

Merge remote-tracking branch 'origin/master' into alloc-hist

parents 2b19464e 849f83d2
......@@ -59,7 +59,7 @@ debug = 0
# define BPF program
bpf_text = """
#include <uapi/linux/ptrace.h>
#include "kernel/sched/sched.h"
#include <linux/sched.h>
typedef struct pid_key {
u64 pid; // work around
......@@ -68,6 +68,8 @@ typedef struct pid_key {
BPF_HASH(start, u32);
STORAGE
struct rq;
// record enqueue timestamp
int trace_enqueue(struct pt_regs *ctx, struct rq *rq, struct task_struct *p,
int flags)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment