diff --git a/src/signalhandler.cc b/src/signalhandler.cc index f53e68719..6b46f000d 100644 --- a/src/signalhandler.cc +++ b/src/signalhandler.cc @@ -211,6 +211,8 @@ void DumpSignalInfo(int signal_number, siginfo_t *siginfo) { pthread_t id = pthread_self(); formatter.AppendUint64( reinterpret_cast(reinterpret_cast(id)), 16); + formatter.AppendString("/"); + formatter.AppendUint64(static_cast(GetTID()), 10); formatter.AppendString(") "); // Only linux has the PID of the signal sender in si_pid. #ifdef GLOG_OS_LINUX