|
static int | intel_pt_parse_terms_with_default (struct list_head *formats, const char *str, u64 *config) |
|
static int | intel_pt_parse_terms (struct list_head *formats, const char *str, u64 *config) |
|
static u64 | intel_pt_masked_bits (u64 mask, u64 bits) |
|
static int | intel_pt_read_config (struct perf_pmu *intel_pt_pmu, const char *str, struct perf_evlist *evlist, u64 *res) |
|
static size_t | intel_pt_psb_period (struct perf_pmu *intel_pt_pmu, struct perf_evlist *evlist) |
|
static int | intel_pt_pick_bit (int bits, int target) |
|
static u64 | intel_pt_default_config (struct perf_pmu *intel_pt_pmu) |
|
static int | intel_pt_parse_snapshot_options (struct auxtrace_record *itr, struct record_opts *opts, const char *str) |
|
struct perf_event_attr * | intel_pt_pmu_default_config (struct perf_pmu *intel_pt_pmu) |
|
static const char * | intel_pt_find_filter (struct perf_evlist *evlist, struct perf_pmu *intel_pt_pmu) |
|
static size_t | intel_pt_filter_bytes (const char *filter) |
|
static size_t | intel_pt_info_priv_size (struct auxtrace_record *itr, struct perf_evlist *evlist) |
|
static void | intel_pt_tsc_ctc_ratio (u32 *n, u32 *d) |
|
static int | intel_pt_info_fill (struct auxtrace_record *itr, struct perf_session *session, struct auxtrace_info_event *auxtrace_info, size_t priv_size) |
|
static int | intel_pt_track_switches (struct perf_evlist *evlist) |
|
static void | intel_pt_valid_str (char *str, size_t len, u64 valid) |
|
static int | intel_pt_val_config_term (struct perf_pmu *intel_pt_pmu, const char *caps, const char *name, const char *supported, u64 config) |
|
static int | intel_pt_validate_config (struct perf_pmu *intel_pt_pmu, struct perf_evsel *evsel) |
|
static int | intel_pt_recording_options (struct auxtrace_record *itr, struct perf_evlist *evlist, struct record_opts *opts) |
|
static int | intel_pt_snapshot_start (struct auxtrace_record *itr) |
|
static int | intel_pt_snapshot_finish (struct auxtrace_record *itr) |
|
static int | intel_pt_alloc_snapshot_refs (struct intel_pt_recording *ptr, int idx) |
|
static void | intel_pt_free_snapshot_refs (struct intel_pt_recording *ptr) |
|
static void | intel_pt_recording_free (struct auxtrace_record *itr) |
|
static int | intel_pt_alloc_snapshot_ref (struct intel_pt_recording *ptr, int idx, size_t snapshot_buf_size) |
|
static size_t | intel_pt_snapshot_ref_buf_size (struct intel_pt_recording *ptr, size_t snapshot_buf_size) |
|
static int | intel_pt_snapshot_init (struct intel_pt_recording *ptr, size_t snapshot_buf_size) |
|
static bool | intel_pt_compare_buffers (void *buf1, size_t compare_size, void *buf2, size_t offs2, size_t buf2_size) |
|
static bool | intel_pt_compare_ref (void *ref_buf, size_t ref_offset, size_t ref_size, size_t buf_size, void *data, size_t head) |
|
static void | intel_pt_copy_ref (void *ref_buf, size_t ref_size, size_t buf_size, void *data, size_t head) |
|
static bool | intel_pt_wrapped (struct intel_pt_recording *ptr, int idx, struct auxtrace_mmap *mm, unsigned char *data, u64 head) |
|
static bool | intel_pt_first_wrap (u64 *data, size_t buf_size) |
|
static int | intel_pt_find_snapshot (struct auxtrace_record *itr, int idx, struct auxtrace_mmap *mm, unsigned char *data, u64 *head, u64 *old) |
|
static u64 | intel_pt_reference (struct auxtrace_record *itr __maybe_unused) |
|
static int | intel_pt_read_finish (struct auxtrace_record *itr, int idx) |
|
struct auxtrace_record * | intel_pt_recording_init (int *err) |
|
static bool intel_pt_compare_buffers |
( |
void * |
buf1, |
|
|
size_t |
compare_size, |
|
|
void * |
buf2, |
|
|
size_t |
offs2, |
|
|
size_t |
buf2_size |
|
) |
| |
|
static |
intel_pt_compare_buffers - compare bytes in a buffer to a circular buffer. : first buffer : number of bytes to compare : second buffer (a circular buffer) : offset in second buffer : size of second buffer
The comparison allows for the possibility that the bytes to compare in the circular buffer are not contiguous. It is assumed that <= . This function returns false if the bytes are identical, true otherwise.
Definition at line 916 of file intel-pt.c.