a7f5b3775d 
								
							
								 
							
						 
						
							
							
								
								(cargo-release) version 0.10.4  
							
							
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								a10a7b3bf2 
								
							
								 
							
						 
						
							
							
								
								bump obj to 0.26  
							
							... 
							
							
							
							Signed-off-by: Dave Tucker <dave@dtucker.co.uk> 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								544efdd4d7 
								
							
								 
							
						 
						
							
							
								
								ci: Add action for xtask codegen  
							
							... 
							
							
							
							This commit adds a github action that will
- check out aya and libbpf
- run xtask codegen
- if there is a diff, open commit changes to the codegen branch
- if changes were comitted, open a pull-request
Signed-off-by: Dave Tucker <dave@dtucker.co.uk> 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								98361a4c93 
								
							
								 
							
						 
						
							
							
								
								aya: minor PerfEvent API tweaks  
							
							
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								7af1cf136c 
								
							
								 
							
						 
						
							
							
								
								aya: generate bindings for more perf types  
							
							
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								b0a05e759e 
								
							
								 
							
						 
						
							
							
								
								aya: run xtask codegen aya  
							
							
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								c39dff6025 
								
							
								 
							
						 
						
							
							
								
								Add support for PerfEvent programs.  
							
							
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								269be03a89 
								
							
								 
							
						 
						
							
							
								
								bpf: add PerCpuArray  
							
							
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								c56a6b16aa 
								
							
								 
							
						 
						
							
							
								
								aya: only consider Text symbols as relocatable functions  
							
							
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								d9fc0f484f 
								
							
								 
							
						 
						
							
							
								
								aya: fix bug with nested call relocations  
							
							... 
							
							
							
							Use the correct offset when looking up relocation entries while doing
nested call relocations. 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								e9bad0b61d 
								
							
								 
							
						 
						
							
							
								
								Make Clippy Happy  
							
							... 
							
							
							
							Signed-off-by: Dave Tucker <dave@dtucker.co.uk> 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								4fcb1d75b9 
								
							
								 
							
						 
						
							
							
								
								aya-gen: bump bindgen to 0.59  
							
							
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								9c27910f76 
								
							
								 
							
						 
						
							
							
								
								aya: update authors and repository link  
							
							
							
						 
						
							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  
				
					
						
							
							
								 
						
							
							
								d7ef47686b 
								
							
								 
							
						 
						
							
							
								
								bpf: update bindings against libbpf 8bdc267e7b853ca08ed762b21fecc0e019ddc332  
							
							
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								a678f3b38e 
								
							
								 
							
						 
						
							
							
								
								Add dependabot conf  
							
							
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								8acb92d61c 
								
							
								 
							
						 
						
							
							
								
								Remove docs. Update URLs to aya-rs  
							
							... 
							
							
							
							Signed-off-by: Dave Tucker <dave@dtucker.co.uk> 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								4e1ce2534c 
								
							
								 
							
						 
						
							
							
								
								obj/btf: Fix size of Unknown variant  
							
							... 
							
							
							
							The size of Unknown should be ty_size, otherwise when it is encountered,
we never advance the cursor and it creates an infinite loop.
Signed-off-by: Dave Tucker <dave@dtucker.co.uk> 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								569b8ca39e 
								
							
								 
							
						 
						
							
							
								
								obj/btf: Add some tests for reading btf data  
							
							... 
							
							
							
							Signed-off-by: Dave Tucker <dave@dtucker.co.uk> 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								753a683704 
								
							
								 
							
						 
						
							
							
								
								btf: Add bindings for BTF_KIND_FLOAT  
							
							... 
							
							
							
							Fixes : #34 
