HDK
|
#include "pxr/pxr.h"
#include "pxr/base/arch/api.h"
#include "pxr/base/arch/defines.h"
#include <inttypes.h>
#include <stdio.h>
#include <functional>
#include <vector>
#include <string>
#include <iosfwd>
#include <ctime>
Go to the source code of this file.
Typedefs | |
typedef std::function < std::string(uintptr_t address)> | ArchStackTraceCallback |
A callback to get a symbolic representation of an address. More... | |
typedef void(* | ArchCrashHandlerSystemCB )(void *userData) |
Functions | |
ARCH_API void | ArchLogFatalProcessState (const char *reason, const char *message=nullptr, const char *extraLogMsg=nullptr) |
ARCH_API void | ArchLogCurrentProcessState (const char *reason, const char *message=nullptr, const char *extraLogMsg=nullptr) |
ARCH_API void | ArchSetProcessStateLogCommand (const char *command, const char *const argv[], const char *const fatalArgv[]) |
ARCH_API bool | ArchIsAppCrashing () |
ARCH_API void | ArchLogSessionInfo (const char *crashStackTrace=NULL) |
ARCH_API void | ArchSetLogSession (const char *command, const char *const argv[], const char *const crashArgv[]) |
ARCH_API void | ArchEnableSessionLogging () |
ARCH_API void | ArchPrintStackTrace (FILE *fout, const std::string &programName, const std::string &reason) |
Print a stack trace to the given FILE pointer. More... | |
ARCH_API void | ArchPrintStackTrace (FILE *fout, const std::string &reason) |
ARCH_API void | ArchPrintStackTrace (std::ostream &out, const std::string &programName, const std::string &reason) |
ARCH_API void | ArchPrintStackTrace (std::ostream &out, const std::string &reason) |
ARCH_API void | ArchSetStackTraceCallback (const ArchStackTraceCallback &cb) |
ARCH_API void | ArchGetStackTraceCallback (ArchStackTraceCallback *cb) |
ARCH_API time_t | ArchGetAppLaunchTime () |
ARCH_API void | ArchSetFatalStackLogging (bool flag) |
ARCH_API bool | ArchGetFatalStackLogging () |
ARCH_API void | ArchSetProgramNameForErrors (const char *progName) |
ARCH_API const char * | ArchGetProgramNameForErrors () |
ARCH_API void | ArchSetProgramInfoForErrors (const std::string &key, const std::string &value) |
ARCH_API std::string | ArchGetProgramInfoForErrors (const std::string &key) |
ARCH_API void | ArchSetExtraLogInfoForErrors (const std::string &key, std::vector< std::string > const *lines) |
ARCH_API void | ArchLogStackTrace (const std::string &progName, const std::string &reason, bool fatal=false, const std::string &sessionLog="") |
ARCH_API void | ArchLogStackTrace (const std::string &reason, bool fatal=false, const std::string &sessionLog="") |
ARCH_API std::vector< std::string > | ArchGetStackTrace (size_t maxDepth) |
ARCH_API void | ArchGetStackFrames (size_t maxDepth, std::vector< uintptr_t > *frames) |
ARCH_API size_t | ArchGetStackFrames (size_t maxDepth, uintptr_t *frames) |
ARCH_API void | ArchGetStackFrames (size_t maxDepth, size_t numFramesToSkipAtTop, std::vector< uintptr_t > *frames) |
ARCH_API size_t | ArchGetStackFrames (size_t maxDepth, size_t numFramesToSkipAtTop, uintptr_t *frames) |
ARCH_API void | ArchPrintStackFrames (std::ostream &out, const std::vector< uintptr_t > &frames, bool skipUnknownFrames=false) |
Print stack frames to the given ostream. More... | |
ARCH_API int | ArchCrashHandlerSystemv (const char *pathname, char *const argv[], int timeout, ArchCrashHandlerSystemCB callback, void *userData) |
Architecture-specific call-stack tracing routines.
Definition in file stackTrace.h.