[Lldb-commits] [PATCH] D106501: [trace] Add the definition of a TraceExporter plugin

walter erquinigo via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Thu Jul 22 16:02:02 PDT 2021


wallace updated this revision to Diff 361013.
wallace added a comment.
Herald added a subscriber: dang.

I've added a basic implementation of a CTF exporter plugin that can be used by https://reviews.llvm.org/D105741

  (lldb) help thread trace export ctf
  Export a given thread's trace to Chrome Trace Format
  
  Syntax: thread trace export ctf [<ctf-options>]
  
  Command Options Usage:
    thread trace export ctf [-t <thread-index>]
  
         -t <thread-index> ( --tid <thread-index> )
              Export the trace for the specified thread index. Otherwise, the currently selected thread
              will be used.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D106501/new/

https://reviews.llvm.org/D106501

Files:
  lldb/include/lldb/Core/PluginManager.h
  lldb/include/lldb/Target/TraceExporter.h
  lldb/include/lldb/lldb-forward.h
  lldb/include/lldb/lldb-private-interfaces.h
  lldb/source/Commands/CommandObjectThread.cpp
  lldb/source/Core/PluginManager.cpp
  lldb/source/Plugins/CMakeLists.txt
  lldb/source/Plugins/TraceExporter/CMakeLists.txt
  lldb/source/Plugins/TraceExporter/ctf/CMakeLists.txt
  lldb/source/Plugins/TraceExporter/ctf/CommandObjectThreadTraceExportCTF.cpp
  lldb/source/Plugins/TraceExporter/ctf/CommandObjectThreadTraceExportCTF.h
  lldb/source/Plugins/TraceExporter/ctf/TraceExporterCTF.cpp
  lldb/source/Plugins/TraceExporter/ctf/TraceExporterCTF.h
  lldb/source/Plugins/TraceExporter/ctf/TraceExporterCTFOptions.td
  lldb/source/Target/CMakeLists.txt
  lldb/source/Target/TraceExporter.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D106501.361013.patch
Type: text/x-patch
Size: 21102 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20210722/746fd73e/attachment-0001.bin>


More information about the lldb-commits mailing list