24#ifndef PXR_BASE_TF_STACK_TRACE_H
25#define PXR_BASE_TF_STACK_TRACE_H
28#include "pxr/base/tf/api.h"
35PXR_NAMESPACE_OPEN_SCOPE
40TF_API std::string TfGetStackTrace();
44void TfPrintStackTrace(FILE *file,
const std::string &reason);
48void TfPrintStackTrace(std::ostream &out, std::string
const &reason);
56void TfLogStackTrace(
const std::string &reason,
bool logtodb=
false);
68void TfLogCrash(
const std::string &reason,
69 const std::string &message,
const std::string &additionalInfo,
70 TfCallContext
const &context,
bool logToDB);
74time_t TfGetAppLaunchTime();
76PXR_NAMESPACE_CLOSE_SCOPE