Index: src/log.cc |
diff --git a/src/log.cc b/src/log.cc |
index ea69fb4bee3e71cecb6ae6a38f8dba69445b3657..a10d9621d32a7ea721e9599fc42ec67cca33faf2 100644 |
--- a/src/log.cc |
+++ b/src/log.cc |
@@ -1497,7 +1497,11 @@ void Logger::TickEvent(TickSample* sample, bool overflow) { |
msg.Append(",%ld", static_cast<int>(timer_.Elapsed().InMicroseconds())); |
if (sample->has_external_callback) { |
msg.Append(",1,"); |
+#if USES_FUNCTION_DESCRIPTORS |
+ msg.AppendAddress(*FUNCTION_ENTRYPOINT_ADDRESS(sample->external_callback)); |
+#else |
msg.AppendAddress(sample->external_callback); |
+#endif |
} else { |
msg.Append(",0,"); |
msg.AppendAddress(sample->tos); |