s1ap: added debug log to check stack is not blocked.

master
Pedro Alvarez 2 years ago committed by Andre Puschmann
parent 5d79e89a3d
commit 92931030c8

@ -35,7 +35,8 @@ namespace srsenb {
rrc::rrc(srsran::task_sched_handle task_sched_, enb_bearer_manager& manager_) : rrc::rrc(srsran::task_sched_handle task_sched_, enb_bearer_manager& manager_) :
logger(srslog::fetch_basic_logger("RRC")), bearer_manager(manager_), task_sched(task_sched_), rx_pdu_queue(128) logger(srslog::fetch_basic_logger("RRC")), bearer_manager(manager_), task_sched(task_sched_), rx_pdu_queue(128)
{} {
}
rrc::~rrc() {} rrc::~rrc() {}

@ -32,6 +32,7 @@ using srsran::uint32_to_uint8;
#define procError(fmt, ...) s1ap_ptr->logger.error("Proc \"%s\" - " fmt, name(), ##__VA_ARGS__) #define procError(fmt, ...) s1ap_ptr->logger.error("Proc \"%s\" - " fmt, name(), ##__VA_ARGS__)
#define procWarning(fmt, ...) s1ap_ptr->logger.warning("Proc \"%s\" - " fmt, name(), ##__VA_ARGS__) #define procWarning(fmt, ...) s1ap_ptr->logger.warning("Proc \"%s\" - " fmt, name(), ##__VA_ARGS__)
#define procInfo(fmt, ...) s1ap_ptr->logger.info("Proc \"%s\" - " fmt, name(), ##__VA_ARGS__) #define procInfo(fmt, ...) s1ap_ptr->logger.info("Proc \"%s\" - " fmt, name(), ##__VA_ARGS__)
#define procDebug(fmt, ...) s1ap_ptr->logger.debug("Proc \"%s\" - " fmt, name(), ##__VA_ARGS__)
#define WarnUnsupportFeature(cond, featurename) \ #define WarnUnsupportFeature(cond, featurename) \
do { \ do { \
@ -248,6 +249,7 @@ srsran::proc_outcome_t s1ap::s1_setup_proc_t::start_mme_connection()
s1ap_ptr->task_sched.notify_background_task_result(notify_result); s1ap_ptr->task_sched.notify_background_task_result(notify_result);
}; };
srsran::get_background_workers().push_task(connect_callback); srsran::get_background_workers().push_task(connect_callback);
procDebug("Connection to MME requested.");
return srsran::proc_outcome_t::yield; return srsran::proc_outcome_t::yield;
} }

Loading…
Cancel
Save