87e5676648 
								
									
								
							
								 
							
						 
						
							
							
								
								ebpf: Add rust-analyzer settings for coc.nvim  
							
							... 
							
							
							
							Mirrors the settings for vscode introduced in e81a33e 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								bf54208f6a 
								
							
								 
							
						 
						
							
							
								
								README: fix run command  
							
							
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								ffa931552e 
								
							
								 
							
						 
						
							
							
								
								ebpf: use core::hint::unreachable_unchecked()  
							
							... 
							
							
							
							unreachable!() can panic when debug assertions is on, and we don't want
that inside a panic handler 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								c07fea5fbf 
								
							
								 
							
						 
						
							
							
								
								ebpf: Add rust toolchain override  
							
							... 
							
							
							
							Signed-off-by: Dave Tucker <dave@dtucker.co.uk> 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								e81a33efcb 
								
							
								 
							
						 
						
							
							
								
								ebpf: Add rust-analyzer settings for vscode  
							
							... 
							
							
							
							Signed-off-by: Dave Tucker <dave@dtucker.co.uk> 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								3158b7a337 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'gen-bump'  
							
							
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								ddbe4013bf 
								
							
								 
							
						 
						
							
							
								
								Fix attach placeholder for kprobes  
							
							
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								7baf4f5688 
								
							
								 
							
						 
						
							
							
								
								Sleep while waiting for SIGINT  
							
							
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								1378d64d4f 
								
							
								 
							
						 
						
							
							
								
								bump cargo-generate minimum version  
							
							... 
							
							
							
							Signed-off-by: Dave Tucker <dave@dtucker.co.uk> 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								78aad8a58d 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #9  from dmitris/patch-2  
							
							... 
							
							
							
							CI: fix cargo install command for cargo-generate 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								2dfbeb8371 
								
									
								
							
								 
							
						 
						
							
							
								
								CI: fix cargo install command for cargo-generate  
							
							
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								6d30972fdb 
								
							
								 
							
						 
						
							
							
								
								ebpf: set debug = 1 to avoid a potential segfault in LLVM  
							
							
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								dcf738cd46 
								
							
								 
							
						 
						
							
							
								
								Switch git urls to aya-rs  
							
							
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								566934ccb6 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #3  from aya-rs/skel  
							
							... 
							
							
							
							Use cargo-generate conditionals to provide skeletons for all supported program types 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								60badbcc73 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #4  from alessandrod/cargo-toml-target  
							
							... 
							
							
							
							ebpf: set target and enable -Z build-std in .cargo/config.toml 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								8f4e73682e 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #5  from alessandrod/debug-opt-level  
							
							... 
							
							
							
							ebpf: set opt-level = 2 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								81a98fe13a 
								
							
								 
							
						 
						
							
							
								
								ebpf: set opt-level = 2  
							
							... 
							
							
							
							Pretty much all non trivial programs need at least opt-level=2 to
compile and link successfully 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								a9a659716b 
								
							
								 
							
						 
						
							
							
								
								ebpf: set target and enable -Z build-std in .cargo/config.toml  
							
							... 
							
							
							
							This makes it possible to build with:
    cd {{project-name}}-ebpf && cargo +nightly build 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								d98d90be7a 
								
							
								 
							
						 
						
							
							
								
								Generate Skeleton Programs for all program types  
							
							... 
							
							
							
							User may specify a program_type by prompt or CLI flag.
We then generate skeleton code to the ebpf program for a noop program of
that type.
Requires cargo-generate@main
Signed-off-by: Dave Tucker <dave@dtucker.co.uk> 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								250c9ff653 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #2  from vadorovsky/readme-fix-arg  
							
							... 
							
							
							
							readme: Fix the cargo run --bin flag 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								f3a8f5d003 
								
							
								 
							
						 
						
							
							
								
								readme: Fix the cargo run --bin flag  
							
							... 
							
							
							
							The flag for `cargo run` is `--bin`, not `-bin`.
Signed-off-by: Michal Rostecki <mrostecki@opensuse.org> 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								273123abb7 
								
							
								 
							
						 
						
							
							
								
								aya isn't optional for the main program  
							
							... 
							
							
							
							Signed-off-by: Dave Tucker <dave@dtucker.co.uk> 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								5d018fd6ba 
								
							
								 
							
						 
						
							
							
								
								Add xtask for building ebpf programs  
							
							... 
							
							
							
							Signed-off-by: Dave Tucker <dave@dtucker.co.uk> 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								9e1c761d8d 
								
							
								 
							
						 
						
							
							
								
								Initial Commit  
							
							... 
							
							
							
							Signed-off-by: Dave Tucker <dave@dtucker.co.uk> 
							
						 
						
							4 years ago