mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-21 13:02:25 +08:00
Remove all leftover PX4_BACKTRACE calls
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -196,7 +196,6 @@ extern "C" {
|
||||
PX4_WARN("failed getting thread name");
|
||||
}
|
||||
|
||||
PX4_BACKTRACE();
|
||||
#endif
|
||||
|
||||
ret = -ENOENT;
|
||||
|
||||
@@ -177,7 +177,6 @@ static void hrt_work_process()
|
||||
|
||||
if (!worker) {
|
||||
PX4_ERR("MESSED UP: worker = 0");
|
||||
PX4_BACKTRACE();
|
||||
|
||||
} else {
|
||||
worker(arg);
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user