Lines Matching +full:sleep +full:- +full:map
1 # SPDX-License-Identifier: GPL-2.0
86 self.stdout = stdout.decode("utf-8")
87 self.stderr = stderr.decode("utf-8")
93 if len(stderr) > 0 and stderr[-1] == "\n":
94 stderr = stderr[:-1]
146 raise Exception("defer created with un-callable object, did you call the function instead of passing its name?")
175 cmd_str += '--json '
189 args = f'-netns {ns} ' + args
199 Run bpftrace and return map data (if json=True).
201 to a dict indexed by map name, e.g.:
208 # Throw in --quiet if json, otherwise the output has two objects
210 cmd_arr += ['-f', 'json', '-q']
213 cmd_arr += ['-e', expr]
222 if one.get('type') != 'map':
241 def wait_port_listen(port, proto="tcp", ns=None, host=None, sleep=0.005, deadline=5):
256 time.sleep(sleep)
259 def wait_file(fname, test_fn, sleep=0.005, deadline=5, encoding='utf-8'):
274 time.sleep(sleep)