summaryrefslogtreecommitdiffstats
path: root/tools/bpf/bpftool/skeleton/pid_iter.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/bpf/bpftool/skeleton/pid_iter.h')
-rw-r--r--tools/bpf/bpftool/skeleton/pid_iter.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/tools/bpf/bpftool/skeleton/pid_iter.h b/tools/bpf/bpftool/skeleton/pid_iter.h
new file mode 100644
index 000000000..bbb570d4c
--- /dev/null
+++ b/tools/bpf/bpftool/skeleton/pid_iter.h
@@ -0,0 +1,14 @@
+/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */
+/* Copyright (c) 2020 Facebook */
+#ifndef __PID_ITER_H
+#define __PID_ITER_H
+
+struct pid_iter_entry {
+ __u32 id;
+ int pid;
+ __u64 bpf_cookie;
+ bool has_bpf_cookie;
+ char comm[16];
+};
+
+#endif