<div dir="ltr"><span style="font-size:16px">Hi everyone</span><div style="font-size:16px"><br></div><div style="font-size:16px">There has been previous discussions in this mailing list regarding <i style="color:rgb(0,0,0);white-space:pre-wrap">E</i><i style="color:rgb(0,0,0);white-space:pre-wrap">nabling Intel(R) Processor Trace collection in LLDB. A new APIs are being developed to be added to SB APIs that will provide raw traces (collected on lldb-server side). These APIs are Trace technology independent and hence can work for other Tracing technologies also. The decoding of the raw traces can be done outside LLDB. For details you can refer to the thread with the subject "Review of API and remote packets" started on March 31, 2016.</i></div><div style="font-size:16px"><i style="color:rgb(0,0,0);white-space:pre-wrap"><br></i></div><div style="font-size:16px">I am working on developing a Plugin that will use these new APIs to enable <i style="color:rgb(0,0,0);white-space:pre-wrap">Intel(R) Processor Trace technology and </i>collect raw trace data for the inferior being debugged by LLDB. The plugin will perform decoding on the trace data to present it as a meaningful information to the user of LLDB Debugger. I want to use this plugin through LLDB CLI. I have few questions regarding development of this plugin: </div><div style="font-size:16px"><br></div><div style="font-size:16px">1. What is the best way to develop this plugin? Should it be done as shown in "examples/plugins/commands/fooplugin.cpp" ( i.e. a C++ based solution and using 'plugin load <path_of_shared_lib>' command) or should I go for Python based solution to add new commands using Python functions?</div><div style="font-size:16px"><br></div><div style="font-size:16px">2. I am planning to upstream this developed plugin in LLDB public repository once the development is finished. Any user that wants to use <i style="color:rgb(0,0,0);white-space:pre-wrap">Intel(R) Processor Trace </i>will be able to do so by compiling this plugin and loading it via LLDB CLI as an external library. What should be the ideal location to place this plugin in LLDB repository? I could think of the 'tools' folder.</div><div style="font-size:16px"><br></div><div style="font-size:16px"><br></div><div style="font-size:16px">- Abhishek</div></div>