Signed-off-by: Dave Tucker <dave@dtucker.co.uk> 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								1153a51202 
								
									
								
							
								 
							
						 
						
							
							
								
								docs: Logging Packets ( #47 )  
							
							... 
							
							
							
							Signed-off-by: Dave Tucker <dave@dtucker.co.uk> 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								70dc862196 
								
									
								
							
								 
							
						 
						
							
							
								
								Fix rustup command in the docs. ( #48 )  
							
							... 
							
							
							
							rustup install nightly --component rust-src
gives:
```
error: Found argument '--component' which wasn't expected, or isn't valid in this context
USAGE:
    rustup install [FLAGS] [OPTIONS] <toolchain>...
For more information try --help
```
The correct command seems to be `rustup toolchain install nightly --component rust-src`. 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								b880ccd269 
								
									
								
							
								 
							
						 
						
							
							
								
								README: Add docs link ( #44 )  
							
							... 
							
							
							
							Signed-off-by: Dave Tucker <dave@dtucker.co.uk> 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								07a21e5822 
								
									
								
							
								 
							
						 
						
							
							
								
								docs: Initial Commit of Aya Book ( #42 )  
							
							... 
							
							
							
							Signed-off-by: Dave Tucker <dave@dtucker.co.uk> 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								f30abca15e 
								
							
								 
							
						 
						
							
							
								
								(cargo-release) version 0.10.3  
							
							
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								66a12ffcf7 
								
							
								 
							
						 
						
							
							
								
								aya: programs: tweak LircMode2::query doc.  
							
							
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								8c03ba052a 
								
							
								 
							
						 
						
							
							
								
								aya: netlink: fix clippy lint  
							
							
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								a68ff47246 
								
							
								 
							
						 
						
							
							
								
								aya-bpf, aya-bpf-bindings: fix clippy lints  
							
							
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								81e07e9661 
								
									
								
							
								 
							
						 
						
							
							
								
								Implement query for lirc programs ( #32 )  
							
							... 
							
							
							
							Signed-off-by: Sean Young <sean@mess.org> 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								fa2cbe2f82 
								
							
								 
							
						 
						
							
							
								
								aya: fix clippy warnings  
							
							
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								c2a90c2c01 
								
							
								 
							
						 
						
							
							
								
								aya: tc: add qdisc_detach_program  
							
							... 
							
							
							
							qdisc_detach_program can be used to detach all the programs that have
the given name. It's useful when you want to detach programs that were
attached by some other process (eg. iproute2), or when you want to
detach programs that were previously left attached because the program
that attached them was killed. 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								0a9d02140a 
								
							
								 
							
						 
						
							
							
								
								aya: netlink: fix alignment when writing attributes  
							
							
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								abb199e6f4 
								
							
								 
							
						 
						
							
							
								
								aya: netlink: fix handling of multipart messages  
							
							
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								9185f32f6f 
								
							
								 
							
						 
						
							
							
								
								aya: tc: clean up netlink code a bit  
							
							
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								b4b019e447 
								
									
								
							
								 
							
						 
						
							
							
								
								fix: pass BTF object by reference in order to allow multiple eBPF programs to share it and save memory ( closes   #30 ). ( #31 )  
							
							
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								55ba0538f2 
								
									
								
							
								 
							
						 
						
							
							
								
								bpf: add support for tracepoint program ( #29 )  
							
							... 
							
							
							
							This patch add initial support for tracepoint program type.
Hope you enjoy.
Signed-off-by: Tw <wei.tan@intel.com> 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								d996a88de4 
								
							
								 
							
						 
						
							
							
								
								aya: fix formatting  
							
							
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								12ea9f3500 
								
							
								 
							
						 
						
							
							
								
								CI: enable clippy for aya, aya-gen and xtask  
							
							
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								2d16843d5d 
								
							
								 
							
						 
						
							
							
								
								xtask: clippy warnings  
							
							
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								5dfd27dbd0 
								
							
								 
							
						 
						
							
							
								
								bpf: fix some clippy warnings  
							
							
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								1159741eda 
								
							
								 
							
						 
						
							
							
								
								aya-gen: fix clippy warnings  
							
							
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								0878c4505a 
								
							
								 
							
						 
						
							
							
								
								aya: fix clippy warnings  
							
							
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								21e01df242 
								
							
								 
							
						 
						
							
							
								
								aya: obj: improve parse_map_def tests  
							
							... 
							
							
							
							Add a test that checks that we handle ELF section padding correctly and
simplify the other tests. 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								b657930a3e 
								
							
								 
							
						 
						
							
							
								
								aya: don't error out parsing padded map sections  
							
							... 
							
							
							
							Fixes  #28  
						
							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  
				
					
						
							
							
								 
						
							
							
								b3ecbe7c54 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #27  from tw4452852/minor_fix_for_stackid  
							
							... 
							
							
							
							bpf: fix a minor bug due to stackid allocation 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								d1b7b024dc 
								
							
								 
							
						 
						
							
							
								
								bpf: fix a minor bug due to stackid allocation  
							
							... 
							
							
							
							The type casting introduces an allocation, this will cause compiling failure when linking final bpf target.
So remove this casting to fix this issue.
BTW, the following is the failure I met:
= note: 07:24:12 [ERROR] fatal error: "unable to allocate function return #1"
          PLEASE submit a bug report to https://bugs.llvm.org/  and include the crash backtrace.
          Stack dump:
          0.    Running pass 'Function Pass Manager' on module 'trace_bpf-001a275b17e9eb12'.
          1.    Running pass 'BPF DAG->DAG Pattern Instruction Selection' on function '@_ZN7aya_bpf4maps11stack_trace10StackTrace11get_stackid17h32b649bc3780c0aaE'
Signed-off-by: Tw <wei.tan@intel.com> 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								7eddffb962 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #25  from tw4452852/stacktrace  
							
							... 
							
							
							
							bpf: add support for STACK_TRACE map 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								fd20bd5e23 
								
							
								 
							
						 
						
							
							
								
								bpf: add support for STACK_TRACE map  
							
							... 
							
							
							
							This path support initial support for BPF_MAP_TYPE_STACK_TRACE.
Signed-off-by: Tw <wei.tan@intel.com> 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								ef39e0ebd2 
								
							
								 
							
						 
						
							
							
								
								bpf: sk_skb: add ::cb() and ::cb_mut() to work with skb->cb  
							
							
							
						 
						
							4 years ago