summaryrefslogtreecommitdiff
path: root/tools/perf/util/bpf_skel/vmlinux/vmlinux.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/util/bpf_skel/vmlinux/vmlinux.h')
-rw-r--r--tools/perf/util/bpf_skel/vmlinux/vmlinux.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/tools/perf/util/bpf_skel/vmlinux/vmlinux.h b/tools/perf/util/bpf_skel/vmlinux/vmlinux.h
index ab84a6e1da5e..e9028235d771 100644
--- a/tools/perf/util/bpf_skel/vmlinux/vmlinux.h
+++ b/tools/perf/util/bpf_skel/vmlinux/vmlinux.h
@@ -20,6 +20,13 @@ typedef __s64 s64;
typedef int pid_t;
+typedef __s64 time64_t;
+
+struct timespec64 {
+ time64_t tv_sec;
+ long int tv_nsec;
+};
+
enum cgroup_subsys_id {
perf_event_cgrp_id = 8,
};