Patent ID: 8726240

Claim:
A method for capturing replayable information at software defect locations in a multi-tenant environment comprising: detecting, at a host system that an exception was generated; the host system including a set of one or more processers and a memory system including one or more computer readable media, the host system being part of the multitenant environment; in response to detecting the exception, generating, by the host system, a stack trace, sampling the stack trace performance information from the stack trace; storing the performance information from the stack trace in a memory system of the host system; setting configuration files, the configuration files including initial settings for the sampling, server processes and operating system settings; accessing the configuration files to determine the host names of servers and which servers to profile; determining, based on the configuration files, which servers to profile; assigning user contexts to each thread running on the application in a multi-tenant environment such that each thread and subsequent stack trace is tagged with a user ID; selecting a subset of the threads tagged by user IDs; sampling the subset of threads tagged by user IDs; and displaying the performance information in a user interface, wherein the performance information displayed includes at least back traces and call graphs that are viewable and explorable.