LLDB  mainline
Public Attributes | List of all members
lldb_private::TraceDumperOptions Struct Reference

Class that holds the configuration used by TraceDumper for traversing and dumping instructions. More...

#include <TraceDumper.h>

Collaboration diagram for lldb_private::TraceDumperOptions:
Collaboration graph
[legend]

Public Attributes

bool forwards = false
 If true, the cursor will be iterated forwards starting from the oldest instruction. More...
 
bool raw = false
 Dump only instruction addresses without disassembly nor symbol information. More...
 
bool json = false
 Dump in json format. More...
 
bool pretty_print_json = false
 When dumping in JSON format, pretty print the output. More...
 
bool show_tsc = false
 For each instruction, print the corresponding timestamp counter if available. More...
 
bool show_events = false
 Dump the events that happened between instructions. More...
 
bool show_control_flow_kind = false
 For each instruction, print the instruction kind. More...
 
llvm::Optional< uint64_t > id = llvm::None
 Optional custom id to start traversing from. More...
 
llvm::Optional< size_t > skip = llvm::None
 Optional number of instructions to skip from the starting position of the cursor. More...
 

Detailed Description

Class that holds the configuration used by TraceDumper for traversing and dumping instructions.

Definition at line 20 of file TraceDumper.h.

Member Data Documentation

◆ forwards

bool lldb_private::TraceDumperOptions::forwards = false

If true, the cursor will be iterated forwards starting from the oldest instruction.

Otherwise, the iteration starts from the most recent instruction.

Definition at line 24 of file TraceDumper.h.

Referenced by lldb_private::TraceDumper::TraceDumper().

◆ id

llvm::Optional<uint64_t> lldb_private::TraceDumperOptions::id = llvm::None

Optional custom id to start traversing from.

Definition at line 40 of file TraceDumper.h.

Referenced by lldb_private::TraceDumper::TraceDumper().

◆ json

bool lldb_private::TraceDumperOptions::json = false

Dump in json format.

Definition at line 29 of file TraceDumper.h.

Referenced by CreateWriter().

◆ pretty_print_json

bool lldb_private::TraceDumperOptions::pretty_print_json = false

When dumping in JSON format, pretty print the output.

Definition at line 31 of file TraceDumper.h.

◆ raw

bool lldb_private::TraceDumperOptions::raw = false

Dump only instruction addresses without disassembly nor symbol information.

Definition at line 27 of file TraceDumper.h.

Referenced by lldb_private::TraceDumper::DumpInstructions().

◆ show_control_flow_kind

bool lldb_private::TraceDumperOptions::show_control_flow_kind = false

For each instruction, print the instruction kind.

Definition at line 38 of file TraceDumper.h.

◆ show_events

bool lldb_private::TraceDumperOptions::show_events = false

Dump the events that happened between instructions.

Definition at line 36 of file TraceDumper.h.

Referenced by lldb_private::TraceDumper::DumpInstructions().

◆ show_tsc

bool lldb_private::TraceDumperOptions::show_tsc = false

For each instruction, print the corresponding timestamp counter if available.

Definition at line 34 of file TraceDumper.h.

Referenced by lldb_private::TraceDumper::CreatRawTraceItem().

◆ skip

llvm::Optional<size_t> lldb_private::TraceDumperOptions::skip = llvm::None

Optional number of instructions to skip from the starting position of the cursor.

Definition at line 43 of file TraceDumper.h.

Referenced by lldb_private::TraceDumper::TraceDumper().


The documentation for this struct was generated from the following file: