masaori335 commented on a change in pull request #8179:
URL: https://github.com/apache/trafficserver/pull/8179#discussion_r681354583



##########
File path: iocore/eventsystem/UnixEvent.cc
##########
@@ -104,3 +106,19 @@ Event::schedule_every(ink_hrtime aperiod, int 
acallback_event)
     ethread->EventQueueExternal.enqueue_local(this);
   }
 }
+
+#ifdef ENABLE_EVENT_TRACKER
+
+void
+Event::set_location()
+{
+  _location = ink_backtrace(3);

Review comment:
       This is doing pretty tricky. Assuming this is called by `schedule_*` 
functions to record where they're called (the 3rd frame of the call stack).




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to