Invention Grant
- Patent Title: Providing additional stack trace information for time-based sampling in asynchronous execution environments
-
Application No.: US15651301Application Date: 2017-07-17
-
Publication No.: US10540258B2Publication Date: 2020-01-21
- Inventor: Ralf Schmelter , Rene Schuenemann , Axel Siebenborn
- Applicant: SAP SE
- Applicant Address: DE Walldorf
- Assignee: SAP SE
- Current Assignee: SAP SE
- Current Assignee Address: DE Walldorf
- Agency: Fish & Richardson P.C.
- Main IPC: G06F11/00
- IPC: G06F11/00 ; G06F11/36 ; G06F9/54

Abstract:
The present disclosure describes methods, systems, and computer program products for providing additional stack trace information for time-based sampling (TBS) in asynchronous execution environments. One computer-implemented method includes determining whether time-based sampling is activated to capture a time-based sampling data during execution of a JavaScript function; in response to determining that the time-based sampling is activated to capture the time-based sampling data, determining whether a callback stack trace is active; in response to determining that the callback stack trace is active, loading the callback stack trace; retrieving a current stack trace of the JavaScript function; and saving the loaded callback stack trace and the current stack trace of the JavaScript function as the time-based sampling data.
Public/Granted literature
Information query