cmd = './app {}'.format(nb_events)
runtime_tools.run(cmd, cwd=app_path)
- runtime_tools.run("lddtree ./app", cwd=app_path)
- runtime_app.run("lddtree ./app", cwd=app_path)
+ runtime_tools.run("objdump -p ./app", cwd=app_path)
+ runtime_app.run("objdump -p ./app", cwd=app_path)
# Stop tracing
runtime_tools.run('lttng stop')
if cp.returncode != 0:
pytest.fail("Sessiond return code")
-
cmd = 'babeltrace {}'.format(trace_path)
- if success :
+ if success:
cp_process, cp_out, cp_err = runtime_tools.run(cmd)
assert(utils.line_count(cp_out) == nb_events)
else: