Home
last modified time | relevance | path

Searched refs:bpf_program__set_attach_target (Results 1 – 13 of 13) sorted by relevance

/external/bcc/libbpf-tools/
Dfsdist.c249 err = err ?: bpf_program__set_attach_target(obj->progs.file_read_fentry, 0, cfg->op_funcs[READ]); in fentry_set_attach_target()
250 err = err ?: bpf_program__set_attach_target(obj->progs.file_read_fexit, 0, cfg->op_funcs[READ]); in fentry_set_attach_target()
251 err = err ?: bpf_program__set_attach_target(obj->progs.file_write_fentry, 0, cfg->op_funcs[WRITE]); in fentry_set_attach_target()
252 err = err ?: bpf_program__set_attach_target(obj->progs.file_write_fexit, 0, cfg->op_funcs[WRITE]); in fentry_set_attach_target()
253 err = err ?: bpf_program__set_attach_target(obj->progs.file_open_fentry, 0, cfg->op_funcs[OPEN]); in fentry_set_attach_target()
254 err = err ?: bpf_program__set_attach_target(obj->progs.file_open_fexit, 0, cfg->op_funcs[OPEN]); in fentry_set_attach_target()
255 err = err ?: bpf_program__set_attach_target(obj->progs.file_sync_fentry, 0, cfg->op_funcs[FSYNC]); in fentry_set_attach_target()
256 err = err ?: bpf_program__set_attach_target(obj->progs.file_sync_fexit, 0, cfg->op_funcs[FSYNC]); in fentry_set_attach_target()
258 err = err ?: bpf_program__set_attach_target(obj->progs.getattr_fentry, 0, cfg->op_funcs[GETATTR]); in fentry_set_attach_target()
259 err = err ?: bpf_program__set_attach_target(obj->progs.getattr_fexit, 0, cfg->op_funcs[GETATTR]); in fentry_set_attach_target()
Dfsslower.c217 err = err ?: bpf_program__set_attach_target(obj->progs.file_read_fentry, 0, cfg->op_funcs[READ]); in fentry_set_attach_target()
218 err = err ?: bpf_program__set_attach_target(obj->progs.file_read_fexit, 0, cfg->op_funcs[READ]); in fentry_set_attach_target()
219 err = err ?: bpf_program__set_attach_target(obj->progs.file_write_fentry, 0, cfg->op_funcs[WRITE]); in fentry_set_attach_target()
220 err = err ?: bpf_program__set_attach_target(obj->progs.file_write_fexit, 0, cfg->op_funcs[WRITE]); in fentry_set_attach_target()
221 err = err ?: bpf_program__set_attach_target(obj->progs.file_open_fentry, 0, cfg->op_funcs[OPEN]); in fentry_set_attach_target()
222 err = err ?: bpf_program__set_attach_target(obj->progs.file_open_fexit, 0, cfg->op_funcs[OPEN]); in fentry_set_attach_target()
223 err = err ?: bpf_program__set_attach_target(obj->progs.file_sync_fentry, 0, cfg->op_funcs[FSYNC]); in fentry_set_attach_target()
224 err = err ?: bpf_program__set_attach_target(obj->progs.file_sync_fexit, 0, cfg->op_funcs[FSYNC]); in fentry_set_attach_target()
Dklockstat.c538 bpf_program__set_attach_target(obj->progs.mutex_lock, 0, in main()
540 bpf_program__set_attach_target(obj->progs.mutex_lock_exit, 0, in main()
542 bpf_program__set_attach_target(obj->progs.mutex_lock_interruptible, 0, in main()
544 bpf_program__set_attach_target(obj->progs.mutex_lock_interruptible_exit, 0, in main()
546 bpf_program__set_attach_target(obj->progs.mutex_lock_killable, 0, in main()
548 bpf_program__set_attach_target(obj->progs.mutex_lock_killable_exit, 0, in main()
Dreadahead.c83 err = bpf_program__set_attach_target(prog, 0, "do_page_cache_ra"); in readahead__set_attach_target()
87 err = bpf_program__set_attach_target(prog, 0, in readahead__set_attach_target()
Dcachestat.c156 err = bpf_program__set_attach_target(obj->progs.account_page_dirtied, 0, in main()
/external/linux-kselftest/tools/testing/selftests/bpf/prog_tests/
Dtrace_ext.c48 bpf_program__set_attach_target(prog, pkt_fd, "test_pkt_md_access"); in test_trace_ext()
72 bpf_program__set_attach_target(prog, ext_fd, "test_pkt_md_access_new"); in test_trace_ext()
76 bpf_program__set_attach_target(prog, ext_fd, "test_pkt_md_access_new"); in test_trace_ext()
Dfexit_bpf2bpf.c94 err = bpf_program__set_attach_target(p, tgt_fd, NULL); in test_fexit_bpf2bpf_common()
298 err = bpf_program__set_attach_target(prog, pkt_fd, NULL); in test_fmod_ret_freplace()
315 err = bpf_program__set_attach_target(prog, attach_prog_fd, NULL); in test_fmod_ret_freplace()
365 err = bpf_program__set_attach_target(prog, pkt_fd, NULL); in test_obj_load_failure_common()
Dxdp_bpf2bpf.c73 bpf_program__set_attach_target(prog, pkt_fd, "_xdp_tx_iptunnel"); in test_xdp_bpf2bpf()
77 bpf_program__set_attach_target(prog, pkt_fd, "_xdp_tx_iptunnel"); in test_xdp_bpf2bpf()
Dmodule_attach.c54 err = bpf_program__set_attach_target(skel->progs.handle_fentry_manual, in test_module_attach()
/external/libbpf/src/
Dlibbpf.map254 bpf_program__set_attach_target;
Dlibbpf.h649 bpf_program__set_attach_target(struct bpf_program *prog, int attach_prog_fd,
Dlibbpf.c11517 int bpf_program__set_attach_target(struct bpf_program *prog, in bpf_program__set_attach_target() function
/external/bpftool/src/
Dprog.c2296 err = bpf_program__set_attach_target(prog, profile_tgt_fd, in do_profile()