a3f699564c 
								
							
								 
							
						 
						
							
							
								
								change to 'rustup run nightly cargo'  
							
							... 
							
							
							
							On Windows, running the cargo command doesn't "see" the rust-toolchain.toml file despite `current_dir(dir)`.  Using `rustup run nightly cargo` does work. 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								4ce0e28314 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #82  from dmitris/nightly-text  
							
							... 
							
							
							
							sync rustup nightly install directions with Book 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								732b7ea930 
								
							
								 
							
						 
						
							
							
								
								sync run nightly install directions with Book  
							
							... 
							
							
							
							Signed-off-by: Dmitry Savintsev <dsavints@gmail.com> 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								b00519ff0d 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #81  from dmitris/deps-upd  
							
							... 
							
							
							
							upgrade deps: tokio and anyhow 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								715967772f 
								
							
								 
							
						 
						
							
							
								
								upgrade deps: tokio and anyhow  
							
							
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								6a605e08dd 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #80  from dmitris/toml-space  
							
							... 
							
							
							
							minor space fix for VSCode toml formatting 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								347d37c914 
								
							
								 
							
						 
						
							
							
								
								minor space fix for VSCode toml formatting  
							
							... 
							
							
							
							Signed-off-by: Dmitry Savintsev <dsavints@gmail.com> 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								16b8d42238 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #78  from vadorovsky/unpin-nightly  
							
							... 
							
							
							
							Unpin Rust nightly 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								11f406414e 
								
							
								 
							
						 
						
							
							
								
								Unpin Rust nightly  
							
							... 
							
							
							
							The issues with core::sync::atomic got fixed.
Signed-off-by: Michal Rostecki <vadorovsky@gmail.com> 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								80a7c5b53c 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #77  from dmitris/crossplat  
							
							... 
							
							
							
							Remove unix-specific executor in xtask 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								7008f570b0 
								
							
								 
							
						 
						
							
							
								
								fail with descriptive message  
							
							... 
							
							
							
							Co-authored-by: Michal Rostecki <vadorovsky@gmail.com> 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								255c59cf98 
								
							
								 
							
						 
						
							
							
								
								Remove unix-specific executor in xtask  
							
							... 
							
							
							
							Change unix-specific executor to generic one
to enable xtask working on Windows and eventually
be able to cross-compile on Windows.
Fixes  #76 .
Signed-off-by: Dmitry Savintsev <dsavints@gmail.com> 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								e03b1f6979 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #75  from dmitris/fix-uprobe  
							
							... 
							
							
							
							Fix uprobe programs and VSCode spacing 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								7016308147 
								
							
								 
							
						 
						
							
							
								
								fix uprobe programs  
							
							... 
							
							
							
							Signed-off-by: Dmitry Savintsev <dsavints@gmail.com> 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								8cd95c42ea 
								
							
								 
							
						 
						
							
							
								
								adjust spacing to avoid VSCode changes on save  
							
							... 
							
							
							
							Signed-off-by: Dmitry Savintsev <dsavints@gmail.com> 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								999d98cc3d 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #74  from dmitris/deps-update  
							
							... 
							
							
							
							update anyhow, clap, and tokio 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								c6c4082093 
								
							
								 
							
						 
						
							
							
								
								update anyhow, clap, and tokio  
							
							
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								fa404ffb26 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #68  from dmitris/fix-clippy  
							
							... 
							
							
							
							include and use clap only if needed 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								e7ccd1a71e 
								
							
								 
							
						 
						
							
							
								
								include and use clap only if needed  
							
							... 
							
							
							
							Signed-off-by: Dmitry Savintsev <dsavints@gmail.com> 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								224274f8a7 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #73  from lucab/ups/perf-event  
							
							... 
							
							
							
							cargo-generate: add perf_event 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								554702e63d 
								
									
								
							
								 
							
						 
						
							
							
								
								cargo-generate: add perf_event  
							
							... 
							
							
							
							This adds `perf_event` program type as a template entry.
