libbpf: Added the description of some API functions
authorXin Liu <liuxin350@huawei.com>
Sat, 24 Dec 2022 11:20:58 +0000 (19:20 +0800)
committerAndrii Nakryiko <andrii@kernel.org>
Thu, 29 Dec 2022 22:32:20 +0000 (14:32 -0800)
commit678a1c036199011e65b203367900f002a28da004
tree26ef5ffb5c4cdf9b998cb940d43647c18484d40d
parentac807e6839c0cef749da0e5a528c6ed3fb249236
libbpf: Added the description of some API functions

Currently, many API functions are not described in the document.
Add add API description of the following four API functions:
  - libbpf_set_print;
  - bpf_object__open;
  - bpf_object__load;
  - bpf_object__close.

Signed-off-by: Xin Liu <liuxin350@huawei.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20221224112058.12038-1-liuxin350@huawei.com
tools/lib/bpf/libbpf.h