Home
last modified time | relevance | path

Searched refs:perf_output_handle (Results 1 – 23 of 23) sorted by relevance

/linux/kernel/events/
H A Dring_buffer.c20 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 Dinternal.h165 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 Dcore.c7734 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 Dcoresight-trbe.c142 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 Dcoresight-tmc-etf.c17 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 Dcoresight-etb10.c96 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 Dcoresight-etm-perf.c47 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 Dcoresight-etm-perf.h106 static inline void *etm_perf_sink_config(struct perf_output_handle *handle) in etm_perf_sink_config()
H A Dultrasoc-smb.c220 struct perf_output_handle *handle = path->handle; in smb_enable_perf()
370 struct perf_output_handle *handle, in smb_update_buffer()
H A Dcoresight-tmc-etr.c1349 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 Dperf_event.h323 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 Dcoresight.h338 struct perf_output_handle *handle;
373 struct perf_output_handle *handle,
/linux/drivers/perf/
H A Darm_spe_pmu.c97 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 Dpt.h125 struct perf_output_handle handle;
H A Dbts.c25 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 Dpt.c1110 struct perf_output_handle *handle) in pt_buffer_reset_markers()
1706 struct perf_output_handle *handle, in pt_event_snapshot_aux()
H A Dds.c1166 struct perf_output_handle handle; in intel_pmu_drain_bts_buffer()
/linux/drivers/hwtracing/ptt/
H A Dhisi_ptt.h133 struct perf_output_handle handle;
H A Dhisi_ptt.c247 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 Dperf_cpum_sf.c110 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 Dvpa-dtl.c79 struct perf_output_handle handle;
H A Dimc-pmu.c1347 struct perf_output_handle handle; in dump_trace_imc_data()
/linux/Documentation/userspace-api/
H A Dperf_ring_buffer.rst501 ``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