File tree 1 file changed +0
-14
lines changed
1 file changed +0
-14
lines changed Original file line number Diff line number Diff line change @@ -355,22 +355,8 @@ static void MtmCheckResponse(MtmArbiterMessage* resp)
355
355
}
356
356
}
357
357
358
- #include <execinfo.h>
359
-
360
358
static void MtmScheduleHeartbeat ()
361
359
{
362
- if (last_sent_heartbeat != 0 && last_sent_heartbeat + MSEC_TO_USEC (MtmHeartbeatSendTimeout )* 2 < now ) {
363
- #define MCO_MAX_BACK_TRACE_DEPTH 256
364
- int sp ;
365
- void * back_trace [MCO_MAX_BACK_TRACE_DEPTH ];
366
- int depth = backtrace (back_trace , MCO_MAX_BACK_TRACE_DEPTH );
367
- char * * bt = backtrace_symbols (back_trace , depth );
368
- MTM_LOG1 ("Hearbeat interrupt: more than %lld microseconds since last heartbeat" , now - last_sent_heartbeat );
369
- for (sp = 0 ; sp < depth ; sp ++ ) {
370
- MTM_LOG1 ("\t%s" , bt [sp ]);
371
- }
372
- free (bt );
373
- }
374
360
if (!stop ) {
375
361
enable_timeout_after (heartbeat_timer , MtmHeartbeatSendTimeout );
376
362
send_heartbeat = true;
You can’t perform that action at this time.
0 commit comments