DynamoRIO
|
DrMemtrace trace entry enum types and definitions. More...
#include <memory>
#include <stddef.h>
#include <stdint.h>
#include "utils.h"
Data Structures | |
struct | dynamorio::drmemtrace::_trace_entry_t |
Namespaces | |
dynamorio::drmemtrace | |
Macros | |
#define | OFFLINE_FILE_VERSION_XFER_ABS_PC 7 |
#define | OFFLINE_FILE_VERSION_RETIRED_INSTRUCTIONS_ONLY 8 |
#define | DRMEMTRACE_MODULE_LIST_FILENAME "modules.log" |
#define | DRMEMTRACE_FUNCTION_LIST_FILENAME "funclist.log" |
#define | DRMEMTRACE_ENCODING_FILENAME "encodings.bin" |
#define | DRMEMTRACE_SERIAL_SCHEDULE_FILENAME "serial_schedule.bin" |
#define | DRMEMTRACE_CPU_SCHEDULE_FILENAME "cpu_schedule.bin.zip" |
#define | DRMEMTRACE_KERNEL_TRACE_SUBDIR "kernel.raw" |
#define | DRMEMTRACE_KCORE_FILENAME "kcore" |
#define | DRMEMTRACE_KALLSYMS_FILENAME "kallsyms" |
#define | DRMEMTRACE_V2P_FILENAME "v2p.textproto" |
Typedefs | |
typedef uintptr_t | dynamorio::drmemtrace::addr_t |
typedef struct _trace_entry_t | dynamorio::drmemtrace::trace_entry_t |
Functions | |
static bool | dynamorio::drmemtrace::type_is_instr (const trace_type_t type) |
static bool | dynamorio::drmemtrace::is_any_instr_type (const trace_type_t type) |
static bool | dynamorio::drmemtrace::type_is_instr_branch (const trace_type_t type) |
static bool | dynamorio::drmemtrace::type_is_instr_direct_branch (const trace_type_t type) |
static bool | dynamorio::drmemtrace::type_is_instr_conditional_branch (const trace_type_t type) |
static bool | dynamorio::drmemtrace::type_is_prefetch (const trace_type_t type) |
static bool | dynamorio::drmemtrace::type_has_address (const trace_type_t type) |
static bool | dynamorio::drmemtrace::type_is_data (const trace_type_t type) |
static bool | dynamorio::drmemtrace::type_is_read (const trace_type_t type) |
Detailed Description
DrMemtrace trace entry enum types and definitions.
Macro Definition Documentation
◆ DRMEMTRACE_CPU_SCHEDULE_FILENAME
#define DRMEMTRACE_CPU_SCHEDULE_FILENAME "cpu_schedule.bin.zip" |
The name of the archive file in -offline mode where the cpu thread schedule is written during post-processing. A separate sub-archive is written for each cpu.
◆ DRMEMTRACE_ENCODING_FILENAME
#define DRMEMTRACE_ENCODING_FILENAME "encodings.bin" |
The name of the file in -offline mode where non-module instruction encodings are written. Use drmemtrace_get_encoding_path() to obtain the full path.
◆ DRMEMTRACE_FUNCTION_LIST_FILENAME
#define DRMEMTRACE_FUNCTION_LIST_FILENAME "funclist.log" |
The name of the file in -offline mode where function tracing names are written. Use drmemtrace_get_funclist_path() to obtain the full path.
◆ DRMEMTRACE_KALLSYMS_FILENAME
#define DRMEMTRACE_KALLSYMS_FILENAME "kallsyms" |
The name of the file in -offline mode where kallsyms is stored. This file is copied from '/proc/kallsyms' during tracing.
◆ DRMEMTRACE_KCORE_FILENAME
#define DRMEMTRACE_KCORE_FILENAME "kcore" |
The name of the file in -offline mode where the kernel code segments are stored. This file is copied from '/proc/kcore' during tracing.
◆ DRMEMTRACE_KERNEL_TRACE_SUBDIR
#define DRMEMTRACE_KERNEL_TRACE_SUBDIR "kernel.raw" |
The name of the folder in -offline mode where the kernel's per thread trace data is stored.
◆ DRMEMTRACE_MODULE_LIST_FILENAME
#define DRMEMTRACE_MODULE_LIST_FILENAME "modules.log" |
The name of the file in -offline mode where module data is written. Its creation can be customized using drmemtrace_custom_module_data() and then modified before passing to raw2trace via drmodtrack_add_custom_data() and drmodtrack_offline_write(). Use drmemtrace_get_modlist_path() to obtain the full path.
◆ DRMEMTRACE_SERIAL_SCHEDULE_FILENAME
#define DRMEMTRACE_SERIAL_SCHEDULE_FILENAME "serial_schedule.bin" |
The base name of the file in -offline mode where the serial thread schedule is written during post-processing. A compression suffix may be appended.
◆ DRMEMTRACE_V2P_FILENAME
#define DRMEMTRACE_V2P_FILENAME "v2p.textproto" |
The name of the file in -offline mode where virtual to physical information is stored. This file contains a mapping from virtual to physical addresses, the page size used, the number of pages, and the number of bytes mapped.
◆ OFFLINE_FILE_VERSION_RETIRED_INSTRUCTIONS_ONLY
#define OFFLINE_FILE_VERSION_RETIRED_INSTRUCTIONS_ONLY 8 |
Trace version which has only retired instructions in drmemtraces.
◆ OFFLINE_FILE_VERSION_XFER_ABS_PC
#define OFFLINE_FILE_VERSION_XFER_ABS_PC 7 |
Use the absolute PC for kernel interruption PC for 64-bit mode.