--- title: "dynamorio::drmemtrace::pt2ir_config_t Struct Reference" layout: default permalink: /structdynamorio_1_1drmemtrace_1_1pt2ir__config__t.html ---
DynamoRIO
|
#include <pt2ir.h>
Public Member Functions | |
bool | init_with_metadata (IN const void *metadata_buffer) |
Data Fields | |
pt_config_t | pt_config |
uint64_t | pt_raw_buffer_size |
std::string | elf_file_path |
uint64_t | elf_base |
pt_sb_config_t | sb_config |
std::string | sb_primary_file_path |
std::vector< std::string > | sb_secondary_file_path_list |
std::string | sb_kcore_path |
The struct pt2ir_config_t contains configuration details for one or multiple PT traces and is utilized by drpt2trace and raw2trace to generate a pt2ir_t instance.
|
inline |
Return true if the config is successfully initialized. This function is used to parse the metadata of the PT raw trace.
uint64_t dynamorio::drmemtrace::pt2ir_config_t::elf_base |
The runtime load address of the elf file.
std::string dynamorio::drmemtrace::pt2ir_config_t::elf_file_path |
The elf file path.
pt_config_t dynamorio::drmemtrace::pt2ir_config_t::pt_config |
The libipt config of PT raw trace.
uint64_t dynamorio::drmemtrace::pt2ir_config_t::pt_raw_buffer_size |
The raw buffer size of PT decoder.
pt_sb_config_t dynamorio::drmemtrace::pt2ir_config_t::sb_config |
The libipt-sb config of PT raw trace.
std::string dynamorio::drmemtrace::pt2ir_config_t::sb_kcore_path |
The kernel dump file path refers to the location where the kernel dump file is stored. This file is utilized by the sideband decoder for decoding the kernel PT raw trace.
std::string dynamorio::drmemtrace::pt2ir_config_t::sb_primary_file_path |
The primary sideband file path. A primary sideband file contains perf event records for the traced CPU.
std::vector<std::string> dynamorio::drmemtrace::pt2ir_config_t::sb_secondary_file_path_list |
The secondary sideband file paths of PT raw trace. A secondary sideband file contains perf event records for other CPUs on the system.