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
11541154 };
11551155
11561156 int bpf_iter_reg_target(const struct bpf_iter_reg *reg_info);
1157−void bpf_iter_unreg_target(const char *target);
1157+void bpf_iter_unreg_target(const struct bpf_iter_reg *reg_info);
11581158 bool bpf_iter_prog_supported(struct bpf_prog *prog);
11591159 int bpf_iter_link_attach(const union bpf_attr *attr, struct bpf_prog *prog);
11601160 int bpf_iter_new_fd(struct bpf_link *link);