Remove all leftover PX4_BACKTRACE calls

This commit is contained in:
Julian Oes
2019-05-29 15:07:04 +02:00
committed by Beat Küng
parent 5273e2af04
commit f3620f7018
5 changed files with 1 additions and 7 deletions

View File

@@ -434,7 +434,6 @@ void sig_fpe_handler(int sig_num)
{
fflush(stdout);
printf("\nfloating point exception\n");
PX4_BACKTRACE();
fflush(stdout);
px4_daemon::Pxh::stop();
_exit_requested = true;
@@ -444,7 +443,6 @@ void sig_segv_handler(int sig_num)
{
fflush(stdout);
printf("\nSegmentation Fault\n");
PX4_BACKTRACE();
fflush(stdout);
}

View File

@@ -411,7 +411,7 @@ hrt_call_internal(struct hrt_call *entry, hrt_abstime deadline, hrt_abstime inte
// Use this to debug busy CPU that keeps rescheduling with 0 period time
/*if (interval < HRT_INTERVAL_MIN) {*/
/*PX4_ERR("hrt_call_internal interval too short: %" PRIu64, interval);*/
/*PX4_BACKTRACE();*/
/*abort();*/
/*}*/
#endif

View File

@@ -196,7 +196,6 @@ extern "C" {
PX4_WARN("failed getting thread name");
}
PX4_BACKTRACE();
#endif
ret = -ENOENT;

View File

@@ -177,7 +177,6 @@ static void hrt_work_process()
if (!worker) {
PX4_ERR("MESSED UP: worker = 0");
PX4_BACKTRACE();
} else {
worker(arg);

View File

@@ -72,7 +72,6 @@ __END_DECLS
****************************************************************************/
#define PX4_INFO(FMT, ...) qurt_log(_PX4_LOG_LEVEL_INFO, __FILE__, __LINE__, FMT, ##__VA_ARGS__)
#define PX4_INFO_RAW(FMT, ...) __px4_log_omit(_PX4_LOG_LEVEL_INFO, FMT, ##__VA_ARGS__)
#define PX4_BACKTRACE()
#if defined(TRACE_BUILD)
/****************************************************************************
@@ -141,7 +140,6 @@ __attribute__((format(printf, 2, 3)));
__END_DECLS
#define PX4_BACKTRACE() px4_backtrace()
/****************************************************************************
* Implementation of log section formatting based on printf