Commit 849f83d2 authored by Brenden Blanco's avatar Brenden Blanco

Merge pull request #368 from iovisor/runqlat-fix

Fix for improper includes in runqlat.py
parents 21878139 11a21c86
......@@ -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