The new entry comes with a skeleton example which register
scheduled events on each CPU at 1 HZ, triggered by the kernel
(based on clock ticks). The corresponding BPF logic logs each
event, and can identify kernel tasks from userland processes. 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								65091e30bc 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #71  from lucab/ups/fix-sorting  
							
							... 
							
							
							
							cargo-generate: sort program types 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								463013a11e 
								
							
								 
							
						 
						
							
							
								
								cargo-generate: sort program types  
							
							
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								7fe5a39b7c 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #72  from joshuataylor/feature/rust-toolchain-defaults  
							
							... 
							
							
							
							Add rust-src to -ebpf components 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								3fdfd8b200 
								
							
								 
							
						 
						
							
							
								
								rust-toolchain: Add a comment about rust-src  
							
							... 
							
							
							
							Signed-off-by: Michal Rostecki <vadorovsky@gmail.com> 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								35d480a341 
								
							
								 
							
						 
						
							
							
								
								Add rust-src to components  
							
							
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								ccdafe53e2 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #70  from arctic-alpaca/cargo_clean_env  
							
							... 
							
							
							
							Honor rust-toolchain.toml file in xtask, remove env vars with CARGO/RUST prefix 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								9e3027896e 
								
									
								
							
								 
							
						 
						
							
							
								
								CI: Pin nightly toolchain to 2023-01-10, install bpf-linker on stable  
							
							
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								5af9b38bd6 
								
									
								
							
								 
							
						 
						
							
							
								
								Pin nightly version in -ebpf  
							
							
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								5b3653c936 
								
									
								
							
								 
							
						 
						
							
							
								
								Only remove RUSTUP_TOOLCHAIN env var in xtask build-ebpf  
							
							
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								039c07f7a2 
								
									
								
							
								 
							
						 
						
							
							
								
								Honor rust-toolchain.toml file in xtask, remove cargo/rust env vars  
							
							... 
							
							
							
							Remove env vars related to rust and cargo before executing cargo. 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								2ba73f6f2f 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #67  from dmitris/fix-clippy  
							
							... 
							
							
							
							Fix clippy issues in the generated code. 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								806571f3d3 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #65  from vadorovsky/raw-tracepoint  
							
							... 
							
							
							
							Add raw_tracepoint program type 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								e86392d422 
								
							
								 
							
						 
						
							
							
								
								Fix clippy issues in the generated code.  
							
							... 
							
							
							
							Fix template so that the generated code would not have any
clippy issues (per `cargo +nightly clippy`).
Add template conditionals on the program_type to avoid
a warning about unused 'opt' variable.
Fixes  #66 . 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								70475f3b2a 
								
							
								 
							
						 
						
							
							
								
								Add raw_tracepoint program type  
							
							... 
							
							
							
							Signed-off-by: Michal Rostecki <vadorovsky@gmail.com> 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								3ac1aa63ce 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #64  from vadorovsky/update-deps  
							
							... 
							
							
							
							Update dependencies 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								76699e10b2 
								
							
								 
							
						 
						
							
							
								
								Update dependencies  
							
							... 
							
							
							
							Signed-off-by: Michal Rostecki <vadorovsky@gmail.com> 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								4720291f67 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #63  from vadorovsky/log_level  
							
							... 
							
							
							
							readme: Mention `RUST_LOG` env variable 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								cba4774787 
								
							
								 
							
						 
						
							
							
								
								readme: Mention `RUST_LOG` env variable  
							
							... 
							
							
							
							The default log level of env_logger is `error`. We are using `info!` in
the template, so let's suggest running the example with `RUST_LOG=info`.
Signed-off-by: Michal Rostecki <vadorovsky@gmail.com> 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								864e1995f7 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #61  from vadorovsky/aya-log-dont-unwrap  
							
							... 
							
							
							
							Don't fail on `BpfLogger::init()` error 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								ab442eb10f 
								
							
								 
							
						 
						
							
							
								
								Don't fail on `BpfLogger::init()` error  
							
							... 
							
							
							
							An error during `BpfLogger` initialization most likely means that
`ayalog-ebpf` is not used in the eBPF crate.
Signed-off-by: Michal Rostecki <vadorovsky@gmail.com> 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								df87136bdb 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #60  from vadorovsky/no-unsafe  
							
							... 
							
							
							
							ebpf: Stop using `unsafe` for the whole function 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								379b23b1b4 
								
							
								 
							
						 
						
							
							
								
								ebpf: Stop using `unsafe` for the whole function  
							
							... 
							
							
							
							Users should opt in into `unsafe` when performing particular unsafe
actions (accesing raw pointers, interacting with maps etc.), but
assuming that the whole eBPF program code is unsafe is quite an
exaggeration.
Signed-off-by: Michal Rostecki <vadorovsky@gmail.com> 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								ccb2ad0f81 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #59  from vadorovsky/static-mut  
							
							... 
							
							
							
							ebpf: Change `static mut` to `static` in map declaration 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								0c4b89b497 
								
							
								 
							
						 
						
							
							
								
								ebpf: Change `static mut` to `static` in map declaration  
							
							... 
							
							
							
							Maps are using UnsafeCell for interior mutability, therefore `static
mut` is not needed anymore.
Signed-off-by: Michal Rostecki <vadorovsky@gmail.com> 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								12c43b56bf 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #54  from vadorovsky/tc-context  
							
							... 
							
							
							
							classifier: Use the new `TcContext` struct 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								1ecc829b4f 
								
							
								 
							
						 
						
							
							
								
								classifier: Use the new `TcContext` struct  
							
							... 
							
							
							
							That new context type exposes `data` and `data_end` fields for direct
access to the packet payload.
Signed-off-by: Michal Rostecki <vadorovsky@gmail.com> 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								37410be032 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #55  from vadorovsky/monorepo  
							
							... 
							
							
							
							ebpf: Update git repository URL for aya-log 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								88243bad08 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #56  from vadorovsky/env_logger  
							
							... 
							
							
							
							Switch from simplelog to env_logger 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								3b831ffda3 
								
							
								 
							
						 
						
							
							
								
								Switch from simplelog to env_logger  
							
							... 
							
							
							
							Signed-off-by: Michal Rostecki <vadorovsky@gmail.com> 
							
						 
						
							3 years ago