c39dff6025 
								
							
								 
							
						 
						
							
							
								
								Add support for PerfEvent programs.  
							
							
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								269be03a89 
								
							
								 
							
						 
						
							
							
								
								bpf: add PerCpuArray  
							
							
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								a68ff47246 
								
							
								 
							
						 
						
							
							
								
								aya-bpf, aya-bpf-bindings: fix clippy lints  
							
							
							
						 
						
							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  
				
					
						
							
							
								 
						
							
							
								5dfd27dbd0 
								
							
								 
							
						 
						
							
							
								
								bpf: fix some clippy warnings  
							
							
							
						 
						
							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  
				
					
						
							
							
								 
						
							
							
								ec5822d78e 
								
							
								 
							
						 
						
							
							
								
								bpf: sk_skb: wrap more helpers  
							
							
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								122a5306e7 
								
							
								 
							
						 
						
							
							
								
								aya, aya-bpf-bindings: regenerate bindings  
							
							
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								8cd669ca9a 
								
							
								 
							
						 
						
							
							
								
								xtask: fix include paths for kernel headers bundled with libbpf  
							
							
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								67d35cc1d3 
								
							
								 
							
						 
						
							
							
								
								bpf: fix PerfMap::output() API when appending context data  
							
							... 
							
							
							
							map.output(&ctx, &data, nr_bytes) can be used to append nr_bytes from
the current context to the &data event. 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								73c48a5029 
								
							
								 
							
						 
						
							
							
								
								bpf: add support for BPF_PROG_TYPE_CGROUP_SKB programs  
							
							... 
							
							
							
							Example:
fn cgroup_skb_egress(skb: SkSkbContext) -> i32 {
    // allow data to go through
    1
} 
							
						 
						
							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  
				
					
						
							
							
								 
						
							
							
								240c65507b 
								
							
								 
							
						 
						
							
							
								
								bpf: add HashMap::remove()  
							
							
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								696ae6079c 
								
							
								 
							
						 
						
							
							
								
								bpf: Add HashMap::pinned API  
							
							
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								97c96383bd 
								
							
								 
							
						 
						
							
							
								
								bpf: improve SockOpsContext API  
							
							
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								cb3d71429c 
								
							
								 
							
						 
						
							
							
								
								bpf: improve SkMsgContext API  
							
							
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								bf4892d0db 
								
							
								 
							
						 
						
							
							
								
								bpf: add support for Queue and SockMap maps  
							
							
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								575e85c412 
								
							
								 
							
						 
						
							
							
								
								bpf: add id and pinning fields to bpf_map_def  
							
							
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								ab8d512b60 
								
							
								 
							
						 
						
							
							
								
								bpf: add HashMap::insert  
							
							
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								8f55cd728c 
								
							
								 
							
						 
						
							
							
								
								bpf: SkSkbContext: add ::l3_csum_replace  
							
							
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								4febbc3fae 
								
							
								 
							
						 
						
							
							
								
								bpf: perf_map: fix type error  
							
							
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								8e6f447e9b 
								
							
								 
							
						 
						
							
							
								
								bpf: sk_skb: add helper methods  
							
							... 
							
							
							
							This adds support for skb_store_bytes, skb_load_bytes and
l4_csum_replace to SkSkbContext. 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								1b314ded2f 
								
							
								 
							
						 
						
							
							
								
								bpf: add SockHash::redirect  
							
							
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								e11edc072b 
								
							
								 
							
						 
						
							
							
								
								bpf: add more bindings  
							
							... 
							
							
							
							Initial support for Array, HashMap and SockHash maps, and for SkSkb,
SkMsg, SockOps and XDP programs. 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								bdca32cebf 
								
							
								 
							
						 
						
							
							
								
								aya-bpf-bindings: fix anonymous enums  
							
							
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								7815711196 
								
							
								 
							
						 
						
							
							
								
								bpf: add aya-bpf-bindings  
							
							... 
							
							
							
							Move the generated bindings to aya-bpf-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  
				
					
						
							
							
								 
						
							
							
								dc15c978f5 
								
							
								 
							
						 
						
							
							
								
								aya-bpf: generate bpf_probe_read getters for kernel types  
							
							
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								cdf960aaa1 
								
							
								 
							
						 
						
							
							
								
								bpf: initial bpf bindings  
							
							
							
						 
						
							5 years ago