Searched refs:bpf (Results 1 – 25 of 84) sorted by relevance
1234
/tools/testing/selftests/bpf/ |
D | test_bpftool_build.sh | 88 make_and_clean tools/bpf 96 make_with_tmpdir tools/bpf O 105 make_and_clean -C tools/bpf/bpftool 107 make_with_tmpdir -C tools/bpf/bpftool OUTPUT 109 make_with_tmpdir -C tools/bpf/bpftool O 114 make_and_clean bpf 134 make_with_tmpdir bpf O 137 cd bpf/bpftool
|
D | Makefile | 6 BPFDIR := $(LIBDIR)/bpf 20 BPF_GCC ?= $(shell command -v bpf-gcc;) 43 $(CLANG) -target bpf -O2 -emit-llvm -S -x c - -o - | \ 129 PROBE := $(shell $(LLC) -march=bpf -mcpu=probe -filetype=null /dev/null 2>&1) 165 BTF_LLC_PROBE := $(shell $(LLC) -march=bpf -mattr=help 2>&1 | grep dwarfris) 169 $(CLANG) -target bpf -O2 -g -c -x c - -o ./llvm_btf_verify.o; \ 213 ($(CLANG) $(BPF_CFLAGS) $(CLANG_CFLAGS) -O2 -target bpf -emit-llvm \ 215 $(LLC) -march=bpf -mattr=+alu32 -mcpu=$(CPU) $(LLC_FLAGS) \ 254 $(LLC) -march=bpf -mcpu=$(CPU) $(LLC_FLAGS) -filetype=obj -o $@ 260 ($(CLANG) $(BPF_CFLAGS) $(CLANG_CFLAGS) -O2 -target bpf -emit-llvm \ [all …]
|
D | test_flow_dissector.sh | 53 if /bin/mount | grep /sys/fs/bpf > /dev/null; then 58 /bin/mount bpffs /sys/fs/bpf -t bpf
|
/tools/bpf/bpftool/Documentation/ |
D | bpftool-net.rst | 5 tool for inspection of netdev/tc related bpf prog attachments 34 List bpf program attachments in the kernel networking subsystem. 45 bpf programs, users should consult other tools, e.g., iproute2. 48 all tc class/qdisc bpf program attachments. Both xdp programs and 49 tc programs are ordered based on ifindex number. If multiple bpf 51 the order will be first all bpf programs attached to tc classes, then 52 all bpf programs attached to non clsact qdiscs, and finally all 53 bpf programs attached to root and clsact qdisc. 56 Attach bpf program *PROG* to network interface *NAME* with 57 type specified by *ATTACH_TYPE*. Previously attached bpf program [all …]
|
D | bpftool-map.rst | 134 **bpf\ ()** system call. This operation is not reversible, 206 | **# mount -t bpf none /sys/fs/bpf/** 207 | **# bpftool map pin id 10 /sys/fs/bpf/map** 208 | **# bpftool map del pinned /sys/fs/bpf/map key 13 00 07 00** 222 | **# bpftool prog loadall tail_calls.o /sys/fs/bpf/foo type xdp** 230 pinned /sys/fs/bpf/foo/xdp 234 pinned /sys/fs/bpf/foo/process 238 pinned /sys/fs/bpf/foo/debug 249 | **# bpftool map pin id 294 /sys/fs/bpf/bar** 250 | **# bpftool map dump pinned /sys/fs/bpf/bar** [all …]
|
D | bpftool-perf.rst | 5 tool for inspection of perf related bpf prog attachments 32 followed by bpf program id, attachment information, and attachment point. 85 **bpf**\ (2), 86 **bpf-helpers**\ (7),
|
D | bpftool-cgroup.rst | 66 some bpf program, the program in this cgroup yields to sub-cgroup 67 program; **multi** if a sub-cgroup installs some bpf program, 138 | **# mount -t bpf none /sys/fs/bpf/** 140 | **# bpftool prog load ./device_cgroup.o /sys/fs/bpf/prog** 160 **bpf**\ (2), 161 **bpf-helpers**\ (7),
|
D | bpftool-prog.rst | 108 Load bpf program(s) from binary *OBJ* and pin as *PATH*. 131 Attach bpf program *PROG* (with type specified by 137 Detach bpf program *PROG* (with type specified by 268 | **# mount -t bpf none /sys/fs/bpf/** 269 | **# bpftool prog pin id 10 /sys/fs/bpf/prog** 270 | **# bpftool prog load ./my_prog.o /sys/fs/bpf/prog2** 271 | **# ls -l /sys/fs/bpf/** 278 **# bpftool prog dump jited pinned /sys/fs/bpf/prog opcodes** 294 | **# bpftool prog load xdp1_kern.o /sys/fs/bpf/xdp1 type xdp map name rxcnt id 7** 295 | **# bpftool prog show pinned /sys/fs/bpf/xdp1** [all …]
|
/tools/testing/selftests/tc-testing/bpf/ |
D | Makefile | 12 PROBE := $(shell $(LLC) -march=bpf -mcpu=probe -filetype=null /dev/null 2>&1) 29 -O2 -target bpf -emit-llvm -c $< -o - | \ 30 $(LLC) -march=bpf -mcpu=$(CPU) $(LLC_FLAGS) -filetype=obj -o $@
|
/tools/lib/bpf/ |
D | Makefile | 169 @(test -f ../../include/uapi/linux/bpf.h -a -f ../../../include/uapi/linux/bpf.h && ( \ 170 (diff -B ../../include/uapi/linux/bpf.h ../../../include/uapi/linux/bpf.h >/dev/null) || \ 252 $(call do_install,bpf.h,$(prefix)/include/bpf,644); \ 253 $(call do_install,libbpf.h,$(prefix)/include/bpf,644); \ 254 $(call do_install,btf.h,$(prefix)/include/bpf,644); \ 255 $(call do_install,libbpf_util.h,$(prefix)/include/bpf,644); \ 256 $(call do_install,xsk.h,$(prefix)/include/bpf,644);
|
/tools/bpf/ |
D | Makefile | 36 FEATURE_USER = .bpf 60 $(OUTPUT)%.yacc.c: $(srctree)/tools/bpf/%.y 63 $(OUTPUT)%.lex.c: $(srctree)/tools/bpf/%.l 66 $(OUTPUT)%.o: $(srctree)/tools/bpf/%.c 93 $(call QUIET_CLEAN, bpf-progs) 97 $(Q)$(RM) -- $(OUTPUT)FEATURE-DUMP.bpf
|
D | .gitignore | 1 FEATURE-DUMP.bpf
|
D | Makefile.helpers | 26 HELPERS_RST = bpf-helpers.rst 37 $(OUTPUT)$(HELPERS_RST): $(UP2DIR)../../include/uapi/linux/bpf.h
|
/tools/perf/util/ |
D | bpf-event.c | 40 int id = event->bpf.id; in machine__process_bpf_event_load() 75 switch (event->bpf.type) { in machine__process_bpf() 87 pr_debug("unexpected bpf event type of %d\n", event->bpf.type); in machine__process_bpf() 165 struct perf_record_bpf_event *bpf_event = &event->bpf; in perf_event__synthesize_one_bpf_prog() 305 event = malloc(sizeof(event->bpf) + KSYM_NAME_LEN + machine->id_hdr_size); in perf_event__synthesize_bpf_events() 402 switch (event->bpf.type) { in bpf_event__sb_cb() 404 perf_env__add_bpf_info(env, event->bpf.id); in bpf_event__sb_cb() 414 pr_debug("unexpected bpf event type of %d\n", event->bpf.type); in bpf_event__sb_cb()
|
/tools/perf/tests/ |
D | Build | 39 perf-y += bpf.o 58 $(OUTPUT)tests/llvm-src-base.c: tests/bpf-script-example.c tests/Build 65 $(OUTPUT)tests/llvm-src-kbuild.c: tests/bpf-script-test-kbuild.c tests/Build 72 $(OUTPUT)tests/llvm-src-prologue.c: tests/bpf-script-test-prologue.c tests/Build 79 $(OUTPUT)tests/llvm-src-relocation.c: tests/bpf-script-test-relocation.c tests/Build
|
/tools/bpf/bpftool/ |
D | .gitignore | 4 bpf-helpers.*
|
/tools/perf/tests/attr/ |
D | test-record-basic | 3 args = --no-bpf-event kill >/dev/null 2>&1
|
D | test-record-raw | 3 args = --no-bpf-event -R kill >/dev/null 2>&1
|
D | test-record-graph-default | 3 args = --no-bpf-event -g kill >/dev/null 2>&1
|
D | test-record-no-samples | 3 args = --no-bpf-event -n kill >/dev/null 2>&1
|
D | test-record-freq | 3 args = --no-bpf-event -F 100 kill >/dev/null 2>&1
|
D | test-record-branch-any | 3 args = --no-bpf-event -b kill >/dev/null 2>&1
|
D | test-record-no-inherit | 3 args = --no-bpf-event -i kill >/dev/null 2>&1
|
D | test-record-graph-fp | 3 args = --no-bpf-event --call-graph fp kill >/dev/null 2>&1
|
D | test-record-branch-filter-any | 3 args = --no-bpf-event -j any kill >/dev/null 2>&1
|
1234