| /linux/kernel/events/ |
| H A D | ring_buffer.c | 20 static void perf_output_wakeup(struct perf_output_handle *handle) in perf_output_wakeup() 40 static void perf_output_get_handle(struct perf_output_handle *handle) in perf_output_get_handle() 54 static void perf_output_put_handle(struct perf_output_handle *handle) in perf_output_put_handle() 153 __perf_output_begin(struct perf_output_handle *handle, in __perf_output_begin() 273 int perf_output_begin_forward(struct perf_output_handle *handle, in perf_output_begin_forward() 280 int perf_output_begin_backward(struct perf_output_handle *handle, in perf_output_begin_backward() 287 int perf_output_begin(struct perf_output_handle *handle, in perf_output_begin() 296 unsigned int perf_output_copy(struct perf_output_handle *handle, in perf_output_copy() 302 unsigned int perf_output_skip(struct perf_output_handle *handle, in perf_output_skip() 308 void perf_output_end(struct perf_output_handle *handle) in perf_output_end() [all …]
|
| H A D | internal.h | 165 func_name(struct perf_output_handle *handle, \ 170 __output_custom(struct perf_output_handle *handle, perf_copy_f copy_func, in __output_custom()
|
| H A D | core.c | 7734 perf_output_sample_regs(struct perf_output_handle *handle, in perf_output_sample_regs() 7832 perf_output_sample_ustack(struct perf_output_handle *handle, u64 dump_size, in perf_output_sample_ustack() 7910 struct perf_output_handle *handle, in perf_pmu_snapshot_aux() 7943 struct perf_output_handle *handle, in perf_aux_sample_output() 8032 static void __perf_event__output_id_sample(struct perf_output_handle *handle, in __perf_event__output_id_sample() 8057 struct perf_output_handle *handle, in perf_event__output_id_sample() 8064 static void perf_output_read_one(struct perf_output_handle *handle, in perf_output_read_one() 8089 static void perf_output_read_group(struct perf_output_handle *handle, in perf_output_read_group() 8157 static void perf_output_read(struct perf_output_handle *handle, in perf_output_read() 8179 void perf_output_sample(struct perf_output_handle *handle, in perf_output_sample() [all …]
|
| /linux/drivers/hwtracing/coresight/ |
| H A D | coresight-trbe.c | 142 struct perf_output_handle * __percpu *handle; 268 static void trbe_report_wrap_event(struct perf_output_handle *handle) in trbe_report_wrap_event() 287 static void trbe_stop_and_truncate_event(struct perf_output_handle *handle) in trbe_stop_and_truncate_event() 352 static void trbe_pad_buf(struct perf_output_handle *handle, int len) in trbe_pad_buf() 362 static unsigned long trbe_snapshot_offset(struct perf_output_handle *handle) in trbe_snapshot_offset() 374 static u64 trbe_min_trace_buf_size(struct perf_output_handle *handle) in trbe_min_trace_buf_size() 403 static unsigned long __trbe_normal_offset(struct perf_output_handle *handle) in __trbe_normal_offset() 552 static unsigned long trbe_normal_offset(struct perf_output_handle *handle) in trbe_normal_offset() 574 static unsigned long compute_trbe_buffer_limit(struct perf_output_handle *handle) in compute_trbe_buffer_limit() 653 static enum trbe_fault_action trbe_get_fault_act(struct perf_output_handle *handle, in trbe_get_fault_act() [all …]
|
| H A D | coresight-tmc-etf.c | 17 struct perf_output_handle *handle); 256 struct perf_output_handle *handle = path->handle; in tmc_enable_etf_sink_perf() 451 struct perf_output_handle *handle) in tmc_set_etf_buffer() 475 struct perf_output_handle *handle, in tmc_update_etf_buffer()
|
| H A D | coresight-etb10.c | 96 struct perf_output_handle *handle); 176 struct perf_output_handle *handle = path->handle; in etb_enable_perf() 404 struct perf_output_handle *handle) in etb_set_buffer() 428 struct perf_output_handle *handle, in etb_update_buffer()
|
| H A D | coresight-etm-perf.c | 47 struct perf_output_handle handle; 481 struct perf_output_handle *handle = &ctxt->handle; in etm_event_start() 586 struct perf_output_handle *handle = &ctxt->handle; in etm_event_pause() 635 struct perf_output_handle *handle = &ctxt->handle; in etm_event_stop()
|
| H A D | coresight-etm-perf.h | 106 static inline void *etm_perf_sink_config(struct perf_output_handle *handle) in etm_perf_sink_config()
|
| H A D | ultrasoc-smb.c | 220 struct perf_output_handle *handle = path->handle; in smb_enable_perf() 370 struct perf_output_handle *handle, in smb_update_buffer()
|
| H A D | coresight-tmc-etr.c | 1349 struct perf_output_handle *handle = path->handle; in tmc_etr_get_buffer() 1636 struct perf_output_handle *handle, in tmc_update_etr_buffer() 1742 struct perf_output_handle *handle = path->handle; in tmc_enable_etr_sink_perf()
|
| /linux/include/linux/ |
| H A D | perf_event.h | 323 struct perf_output_handle; 544 struct perf_output_handle *handle, 1151 struct perf_output_handle { struct 1212 extern void *perf_aux_output_begin(struct perf_output_handle *handle, 1214 extern void perf_aux_output_end(struct perf_output_handle *handle, 1216 extern int perf_aux_output_skip(struct perf_output_handle *handle, 1218 extern void *perf_get_aux(struct perf_output_handle *handle); 1219 extern void perf_aux_output_flag(struct perf_output_handle *handle, u64 flags); 1487 extern void perf_output_sample(struct perf_output_handle *handle, 1531 struct perf_output_handle *handle, [all …]
|
| H A D | coresight.h | 338 struct perf_output_handle *handle; 373 struct perf_output_handle *handle,
|
| /linux/drivers/perf/ |
| H A D | arm_spe_pmu.c | 97 struct perf_output_handle __percpu *handle; 484 static void arm_spe_pmu_pad_buf(struct perf_output_handle *handle, int len) in arm_spe_pmu_pad_buf() 494 static u64 arm_spe_pmu_next_snapshot_off(struct perf_output_handle *handle) in arm_spe_pmu_next_snapshot_off() 523 static u64 __arm_spe_pmu_next_off(struct perf_output_handle *handle) in __arm_spe_pmu_next_off() 593 static u64 arm_spe_pmu_next_off(struct perf_output_handle *handle) in arm_spe_pmu_next_off() 612 static int arm_spe_perf_aux_output_begin(struct perf_output_handle *handle, in arm_spe_perf_aux_output_begin() 649 static void arm_spe_perf_aux_output_end(struct perf_output_handle *handle) in arm_spe_perf_aux_output_end() 680 arm_spe_pmu_buf_get_fault_act(struct perf_output_handle *handle) in arm_spe_pmu_buf_get_fault_act() 750 struct perf_output_handle *handle = dev; in arm_spe_pmu_irq_handler() 885 struct perf_output_handle *handle = this_cpu_ptr(spe_pmu->handle); in arm_spe_pmu_start() [all …]
|
| /linux/arch/x86/events/intel/ |
| H A D | pt.h | 125 struct perf_output_handle handle;
|
| H A D | bts.c | 25 struct perf_output_handle handle; 222 bts_buffer_reset(struct bts_buffer *bb, struct perf_output_handle *handle); 386 bts_buffer_reset(struct bts_buffer *bb, struct perf_output_handle *handle) in bts_buffer_reset()
|
| H A D | pt.c | 1110 struct perf_output_handle *handle) in pt_buffer_reset_markers() 1706 struct perf_output_handle *handle, in pt_event_snapshot_aux()
|
| H A D | ds.c | 1166 struct perf_output_handle handle; in intel_pmu_drain_bts_buffer()
|
| /linux/drivers/hwtracing/ptt/ |
| H A D | hisi_ptt.h | 133 struct perf_output_handle handle;
|
| H A D | hisi_ptt.c | 247 struct perf_output_handle *handle = &ctrl->handle; in hisi_ptt_update_aux() 1085 struct perf_output_handle *handle = &hisi_ptt->trace_ctrl.handle; in hisi_ptt_pmu_start()
|
| /linux/arch/s390/kernel/ |
| H A D | perf_cpum_sf.c | 110 struct perf_output_handle handle; /* AUX buffer output handle */ 637 struct perf_output_handle handle; in cpumsf_output_event_pid() 1301 static void aux_output_end(struct perf_output_handle *handle) in aux_output_end() 1334 static int aux_output_begin(struct perf_output_handle *handle, in aux_output_begin() 1496 struct perf_output_handle *handle = &cpuhw->handle; in hw_collect_aux()
|
| /linux/arch/powerpc/perf/ |
| H A D | vpa-dtl.c | 79 struct perf_output_handle handle;
|
| H A D | imc-pmu.c | 1347 struct perf_output_handle handle; in dump_trace_imc_data()
|
| /linux/Documentation/userspace-api/ |
| H A D | perf_ring_buffer.rst | 501 ``perf_output_handle``. In the end, the kernel outputs the sample into 505 The structure ``perf_output_handle`` serves as a temporary context for 509 for profiling, two instances of ``perf_output_handle`` serve as separate
|