Commit 2ec48d92 authored by Brendan Gregg's avatar Brendan Gregg

Merge branch 'master' into master

parents d18657ec 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