mirror of https://github.com/PentHertz/srsLTE.git
Moved srslte_debug_handle_crash to common/debug.c
This commit is contained in:
parent
96786e96da
commit
7aaa9a1789
|
@ -63,10 +63,10 @@ endif(SRSGUI_FOUND)
|
|||
if(RF_FOUND)
|
||||
|
||||
add_executable(cell_search cell_search.c)
|
||||
target_link_libraries(cell_search srslte_phy srslte_rf)
|
||||
target_link_libraries(cell_search srslte_phy srslte_common srslte_rf)
|
||||
|
||||
add_executable(cell_measurement cell_measurement.c)
|
||||
target_link_libraries(cell_measurement srslte_phy srslte_rf)
|
||||
target_link_libraries(cell_measurement srslte_phy srslte_common srslte_rf)
|
||||
|
||||
add_executable(usrp_capture usrp_capture.c)
|
||||
target_link_libraries(usrp_capture srslte_phy srslte_rf)
|
||||
|
|
|
@ -40,6 +40,7 @@
|
|||
#include "srslte/srslte.h"
|
||||
#include "srslte/phy/rf/rf.h"
|
||||
#include "srslte/phy/rf/rf_utils.h"
|
||||
#include "srslte/common/debug.h"
|
||||
|
||||
cell_search_cfg_t cell_detect_config = {
|
||||
SRSLTE_DEFAULT_MAX_FRAMES_PBCH,
|
||||
|
|
|
@ -33,6 +33,7 @@
|
|||
#include <pthread.h>
|
||||
#include <semaphore.h>
|
||||
#include <signal.h>
|
||||
#include "srslte/common/debug.h"
|
||||
#include <srslte/phy/common/phy_common.h>
|
||||
#include <srslte/phy/phch/pdsch_cfg.h>
|
||||
#include "srslte/common/gen_mch_tables.h"
|
||||
|
|
|
@ -37,6 +37,7 @@
|
|||
#include <pthread.h>
|
||||
#include <semaphore.h>
|
||||
#include "srslte/common/gen_mch_tables.h"
|
||||
#include "srslte/common/debug.h"
|
||||
#include <srslte/phy/common/phy_common.h>
|
||||
#include "srslte/phy/io/filesink.h"
|
||||
#include "srslte/srslte.h"
|
||||
|
|
|
@ -32,8 +32,8 @@
|
|||
* Reference:
|
||||
*****************************************************************************/
|
||||
|
||||
#ifndef SRSLTE_DEBUG_H
|
||||
#define SRSLTE_DEBUG_H
|
||||
#ifndef SRSLTE_PHY_DEBUG_H
|
||||
#define SRSLTE_PHY_DEBUG_H
|
||||
|
||||
#include <stdio.h>
|
||||
#include "srslte/config.h"
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
|
||||
#include <complex.h>
|
||||
#include <math.h>
|
||||
|
||||
|
@ -49,7 +49,8 @@
|
|||
#include "srslte/phy/common/sequence.h"
|
||||
#include "srslte/phy/common/phy_common.h"
|
||||
#include "srslte/phy/common/phy_logger.h"
|
||||
|
||||
#include "srslte/common/debug.h"
|
||||
|
||||
#include "srslte/phy/ch_estimation/chest_ul.h"
|
||||
#include "srslte/phy/ch_estimation/chest_dl.h"
|
||||
#include "srslte/phy/ch_estimation/refsignal_dl.h"
|
||||
|
@ -104,7 +105,7 @@
|
|||
#include "srslte/phy/phch/regs.h"
|
||||
#include "srslte/phy/phch/sch.h"
|
||||
#include "srslte/phy/phch/uci.h"
|
||||
|
||||
|
||||
#include "srslte/phy/ue/ue_sync.h"
|
||||
#include "srslte/phy/ue/ue_mib.h"
|
||||
#include "srslte/phy/ue/ue_cell_search.h"
|
||||
|
|
|
@ -41,6 +41,7 @@ static void crash_handler(int sig) {
|
|||
void *array[128];
|
||||
int size;
|
||||
|
||||
|
||||
/* Get all stack traces */
|
||||
size = backtrace(array, 128);
|
||||
|
||||
|
|
|
@ -24,14 +24,8 @@
|
|||
*
|
||||
*/
|
||||
|
||||
#include <pthread.h>
|
||||
#include <stdio.h>
|
||||
#include <execinfo.h>
|
||||
#include <signal.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "srslte/phy/utils/debug.h"
|
||||
#include "srslte/version.h"
|
||||
|
||||
int srslte_verbose = 0;
|
||||
int handler_registered = 0;
|
||||
|
|
|
@ -31,6 +31,7 @@
|
|||
#include <pthread.h>
|
||||
|
||||
#include "srslte/common/config_file.h"
|
||||
#include "srslte/common/debug.h"
|
||||
|
||||
#include <iostream>
|
||||
#include <string>
|
||||
|
|
|
@ -38,6 +38,7 @@
|
|||
|
||||
#include "srsue/hdr/ue.h"
|
||||
#include "srslte/common/config_file.h"
|
||||
#include "srslte/common/debug.h"
|
||||
#include "srslte/srslte.h"
|
||||
#include "srsue/hdr/metrics_stdout.h"
|
||||
#include "srsue/hdr/metrics_csv.h"
|
||||
|
|
Loading…
Reference in New Issue