Searched refs:bpf_program__set_attach_target (Results 1 – 13 of 13) sorted by relevance
/external/bcc/libbpf-tools/ |
D | fsdist.c | 249 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()
|
D | fsslower.c | 217 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()
|
D | klockstat.c | 538 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()
|
D | readahead.c | 83 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()
|
D | cachestat.c | 156 err = bpf_program__set_attach_target(obj->progs.account_page_dirtied, 0, in main()
|
/external/linux-kselftest/tools/testing/selftests/bpf/prog_tests/ |
D | trace_ext.c | 48 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()
|
D | fexit_bpf2bpf.c | 94 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()
|
D | xdp_bpf2bpf.c | 73 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()
|
D | module_attach.c | 54 err = bpf_program__set_attach_target(skel->progs.handle_fentry_manual, in test_module_attach()
|
/external/libbpf/src/ |
D | libbpf.map | 254 bpf_program__set_attach_target;
|
D | libbpf.h | 649 bpf_program__set_attach_target(struct bpf_program *prog, int attach_prog_fd,
|
D | libbpf.c | 11517 int bpf_program__set_attach_target(struct bpf_program *prog, in bpf_program__set_attach_target() function
|
/external/bpftool/src/ |
D | prog.c | 2296 err = bpf_program__set_attach_target(prog, profile_tgt_fd, in do_profile()
|