- 21 Aug, 2015 2 commits
-
-
4ast authored
Add BPF python helpers for reading trace_pipe
-
Brenden Blanco authored
Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
- 20 Aug, 2015 5 commits
-
-
Brenden Blanco authored
more examples of b[] syntax, fix func arg passing
-
Brendan Gregg authored
-
Brendan Gregg authored
-
4ast authored
Add getitem api to BPF object to reference tables
-
Brenden Blanco authored
To simplify some common usage patterns, add a getitem api to the BPF class. This wraps the get_table() api and allows the api user to skip keeping their own get_table handle. Fixes: #137 Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
- 19 Aug, 2015 3 commits
-
-
4ast authored
Change API of attach_kprobe to take a name argument
-
Brenden Blanco authored
Per feedback on the attach_kprobe api, change up the arguments to remove the load_func that typically preceeds the call. Instead, move this inside the attach_kprobe implementation. Also, this makes attach_kprobe need to be non-static. The same applies to attach_kretprobe. Old: fn = b.load_func("hello", BPF.KPROBE) BPF.attach_kprobe(fn, "sys_clone") New: b.attach_kprobe(event="sys_clone", fn_name="hello") Note that the kwarg style is not required, but I fixed up the current usages to provide readability. Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
Brenden Blanco authored
some bcc examples and tools
-
- 18 Aug, 2015 6 commits
-
-
Brendan Gregg authored
-
Brendan Gregg authored
-
Brendan Gregg authored
-
Brendan Gregg authored
-
Brendan Gregg authored
-
Brendan Gregg authored
-
- 17 Aug, 2015 5 commits
-
-
4ast authored
Add format string argument to bpf-run
-
Brenden Blanco authored
Usage: bpf-run -f "time={3} output={5}" Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
4ast authored
Add bpf-run command line tool
-
Brenden Blanco authored
Example usage: sudo bpf-run -p sys_clone -c 'bpf_trace_printk("Hello, World!\n");' -t Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
Brenden Blanco authored
add dhcp support for tunnel-mesh
-
- 13 Aug, 2015 5 commits
-
-
Yonghong Song authored
Signed-off-by: Yonghong Song <yhs@plumgrid.com>
-
Brenden Blanco authored
add vlan_learning and distributed_bridge in libbcc package
-
Brenden Blanco authored
distributed_bridge: check ip address before validating traffic
-
Wei-Chun Chao authored
Signed-off-by: Wei-Chun Chao <weichunc@plumgrid.com>
-
Yonghong Song authored
Signed-off-by: Yonghong Song <yhs@plumgrid.com>
-
- 12 Aug, 2015 12 commits
-
-
Brenden Blanco authored
distributed_bridge: wait for ns comes up before validating traffic
-
Wei-Chun Chao authored
Sometimes it takes longer for ns to complete configuration. Signed-off-by: Wei-Chun Chao <weichunc@plumgrid.com>
-
Brenden Blanco authored
test_brb2: only account for IP and ARP packets
-
4ast authored
Changes to support map entry read/write in fuse
-
Wei-Chun Chao authored
Sometimes background noise fails the test Signed-off-by: Wei-Chun Chao <weichunc@plumgrid.com>
-
Brenden Blanco authored
Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
Brenden Blanco authored
Expose an individual API of the what is done in table_update, that lets the caller use the module to parse keys for it. Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
Brenden Blanco authored
clean up potential conflict veth before creating new one in create_ns
-
Yonghong Song authored
Signed-off-by: Yonghong Song <yhs@plumgrid.com>
-
Yonghong Song authored
Signed-off-by: Yonghong Song <yhs@plumgrid.com>
-
4ast authored
Add printf for key/leaf and fix trace_printk bug
-
Brenden Blanco authored
There was an issue where the rewrite of bpf_trace_printk combined with conversion of function argument to ctx->$reg was mangling the text. Fix up this case and add a test. Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
- 11 Aug, 2015 2 commits
-
-
Brenden Blanco authored
This extends upon the sscanf reader functionality, with the intent of providing key/leaf pretty printing Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
4ast authored
Fix recursive loop in parsing pointer to self struct
-