cda9ab4f66 
								
							
								 
							
						 
						
							
							
								
								upgrade from structopt to clap 3  
							
							
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								de4e97aa51 
								
									
								
							
								 
							
						 
						
							
							
								
								Revert "docs: Merge search indexes"  
							
							
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								a00d16dc0e 
								
							
								 
							
						 
						
							
							
								
								docs: Merge search indexes  
							
							... 
							
							
							
							Signed-off-by: Dave Tucker <dave@dtucker.co.uk> 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								777e6a2a5d 
								
							
								 
							
						 
						
							
							
								
								xtask/codegen: generate bindings for BPF_RINGBUF types  
							
							
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								9a33b6b654 
								
							
								 
							
						 
						
							
							
								
								aya-gen: Remove getters  
							
							... 
							
							
							
							Signed-off-by: Dave Tucker <dave@dtucker.co.uk> 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								d35680f30c 
								
							
								 
							
						 
						
							
							
								
								Add riscv64 architecture support to xtask/codegen  
							
							
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								ba312c48d5 
								
							
								 
							
						 
						
							
							
								
								xtask: Add all crates to sidebar  
							
							... 
							
							
							
							Signed-off-by: Dave Tucker <dave@dtucker.co.uk> 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								42baf1c074 
								
							
								 
							
						 
						
							
							
								
								Remove bpf_adj_room_mode  
							
							
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								200d42e414 
								
							
								 
							
						 
						
							
							
								
								xtask: Add `bpf_.*` instead of `bpf_map_.*` to allowed type  
							
							... 
							
							
							
							This patch replaces `bpf_map_.*` with `bpf_.*`.
Currently some types that are not used in helper functions are not generated for bindings - e.g. `bpf_sk_lookup`, `bpf_sockopt` and etc.
This patch replaces `bpf_map_.*` with `bpf_.*`.
Note, this PR does not include bindings files as it would be better to be created by auto script.
The missing bindings can be created by `cargo xtask codegen --libbpf-dir /<PATH_TO>/libbp`. 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								8205bee930 
								
							
								 
							
						 
						
							
							
								
								xtask: Add docs build  
							
							... 
							
							
							
							Signed-off-by: Dave Tucker <dave@dtucker.co.uk> 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								19af687480 
								
							
								 
							
						 
						
							
							
								
								codegen: add btf_decl_tag  
							
							... 
							
							
							
							This is required to add support for BTF_KIND_DECL_TAG
Signed-off-by: Dave Tucker <dave@dtucker.co.uk> 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								0beb0c501f 
								
							
								 
							
						 
						
							
							
								
								Add bpf_lpm_trie_key to aya codegen to generate bindings  
							
							
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								f8021c33fc 
								
							
								 
							
						 
						
							
							
								
								codegen: Add bindings for BPF_F flags  
							
							... 
							
							
							
							Signed-off-by: Dave Tucker <dave@dtucker.co.uk> 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								23d1920854 
								
							
								 
							
						 
						
							
							
								
								codegen: add bindings for btf structs  
							
							... 
							
							
							
							This adds `bpf_btf_info` which can be used to get BPF information via a
syscall. It also adds `btf_line_info` and `btf_func_info` which are
required to parse the line and func info sections of BTF
Signed-off-by: Dave Tucker <dave@dtucker.co.uk> 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								d341b58293 
								
							
								 
							
						 
						
							
							
								
								xtask: codegen: generate bindings for user_pt_regs  
							
							... 
							
							
							
							user_pt_regs is used in aarch64 instead of pt_regs 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								eb654d1e3e 
								
							
								 
							
						 
						
							
							
								
								xtask: codegen: fix bindings for archs other than x86  
							
							
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								75acbe1455 
								
							
								 
							
						 
						
							
							
								
								xtask: fix clippy warning  
							
							
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								03e9935358 
								
							
								 
							
						 
						
							
							
								
								Bump libbpf to 92c1e61a605410b16d6330fdd4a7a4e03add86d4  
							
							... 
							
							
							
							Signed-off-by: Dave Tucker <dave@dtucker.co.uk> 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								7af1cf136c 
								
							
								 
							
						 
						
							
							
								
								aya: generate bindings for more perf types  
							
							
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								4fcb1d75b9 
								
							
								 
							
						 
						
							
							
								
								aya-gen: bump bindgen to 0.59  
							
							
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								ca14306860 
								
							
								 
							
						 
						
							
							
								
								aya-gen: use aya_bpf::cty instead of aya_bpf_cty  
							
							... 
							
							
							
							This avoids having to add an explicit extra dep on aya-bpf-cty in ebpf
programs 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								2d16843d5d 
								
							
								 
							
						 
						
							
							
								
								xtask: clippy warnings  
							
							
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								8311abfdcb 
								
									
								
							
								 
							
						 
						
							
							
								
								added support for armv7-unknown-linux-gnueabi and armv7-unknown-linux-gnueabihf  
							
							... 
							
							
							
							* new: added support for armv7-unknown-linux-gnueabi (closes alessandrod/aya/issues/22)
