summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDennis Kobert <dennis@kobert.dev>2024-12-10 14:37:49 +0100
committerDennis Kobert <dennis@kobert.dev>2024-12-10 14:37:49 +0100
commit73d03060c3a69de17913aa457b5270d5060247ab (patch)
tree9d8cdbce1bed0310a78b98ef3143dcee5ae339b4
parent7cb1b466315004af98f6ba6c2546bb713ca3c237 (diff)
Add per event header to bindingsperf-mon
-rw-r--r--rust/bindings/bindings_helper.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/rust/bindings/bindings_helper.h b/rust/bindings/bindings_helper.h
index 5c4dfe22f41a..5d0099566ef8 100644
--- a/rust/bindings/bindings_helper.h
+++ b/rust/bindings/bindings_helper.h
@@ -31,6 +31,7 @@
#include <linux/wait.h>
#include <linux/workqueue.h>
#include <trace/events/rust_sample.h>
+#include <linux/perf_event.h>
/* `bindgen` gets confused at certain things. */
const size_t RUST_CONST_HELPER_ARCH_SLAB_MINALIGN = ARCH_SLAB_MINALIGN;