# Check for dl events in the resulting trace
try:
- babeltrace_process = subprocess.Popen(["babeltrace", session_info.trace_path], stdout=subprocess.PIPE, stderr=subprocess.PIPE)
+ babeltrace_process = subprocess.Popen([BABELTRACE_BIN, session_info.trace_path], stdout=subprocess.PIPE, stderr=subprocess.PIPE)
except FileNotFoundError:
- bail("Could not open babeltrace. Please make sure it is installed.", session_info)
+ bail("Could not open {}. Please make sure it is installed.".format(BABELTRACE_BIN), session_info)
dlopen_event_found = 0
dlmopen_event_found = 0