History

bpf: Change func bpf_iter_unreg_target() signature

Change func bpf_iter_unreg_target() parameter from target name to target reg_info, similar to bpf_iter_reg_target().

Yonghong Song committed 6 years ago

Commit ab2ee4f1 parent 15172a43 files · +4 −4Browse files

Showing the changes to include/linux (1 of 3 files). Show all

Unified · Split

include/linux/bpf.h+1−1
@@ -1154,7 +1154,7 @@ struct bpf_iter_meta { · 1153 unmodified lines
1154};1154};
1155 1155
1156int bpf_iter_reg_target(const struct bpf_iter_reg *reg_info);1156int bpf_iter_reg_target(const struct bpf_iter_reg *reg_info);
1157void bpf_iter_unreg_target(const char *target);1157void bpf_iter_unreg_target(const struct bpf_iter_reg *reg_info);
1158bool bpf_iter_prog_supported(struct bpf_prog *prog);1158bool bpf_iter_prog_supported(struct bpf_prog *prog);
1159int bpf_iter_link_attach(const union bpf_attr *attr, struct bpf_prog *prog);1159int bpf_iter_link_attach(const union bpf_attr *attr, struct bpf_prog *prog);
1160int bpf_iter_new_fd(struct bpf_link *link);1160int bpf_iter_new_fd(struct bpf_link *link);