sys_port = _get_port_from_file('/var/run/lttng/agent.port')
user_port_file = os.path.join(_get_user_home_path(), '.lttng', 'agent.port')
user_port = _get_port_from_file(user_port_file)
sys_port = _get_port_from_file('/var/run/lttng/agent.port')
user_port_file = os.path.join(_get_user_home_path(), '.lttng', 'agent.port')
user_port = _get_port_from_file(user_port_file)