Home
last modified time | relevance | path

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

/tools/perf/util/
Dcs-etm.h135 u8 trace_chan_id; member
178 int cs_etm__get_cpu(u8 trace_chan_id, int *cpu);
180 pid_t tid, u8 trace_chan_id);
183 u8 trace_chan_id);
185 *cs_etm__etmq_get_packet_queue(struct cs_etm_queue *etmq, u8 trace_chan_id);
194 static inline int cs_etm__get_cpu(u8 trace_chan_id __maybe_unused, in cs_etm__get_cpu()
203 u8 trace_chan_id __maybe_unused) in cs_etm__etmq_set_tid()
217 u8 trace_chan_id __maybe_unused) {} in cs_etm__etmq_set_traceid_queue_timestamp()
221 u8 trace_chan_id __maybe_unused) in cs_etm__etmq_get_packet_queue()
Dcs-etm.c70 u8 trace_chan_id; member
113 #define TO_CS_QUEUE_NR(queue_nr, trace_chan_id) \ argument
114 (queue_nr << 16 | trace_chan_id)
128 static int cs_etm__get_magic(u8 trace_chan_id, u64 *magic) in cs_etm__get_magic() argument
133 inode = intlist__find(traceid_list, trace_chan_id); in cs_etm__get_magic()
142 int cs_etm__get_cpu(u8 trace_chan_id, int *cpu) in cs_etm__get_cpu() argument
147 inode = intlist__find(traceid_list, trace_chan_id); in cs_etm__get_cpu()
157 u8 trace_chan_id) in cs_etm__etmq_set_traceid_queue_timestamp() argument
166 etmq->pending_timestamp = trace_chan_id; in cs_etm__etmq_set_traceid_queue_timestamp()
170 u8 *trace_chan_id) in cs_etm__etmq_get_timestamp() argument
[all …]
/tools/perf/util/cs-etm-decoder/
Dcs-etm-decoder.c44 const u8 trace_chan_id, in cs_etm_decoder__mem_access() argument
50 return decoder->mem_access(decoder->data, trace_chan_id, in cs_etm_decoder__mem_access()
275 const uint8_t trace_chan_id) in cs_etm_decoder__do_soft_timestamp() argument
288 cs_etm__etmq_set_traceid_queue_timestamp(etmq, trace_chan_id); in cs_etm_decoder__do_soft_timestamp()
296 const uint8_t trace_chan_id) in cs_etm_decoder__do_hard_timestamp() argument
301 packet_queue = cs_etm__etmq_get_packet_queue(etmq, trace_chan_id); in cs_etm_decoder__do_hard_timestamp()
327 cs_etm__etmq_set_traceid_queue_timestamp(etmq, trace_chan_id); in cs_etm_decoder__do_hard_timestamp()
343 const u8 trace_chan_id, in cs_etm_decoder__buffer_packet() argument
352 if (cs_etm__get_cpu(trace_chan_id, &cpu) < 0) in cs_etm_decoder__buffer_packet()
373 packet_queue->packet_buffer[et].trace_chan_id = trace_chan_id; in cs_etm_decoder__buffer_packet()
[all …]