29 return std::make_shared<CommandObjectThreadTraceExportCTF>(interpreter);
43 return std::make_unique<TraceExporterCTF>();
#define LLDB_PLUGIN_DEFINE(PluginName)
static CommandObjectSP GetThreadTraceExportCommand(CommandInterpreter &interpreter)
static bool RegisterPlugin(llvm::StringRef name, llvm::StringRef description, ABICreateInstance create_callback)
static bool UnregisterPlugin(ABICreateInstance create_callback)
Trace Exporter Plugin that can produce traces in Chrome Trace Format.
static llvm::Expected< lldb::TraceExporterUP > CreateInstance()
PluginInterface protocol.
static llvm::StringRef GetPluginNameStatic()
A class that represents a running process on the host machine.
std::shared_ptr< lldb_private::CommandObject > CommandObjectSP