| H A D | utils.py | 3 import json as _json 176 def tool(name, args, json=None, ns=None, host=None): 178 if json: argument 179 cmd_str += '--json ' 182 if json: argument 187 def bpftool(args, json=None, ns=None, host=None): 188 return tool('bpftool', args, json=json, ns=ns, host=host) argument 191 def ip(args, json=None, ns=None, host=None): 194 return tool('ip', args, json 167 tool(name, args, json=None, ns=None, host=None) global() argument 192 bpftrace(expr, json=None, ns=None, host=None, timeout=None) global() argument [all...] |