Skip to content
This repository has been archived by the owner on Jul 11, 2023. It is now read-only.

Fix to keep supporting struct request of the newer kernel #282

Merged
merged 1 commit into from
Feb 13, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions examples/example-probes/include/bindings.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
#include <linux/math64.h>
#include <linux/blk_types.h>
#include <linux/blkdev.h>
#include <linux/blk-mq.h>
#include <linux/time64.h>

#endif
2 changes: 1 addition & 1 deletion redbpf-tools/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ repository = "https://github.com/foniod/redbpf"
publish = false

[build-dependencies]
cargo-bpf = { path = "../cargo-bpf", default-features = false, features = ["build"] }
cargo-bpf = { path = "../cargo-bpf", default-features = false, features = ["build", "llvm-sys"] }

[dependencies]
probes = { path = "./probes" }
Expand Down
1 change: 1 addition & 0 deletions redbpf-tools/probes/include/bindings.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,5 @@
#define asm_inline asm
#endif
#include <linux/blkdev.h>
#include <linux/blk-mq.h>
#endif