xref: /freebsd-src/contrib/llvm-project/lldb/source/Plugins/Trace/intel-pt/TraceIntelPTOptions.td (revision 77013d11e6483b970af25e13c9b892075742f7e5)
1include "../../../../source/Commands/OptionsBase.td"
2
3let Command = "thread trace start intel pt" in {
4  def thread_trace_start_intel_pt_size: Option<"size", "s">,
5    Group<1>,
6    Arg<"Value">,
7    Desc<"The size of the trace in KB. The kernel rounds it down to the nearest"
8         " multiple of 4. Defaults to 4.">;
9  def thread_trace_start_intel_pt_custom_config: Option<"custom-config", "c">,
10    Group<1>,
11    Arg<"Value">,
12    Desc<"Low level bitmask configuration for the kernel based on the values "
13         "in `grep -H  /sys/bus/event_source/devices/intel_pt/format/*`. "
14         "See https://github.com/torvalds/linux/blob/master/tools/perf/Documentation/perf-intel-pt.txt"
15         " for more information. Defaults to 0.">;
16}
17