D | test_offload.py | 168 def bpftool(args, JSON=True, ns="", fail=True, include_stderr=False): function 173 _, progs = bpftool("prog show", JSON=True, ns=ns, fail=True) 185 _, maps = bpftool("map show", JSON=True, ns=ns, fail=True) 220 res = bpftool(args, fail=fail, include_stderr=include_stderr) 600 bpftool("prog pin id %d %s" % (prog["id"], file_name)) 608 bpftool("map pin id %d %s" % (m["id"], file_name)) 615 ret, err = bpftool("prog show pin %s" % (prog_file), fail=False) 622 ret, err = bpftool("map show pin %s" % (map_file), fail=False) 767 ret, progs = bpftool("prog", fail=False) 770 _, base_maps = bpftool("map") [all …]
|