Home
last modified time | relevance | path

Searched refs:etmq (Results 1 – 3 of 3) sorted by relevance

/Linux-v6.6/tools/perf/util/
Dcs-etm.c120 static int cs_etm__get_data_block(struct cs_etm_queue *etmq);
121 static int cs_etm__decode_data_block(struct cs_etm_queue *etmq);
213 enum cs_etm_pid_fmt cs_etm__get_pid_fmt(struct cs_etm_queue *etmq) in cs_etm__get_pid_fmt() argument
215 return etmq->etm->pid_fmt; in cs_etm__get_pid_fmt()
390 void cs_etm__etmq_set_traceid_queue_timestamp(struct cs_etm_queue *etmq, in cs_etm__etmq_set_traceid_queue_timestamp() argument
400 etmq->pending_timestamp_chan_id = trace_chan_id; in cs_etm__etmq_set_traceid_queue_timestamp()
403 static u64 cs_etm__etmq_get_timestamp(struct cs_etm_queue *etmq, in cs_etm__etmq_get_timestamp() argument
408 if (!etmq->pending_timestamp_chan_id) in cs_etm__etmq_get_timestamp()
412 *trace_chan_id = etmq->pending_timestamp_chan_id; in cs_etm__etmq_get_timestamp()
414 packet_queue = cs_etm__etmq_get_packet_queue(etmq, in cs_etm__etmq_get_timestamp()
[all …]
Dcs-etm.h256 enum cs_etm_pid_fmt cs_etm__get_pid_fmt(struct cs_etm_queue *etmq);
257 int cs_etm__etmq_set_tid_el(struct cs_etm_queue *etmq, pid_t tid,
259 bool cs_etm__etmq_is_timeless(struct cs_etm_queue *etmq);
260 void cs_etm__etmq_set_traceid_queue_timestamp(struct cs_etm_queue *etmq,
263 *cs_etm__etmq_get_packet_queue(struct cs_etm_queue *etmq, u8 trace_chan_id);
266 u64 cs_etm__convert_sample_time(struct cs_etm_queue *etmq, u64 cs_timestamp);
/Linux-v6.6/tools/perf/util/cs-etm-decoder/
Dcs-etm-decoder.c282 cs_etm_decoder__do_soft_timestamp(struct cs_etm_queue *etmq, in cs_etm_decoder__do_soft_timestamp() argument
299 cs_etm__etmq_set_traceid_queue_timestamp(etmq, trace_chan_id); in cs_etm_decoder__do_soft_timestamp()
305 cs_etm_decoder__do_hard_timestamp(struct cs_etm_queue *etmq, in cs_etm_decoder__do_hard_timestamp() argument
315 packet_queue = cs_etm__etmq_get_packet_queue(etmq, trace_chan_id); in cs_etm_decoder__do_hard_timestamp()
324 cs_etm__convert_sample_time(etmq, elem->timestamp) : 0; in cs_etm_decoder__do_hard_timestamp()
348 if (!cs_etm__etmq_is_timeless(etmq)) in cs_etm_decoder__do_hard_timestamp()
377 cs_etm__etmq_set_traceid_queue_timestamp(etmq, trace_chan_id); in cs_etm_decoder__do_hard_timestamp()
431 cs_etm_decoder__buffer_range(struct cs_etm_queue *etmq, in cs_etm_decoder__buffer_range() argument
479 if (cs_etm__etmq_is_timeless(etmq)) in cs_etm_decoder__buffer_range()
492 ret = cs_etm_decoder__do_soft_timestamp(etmq, packet_queue, in cs_etm_decoder__buffer_range()
[all …]