Lines Matching refs:intel_pt
53 struct intel_pt { struct
138 struct intel_pt *pt; argument
179 static void intel_pt_dump(struct intel_pt *pt __maybe_unused, in intel_pt_dump()
219 static void intel_pt_dump_event(struct intel_pt *pt, unsigned char *buf, in intel_pt_dump_event()
236 static int intel_pt_do_fix_overlap(struct intel_pt *pt, struct auxtrace_buffer *a, in intel_pt_do_fix_overlap()
507 static inline u8 intel_pt_cpumode(struct intel_pt *pt, uint64_t ip) in intel_pt_cpumode()
644 static bool intel_pt_match_pgd_ip(struct intel_pt *pt, uint64_t ip, in intel_pt_match_pgd_ip()
713 static bool intel_pt_get_config(struct intel_pt *pt, in intel_pt_get_config()
725 static bool intel_pt_exclude_kernel(struct intel_pt *pt) in intel_pt_exclude_kernel()
737 static bool intel_pt_return_compression(struct intel_pt *pt) in intel_pt_return_compression()
753 static bool intel_pt_branch_enable(struct intel_pt *pt) in intel_pt_branch_enable()
766 static unsigned int intel_pt_mtc_period(struct intel_pt *pt) in intel_pt_mtc_period()
785 static bool intel_pt_timeless_decoding(struct intel_pt *pt) in intel_pt_timeless_decoding()
807 static bool intel_pt_tracing_kernel(struct intel_pt *pt) in intel_pt_tracing_kernel()
819 static bool intel_pt_have_tsc(struct intel_pt *pt) in intel_pt_have_tsc()
839 static u64 intel_pt_ns_to_ticks(const struct intel_pt *pt, u64 ns) in intel_pt_ns_to_ticks()
849 static struct intel_pt_queue *intel_pt_alloc_queue(struct intel_pt *pt, in intel_pt_alloc_queue()
970 static void intel_pt_set_pid_tid_cpu(struct intel_pt *pt, in intel_pt_set_pid_tid_cpu()
1021 static void intel_pt_setup_time_range(struct intel_pt *pt, in intel_pt_setup_time_range()
1038 static int intel_pt_setup_queue(struct intel_pt *pt, in intel_pt_setup_queue()
1120 static int intel_pt_setup_queues(struct intel_pt *pt) in intel_pt_setup_queues()
1185 static inline bool intel_pt_skip_event(struct intel_pt *pt) in intel_pt_skip_event()
1196 static inline bool intel_pt_skip_cbr_event(struct intel_pt *pt) in intel_pt_skip_cbr_event()
1216 static void intel_pt_prep_b_sample(struct intel_pt *pt, in intel_pt_prep_b_sample()
1242 static inline int intel_pt_opt_inject(struct intel_pt *pt, in intel_pt_opt_inject()
1252 static int intel_pt_deliver_synth_b_event(struct intel_pt *pt, in intel_pt_deliver_synth_b_event()
1271 struct intel_pt *pt = ptq->pt; in intel_pt_synth_branch_sample()
1316 static void intel_pt_prep_sample(struct intel_pt *pt, in intel_pt_prep_sample()
1336 static inline int intel_pt_deliver_synth_event(struct intel_pt *pt, in intel_pt_deliver_synth_event()
1354 struct intel_pt *pt = ptq->pt; in intel_pt_synth_instruction_sample()
1382 struct intel_pt *pt = ptq->pt; in intel_pt_synth_transaction_sample()
1398 static void intel_pt_prep_p_sample(struct intel_pt *pt, in intel_pt_prep_p_sample()
1415 struct intel_pt *pt = ptq->pt; in intel_pt_synth_ptwrite_sample()
1441 struct intel_pt *pt = ptq->pt; in intel_pt_synth_cbr_sample()
1471 struct intel_pt *pt = ptq->pt; in intel_pt_synth_mwait_sample()
1496 struct intel_pt *pt = ptq->pt; in intel_pt_synth_pwre_sample()
1521 struct intel_pt *pt = ptq->pt; in intel_pt_synth_exstop_sample()
1546 struct intel_pt *pt = ptq->pt; in intel_pt_synth_pwrx_sample()
1705 struct intel_pt *pt = ptq->pt; in intel_pt_synth_pebs_sample()
1824 static int intel_pt_synth_error(struct intel_pt *pt, int code, int cpu, in intel_pt_synth_error()
1847 struct intel_pt *pt = ptq->pt; in intel_ptq_synth_error()
1856 static int intel_pt_next_tid(struct intel_pt *pt, struct intel_pt_queue *ptq) in intel_pt_next_tid()
1879 struct intel_pt *pt = ptq->pt; in intel_pt_is_switch_ip()
1893 struct intel_pt *pt = ptq->pt; in intel_pt_sample()
2017 static u64 intel_pt_switch_ip(struct intel_pt *pt, u64 *ptss_ip) in intel_pt_switch_ip()
2069 static void intel_pt_enable_sync_switch(struct intel_pt *pt) in intel_pt_enable_sync_switch()
2090 struct intel_pt *pt = ptq->pt; in intel_pt_next_time()
2159 struct intel_pt *pt = ptq->pt; in intel_pt_run_decoder()
2239 static inline int intel_pt_update_queues(struct intel_pt *pt) in intel_pt_update_queues()
2248 static int intel_pt_process_queues(struct intel_pt *pt, u64 timestamp) in intel_pt_process_queues()
2303 static int intel_pt_process_timeless_queues(struct intel_pt *pt, pid_t tid, in intel_pt_process_timeless_queues()
2323 static int intel_pt_lost(struct intel_pt *pt, struct perf_sample *sample) in intel_pt_lost()
2329 static struct intel_pt_queue *intel_pt_cpu_to_ptq(struct intel_pt *pt, int cpu) in intel_pt_cpu_to_ptq()
2357 static int intel_pt_sync_switch(struct intel_pt *pt, int cpu, pid_t tid, in intel_pt_sync_switch()
2402 static int intel_pt_process_switch(struct intel_pt *pt, in intel_pt_process_switch()
2427 static int intel_pt_context_switch_in(struct intel_pt *pt, in intel_pt_context_switch_in()
2465 static int intel_pt_context_switch(struct intel_pt *pt, union perf_event *event, in intel_pt_context_switch()
2506 static int intel_pt_process_itrace_start(struct intel_pt *pt, in intel_pt_process_itrace_start()
2528 struct intel_pt *pt = container_of(session->auxtrace, struct intel_pt, in intel_pt_process_event()
2589 struct intel_pt *pt = container_of(session->auxtrace, struct intel_pt, in intel_pt_flush()
2612 struct intel_pt *pt = container_of(session->auxtrace, struct intel_pt, in intel_pt_free_events()
2627 struct intel_pt *pt = container_of(session->auxtrace, struct intel_pt, in intel_pt_free()
2644 struct intel_pt *pt = container_of(session->auxtrace, struct intel_pt, in intel_pt_process_auxtrace_event()
2732 static struct evsel *intel_pt_evsel(struct intel_pt *pt, in intel_pt_evsel()
2745 static int intel_pt_synth_events(struct intel_pt *pt, in intel_pt_synth_events()
2898 static void intel_pt_setup_pebs_events(struct intel_pt *pt) in intel_pt_setup_pebs_events()
2942 struct intel_pt *pt = data; in intel_pt_perf_config()
2951 static u64 intel_pt_tsc_start(u64 ns, struct intel_pt *pt) in intel_pt_tsc_start()
2971 static u64 intel_pt_tsc_end(u64 ns, struct intel_pt *pt) in intel_pt_tsc_end()
2990 static int intel_pt_setup_time_ranges(struct intel_pt *pt, in intel_pt_setup_time_ranges()
3078 struct intel_pt *pt; in intel_pt_process_auxtrace_info()
3087 pt = zalloc(sizeof(struct intel_pt)); in intel_pt_process_auxtrace_info()