* fix: replaced custom type defintions with proper libc types
* fix: fixed pointless parameter binding
* new: added linker for armv7-unknown-linux-gnueabihf to cargo config 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								35e9b4e639 
								
							
								 
							
						 
						
							
							
								
								bpf: don't generate bpf_map_def and fix aya_bpf::bindings overrides  
							
							
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								a847d6d53b 
								
							
								 
							
						 
						
							
							
								
								xtask: aya-bpf-bindings: add bpf_adj_room_mode  
							
							
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								8cd669ca9a 
								
							
								 
							
						 
						
							
							
								
								xtask: fix include paths for kernel headers bundled with libbpf  
							
							
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								6974d349e8 
								
									
								
							
								 
							
						 
						
							
							
								
								programs: add support for attaching and detaching TC programs  
							
							... 
							
							
							
							This change adds support for attaching TC programs directly from aya, without
having to use iproute2/tc. 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								157c0e2831 
								
							
								 
							
						 
						
							
							
								
								bpf: generate bindings for SOL_SOCKET and SO_* socket options  
							
							... 
							
							
							
							This is needed for bpf_getsockopt() and bpf_setsockopt() 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								5effc972ac 
								
							
								 
							
						 
						
							
							
								
								aya: add support for BPF_PROG_TYPE_SCHED_CLS programs  
							
							
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								c44393d59b 
								
							
								 
							
						 
						
							
							
								
								xtask: codegen: use uapi kernel headers from libbpf  
							
							... 
							
							
							
							libbpf periodically syncs uapi headers from the kernel. Use those to
generate bindings so that we don't have to rely on distro packages
when we cut releases. 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								dda8534d9d 
								
							
								 
							
						 
						
							
							
								
								xtask: aya-bpf-bindings: generate bindings for xdp_action  
							
							
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								696ca1ffa8 
								
							
								 
							
						 
						
							
							
								
								aya-bpf-bindings: generate bindings for pt_regs and sk_action  
							
							
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								d9634ae945 
								
							
								 
							
						 
						
							
							
								
								aya: add maps::StackTraceMap  
							
							... 
							
							
							
							Map type for BPF_MAP_TYPE_STACK_TRACE. 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								f9554d6db5 
								
							
								 
							
						 
						
							
							
								
								aya: fix bindings for PERF_EVENT_IOC_{ENABLE|DISABLE|SET_BPF}  
							
							
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								92b4ed2664 
								
							
								 
							
						 
						
							
							
								
								aya: add support for function calls  
							
							
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								29f2d9b2d9 
								
							
								 
							
						 
						
							
							
								
								aya: switch to rustified enums  
							
							
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								bdca32cebf 
								
							
								 
							
						 
						
							
							
								
								aya-bpf-bindings: fix anonymous enums  
							
							
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								f0444233b3 
								
							
								 
							
						 
						
							
							
								
								xtask: rework command line  
							
							... 
							
							
							
							xtask codegen --libbpf-dir <libbpf-dir> [SUBCOMMAND]
If SUBCOMMAND (eg aya or aya-bpf-bindings) is not given, codegen
everything. 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								9d112c35c7 
								
							
								 
							
						 
						
							
							
								
								xtask: aya-bpf-bindings: generate bindings for aarch64  
							
							
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								fb0c8f0bc9 
								
							
								 
							
						 
						
							
							
								
								xtask: add code generator for aya  
							
							
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								d9c3489165 
								
							
								 
							
						 
						
							
							
								
								aya-gen: rename probe_read_getter to read_getter  
							
							... 
							
							
							
							The same code can be used to wrap with preserve_access_index() 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								9cd04a79e7 
								
							
								 
							
						 
						
							
							
								
								xtask: use more aya-gen  
							
							
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								16975e87d8 
								
							
								 
							
						 
						
							
							
								
								xtask: rework code generator for bpf helpers  
							
							
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								7ae3ddf2fa 
								
							
								 
							
						 
						
							
							
								
								xtask: use aya-gen to generate the getters  
							
							
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								7815711196 
								
							
								 
							
						 
						
							
							
								
								bpf: add aya-bpf-bindings  
							
							... 
							
							
							
							Move the generated bindings to aya-bpf-bindings. 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								b5cb1f479f 
								
							
								 
							
						 
						
							
							
								
								xask: add bindings::write  
							
							
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								ee205627b7 
								
							
								 
							
						 
						
							
							
								
								xtask: rename bindgen module to bindings  
							
							
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								1bb3846071 
								
							
								 
							
						 
						
							
							
								
								xtask: fix getters source order  
							
							... 
							
							
							
							Generate getters in the same order as the fields they access. Avoids git
noise and makes for better docs. 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								25170a539b 
								
							
								 
							
						 
						
							
							
								
								xtask: start moving bindgen to its own module  
							
							
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								dc15c978f5 
								
							
								 
							
						 
						
							
							
								
								aya-bpf: generate bpf_probe_read getters for kernel types  
							
							
							
						 
						
							5 years ago