diff options
| author | Grant Seltzer <grantseltzer@gmail.com> | 2022-04-20 12:12:25 -0400 |
|---|---|---|
| committer | Daniel Borkmann <daniel@iogearbox.net> | 2022-04-21 16:28:25 +0200 |
| commit | df286716321350d1ca370d5737acf5a10b20ee9e (patch) | |
| tree | 9c434dec59f4683fbdae6672ae3d0cb35d6fb043 /tools/perf/scripts/python | |
| parent | libbpf: Add error returns to two API functions (diff) | |
| download | linux-df286716321350d1ca370d5737acf5a10b20ee9e.tar.gz linux-df286716321350d1ca370d5737acf5a10b20ee9e.zip | |
libbpf: Update API functions usage to check error
This updates usage of the following API functions within
libbpf so their newly added error return is checked:
- bpf_program__set_expected_attach_type()
- bpf_program__set_type()
Signed-off-by: Grant Seltzer <grantseltzer@gmail.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Link: https://lore.kernel.org/bpf/20220420161226.86803-2-grantseltzer@gmail.com
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
