|
LLDB mainline
|
A plug-in interface definition class for trace exporters. More...
#include "lldb/Target/TraceExporter.h"
Static Public Member Functions | |
| static llvm::Expected< lldb::TraceExporterUP > | FindPlugin (llvm::StringRef plugin_name) |
| Create an instance of a trace exporter plugin given its name. | |
Additional Inherited Members | |
| Public Member Functions inherited from lldb_private::PluginInterface | |
| PluginInterface ()=default | |
| virtual | ~PluginInterface ()=default |
| virtual llvm::StringRef | GetPluginName ()=0 |
| PluginInterface (const PluginInterface &)=delete | |
| PluginInterface & | operator= (const PluginInterface &)=delete |
A plug-in interface definition class for trace exporters.
Trace exporter plug-ins operate on traces, converting the trace data provided by an lldb_private::TraceCursor into a different format that can be digested by other tools, e.g. Chrome Trace Event Profiler.
Trace exporters are supposed to operate on an architecture-agnostic fashion, as a TraceCursor, which feeds the data, hides the actual trace technology being used.
Definition at line 28 of file TraceExporter.h.
|
static |
Create an instance of a trace exporter plugin given its name.
| [in] | plugin_Name | Plug-in name to search. |
Definition at line 25 of file TraceExporter.cpp.
References createInvalidPlugInError(), and lldb_private::PluginManager::GetTraceExporterCreateCallback().