Use findStacks to perform a deep dive into a specific function. It returns detailed information about the function's self-time, total time, callers, callees, and hot code lines.
Arguments:
thread: The thread object to search within.pattern: A string representing the function name to search for (case-insensitive).
Special Case: If the pattern is '(garbage collector)', it uses specialized logic to reconstruct callers based on temporal adjacency (who was running when GC occurred).
Returns: An array of match groups. Each group contains:
frame: The function's call frame.self: Self-time in microseconds.total: Total time in microseconds.callers: Sorted list of functions that called this function.callees: Sorted list of functions called by this function.hotLines: The specific source lines where the most time was spent.