US10372513B2ActiveUtilityA1
Classification of application events using call stacks
Est. expiryApr 30, 2035(~8.8 yrs left)· nominal 20-yr term from priority
G06F 11/3409G06F 9/542G06F 16/2379G06F 11/3466G06F 2201/865G06F 11/3476G06F 2209/544G06F 2201/86
42
PatentIndex Score
0
Cited by
17
References
20
Claims
Abstract
A computing device includes at least one processor and a machine-readable storage medium storing instructions. The instructions may be executable by the hardware processor to, in response to a detection of an application event during execution of an application, read a plurality of entries included in a call stack at a time of the application event. The instructions are also executable to determine a classification identifier for the application event using the plurality of entries included in the call stack, and store information about the application event in a database entry associated with the classification identifier.
Claims
exact text as granted — not AI-modifiedWhat is claimed is:
1. A computing device comprising:
a hardware processor; and
a machine-readable storage medium storing instructions, the instructions executable by the hardware processor to:
in response to a detection of an application event during execution of an application, read a plurality of entries included in a call stack at a time of the application event;
determine a classification identifier for the application event using the plurality of entries included in the call stack, wherein the classification identifier includes a plurality of identifiers associated with the plurality of entries included in the call stack, wherein the classification identifier includes the plurality of identifiers in an ordered sequence, and wherein the classification identifier further includes an ordinal number to indicate an order of the application event; and
store performance information about the application event in a database entry associated with the classification identifier.
2. The computing device of claim 1 , wherein the application event is an execution of a particular type of call in the application.
3. The computing device of claim 1 , the instructions further executable to:
in response to a determination that a database does not include an existing database entry associated with the classification identifier, create a new database entry associated with the classification identifier.
4. The computing device of claim 1 , the instructions further executable to determine a performance metric using performance information stored in a plurality of database entries, wherein each of the plurality of database entries corresponds to a unique classification identifier.
5. The computing device of claim 1 , wherein the plurality of entries included in the call stack correspond to a plurality of calls, and wherein the classification identifier includes an identifier for each of the plurality of calls.
6. The computing device of claim 1 , wherein the ordered sequence in the classification identifier comprises each of the plurality of identifiers being separated by a delimiter.
7. The computing device of claim 1 , wherein the plurality of entries are arranged in a particular order within the call stack, and wherein the ordered sequence in the classification identifier is arranged so the plurality of identifiers match the particular order of the plurality of entries in the call stack.
8. A method comprising:
executing an application using a processor, the application including an instrumented command;
in response to detecting the instrumented command, obtaining, using the processor, a set of call stack entries; and
generating, using the processor, a classification identifier for the instrumented command using the set of call stack entries, wherein the classification identifier includes a plurality of identifiers associated with the set of call stack entries, wherein the classification identifier includes the plurality of identifiers in an ordered sequence, and wherein the classification identifier further includes an ordinal number to indicate an order of the instrumented command in the application.
9. The method of claim 8 , further comprising storing performance information about an execution of the instrumented command in a database.
10. The method of claim 9 , further comprising, in response to a determination that the database does not include an entry associated with the classification identifier:
adding a new entry associated with the classification identifier to the database, the new entry to store the performance information.
11. The method of claim 9 , further comprising generating a performance metric using the database.
12. The method of claim 9 , wherein the database comprises a plurality of entries, wherein each of the plurality of entries is uniquely associated with one of a plurality of classification identifiers.
13. The method of claim 8 , wherein the ordered sequence in the classification identifier comprises each of the plurality of identifiers being separated by a delimiter.
14. The method of claim 8 , wherein the plurality of entries are arranged in a particular order within the call stack, and wherein the ordered sequence in the classification identifier is arranged so the plurality of identifiers match the particular order of the plurality of entries in the call stack.
15. An article comprising a machine-readable storage medium storing instructions that upon execution cause a processor to:
detect an execution of a request within an application;
in response to the execution of the request, read a plurality of entries included in a call stack at the time of the execution of the request; and
generate a classification identifier for the request using the plurality of entries included in the call stack, wherein the classification identifier includes a plurality of identifiers associated with the plurality of entries included in the call stack, wherein the classification identifier includes the plurality of identifiers in an ordered sequence, and wherein the classification identifier further includes an ordinal number to indicate an order of the request in the application.
16. The article of claim 15 , wherein the request is a hypertext transfer protocol (HTTP) request.
17. The article of claim 15 , wherein the instructions further cause the processor to:
store application performance information in a first database entry associated with the classification identifier, wherein the first database entry is one of a plurality of entries in a database, wherein each of the plurality of entries is uniquely associated with one of a plurality of classification identifiers.
18. The article of claim 17 , wherein the instructions further cause the processor to:
determine a performance metric for the classification identifier using the application performance information stored in the first database entry.
19. The article of claim 15 , wherein the ordered sequence in the classification identifier comprises each of the plurality of identifiers being separated by a delimiter.
20. The article of claim 15 , wherein the plurality of entries are arranged in a particular order within the call stack, and wherein the ordered sequence in the classification identifier is arranged so the plurality of identifiers match the particular order of the plurality of entries in the call stack.Cited by (0)
No later patents cite this yet.
References (0)
No backward citations on record.