9 #ifndef LLDB_SOURCE_PLUGINS_TRACE_INTEL_PT_COMMANDOBJECTTRACESTARTINTELPT_H
10 #define LLDB_SOURCE_PLUGINS_TRACE_INTEL_PT_COMMANDOBJECTTRACESTARTINTELPT_H
12 #include "../../../../source/Commands/CommandObjectTrace.h"
18 namespace trace_intel_pt {
42 interpreter,
"thread trace start",
43 "Start tracing one or more threads with intel-pt. "
44 "Defaults to the current thread. Thread indices can be "
45 "specified as arguments.\n Use the thread-index \"all\" to trace "
46 "all threads including future threads.",
47 "thread trace start [<thread-index> <thread-index> ...] "
48 "[<intel-pt-options>]",
49 lldb::eCommandRequiresProcess |
lldb::eCommandTryTargetAPILock |
50 lldb::eCommandProcessMustBeLaunched |
51 lldb::eCommandProcessMustBePaused),
58 llvm::ArrayRef<lldb::tid_t> tids)
override;
87 interpreter,
"process trace start",
88 "Start tracing this process with intel-pt, including future "
89 "threads. If --per-cpu-tracing is not provided, this traces each "
90 "thread independently, thus using a trace buffer per thread. "
91 "Threads traced with the \"thread trace start\" command are left "
92 "unaffected ant not retraced. This is the recommended option "
93 "unless the number of threads is huge. If --per-cpu-tracing is "
94 "passed, each cpu core is traced instead of each thread, which "
95 "uses a fixed number of trace buffers, but might result in less "
96 "data available for less frequent threads.",
97 "process trace start [<intel-pt-options>]",
98 lldb::eCommandRequiresProcess |
lldb::eCommandTryTargetAPILock |
99 lldb::eCommandProcessMustBeLaunched |
100 lldb::eCommandProcessMustBePaused),
115 #endif // LLDB_SOURCE_PLUGINS_TRACE_INTEL_PT_COMMANDOBJECTTRACESTARTINTELPT_H