Commit aa124dd1 authored by Sasha Goldshtein's avatar Sasha Goldshtein

db*: Use uapi/linux/ptrace.h instead of linux/ptrace.h

parent fd7a1d92
......@@ -54,7 +54,7 @@ if not args.pids or len(args.pids) == 0:
threshold_ns = args.threshold * 1000000
program = """
#include <linux/ptrace.h>
#include <uapi/linux/ptrace.h>
struct temp_t {
u64 timestamp;
......
......@@ -52,7 +52,7 @@ if not args.pids or len(args.pids) == 0:
"pidof postgres".split()).split())
program = """
#include <linux/ptrace.h>
#include <uapi/linux/ptrace.h>
BPF_HASH(temp, u64, u64);
BPF_HISTOGRAM(latency);
......
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