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.h12
1 files changed, 12 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..5692cf257
--- /dev/null
+++ b/tools/bpf/bpftool/skeleton/pid_iter.h
@@ -0,0 +1,12 @@
+/* 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;
+ char comm[16];
+};
+
+#endif