Skip to content

Commit

Permalink
db*: Use uapi/linux/ptrace.h instead of linux/ptrace.h
Browse files Browse the repository at this point in the history
  • Loading branch information
goldshtn committed Apr 20, 2017
1 parent fd7a1d9 commit aa124dd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tools/dbslower.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
threshold_ns = args.threshold * 1000000

program = """
#include <linux/ptrace.h>
#include <uapi/linux/ptrace.h>
struct temp_t {
u64 timestamp;
Expand Down
2 changes: 1 addition & 1 deletion tools/dbstat.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
"pidof postgres".split()).split())

program = """
#include <linux/ptrace.h>
#include <uapi/linux/ptrace.h>
BPF_HASH(temp, u64, u64);
BPF_HISTOGRAM(latency);
Expand Down

0 comments on commit aa124dd

Please sign in to comment.