Patent ID: 11921613
Assignee: MICROSOFT TECHNOLOGY LICENSING, LLC
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 2:
3. The method of claim 1, wherein the function is part of an application, the method further comprising:
receiving, from the application, a function identifier of a root function, wherein each invocation of the root function is associated with a different activity;
intercepting a request to compile the root function to processor executable instructions;
modifying the root function by inserting instructions configured to generate an activity identifier;
passing the modified root function to the compiler, causing the compiler to translate the modified root function into processor executable instructions; and
wherein the instructions inserted before the return instruction of the function further include instructions configured to:
retrieve an individual activity identifier of an individual activity associated with a current invocation of the function, wherein the individual activity identifier was generated by the modified root function, and
output the retrieved individual activity identifier.