/tools/perf/util/ |
D | ordered-events.c | 21 u64 timestamp = new->timestamp; in queue_event() local 27 pr_oe_time2(timestamp, "queue_event nr_events %u\n", oe->nr_events); in queue_event() 31 oe->max_timestamp = timestamp; in queue_event() 40 if (last->timestamp <= timestamp) { in queue_event() 41 while (last->timestamp <= timestamp) { in queue_event() 45 oe->max_timestamp = timestamp; in queue_event() 52 while (last->timestamp > timestamp) { in queue_event() 172 ordered_events__new_event(struct ordered_events *oe, u64 timestamp, in ordered_events__new_event() argument 179 new->timestamp = timestamp; in ordered_events__new_event() 195 u64 timestamp, u64 file_offset) in ordered_events__queue() argument [all …]
|
D | time-utils.h | 22 bool perf_time__skip_sample(struct perf_time_interval *ptime, u64 timestamp); 25 int num, u64 timestamp); 38 int timestamp__scnprintf_usec(u64 timestamp, char *buf, size_t sz); 39 int timestamp__scnprintf_nsec(u64 timestamp, char *buf, size_t sz);
|
D | time-utils.c | 419 bool perf_time__skip_sample(struct perf_time_interval *ptime, u64 timestamp) in perf_time__skip_sample() argument 422 if (timestamp == 0) in perf_time__skip_sample() 426 if ((ptime->start && timestamp < ptime->start) || in perf_time__skip_sample() 427 (ptime->end && timestamp > ptime->end)) { in perf_time__skip_sample() 435 int num, u64 timestamp) in perf_time__ranges_skip_sample() argument 440 if ((!ptime_buf) || (timestamp == 0) || (num == 0)) in perf_time__ranges_skip_sample() 444 return perf_time__skip_sample(&ptime_buf[0], timestamp); in perf_time__ranges_skip_sample() 452 if (timestamp >= ptime->start && in perf_time__ranges_skip_sample() 453 (timestamp <= ptime->end || !ptime->end)) { in perf_time__ranges_skip_sample() 528 int timestamp__scnprintf_usec(u64 timestamp, char *buf, size_t sz) in timestamp__scnprintf_usec() argument [all …]
|
D | comm.h | 23 struct comm *comm__new(const char *str, u64 timestamp, bool exec); 25 int comm__override(struct comm *comm, const char *str, u64 timestamp,
|
D | thread.c | 173 static int __thread__set_namespaces(struct thread *thread, u64 timestamp, in __thread__set_namespaces() argument 184 if (timestamp && curr) { in __thread__set_namespaces() 191 curr->end_time = timestamp; in __thread__set_namespaces() 197 int thread__set_namespaces(struct thread *thread, u64 timestamp, in thread__set_namespaces() argument 203 ret = __thread__set_namespaces(thread, timestamp, event); in thread__set_namespaces() 240 u64 timestamp, bool exec) in ____thread__set_comm() argument 246 int err = comm__override(curr, str, timestamp, exec); in ____thread__set_comm() 250 new = comm__new(str, timestamp, exec); in ____thread__set_comm() 264 int __thread__set_comm(struct thread *thread, const char *str, u64 timestamp, in __thread__set_comm() argument 270 ret = ____thread__set_comm(thread, str, timestamp, exec); in __thread__set_comm() [all …]
|
D | thread.h | 89 int thread__set_namespaces(struct thread *thread, u64 timestamp, 92 int __thread__set_comm(struct thread *thread, const char *comm, u64 timestamp, 95 u64 timestamp) in thread__set_comm() argument 97 return __thread__set_comm(thread, comm, timestamp, false); in thread__set_comm() 107 int thread__fork(struct thread *thread, struct thread *parent, u64 timestamp, bool do_maps_clone);
|
D | arm-spe.c | 90 u64 timestamp; member 238 sample->time = tsc_to_perf_time(record->timestamp, &spe->tc); in arm_spe_prep_sample() 441 static int arm_spe_run_decoder(struct arm_spe_queue *speq, u64 *timestamp) in arm_spe_run_decoder() argument 490 if (record->timestamp > speq->timestamp) in arm_spe_run_decoder() 491 speq->timestamp = record->timestamp; in arm_spe_run_decoder() 498 if (!spe->timeless_decoding && speq->timestamp >= *timestamp) { in arm_spe_run_decoder() 499 *timestamp = speq->timestamp; in arm_spe_run_decoder() 544 speq->timestamp = record->timestamp; in arm_spe__setup_queue() 545 ret = auxtrace_heap__add(&spe->heap, queue_nr, speq->timestamp); in arm_spe__setup_queue() 621 static int arm_spe_process_queues(struct arm_spe *spe, u64 timestamp) in arm_spe_process_queues() argument [all …]
|
D | ordered-events.h | 10 u64 timestamp; member 56 u64 timestamp, u64 file_offset); 59 int ordered_events__flush_time(struct ordered_events *oe, u64 timestamp);
|
D | comm.c | 108 struct comm *comm__new(const char *str, u64 timestamp, bool exec) in comm__new() argument 115 comm->start = timestamp; in comm__new() 127 int comm__override(struct comm *comm, const char *str, u64 timestamp, bool exec) in comm__override() argument 137 comm->start = timestamp; in comm__override()
|
D | s390-cpumsf.c | 317 memcpy(&ts, &te->timestamp[idx], sizeof(ts)); in trailer_timestamp() 335 memcpy(&local.timestamp, te->timestamp, sizeof(te->timestamp)); in s390_cpumsf_trailer_show() 842 static int s390_cpumsf_process_queues(struct s390_cpumsf *sf, u64 timestamp) in s390_cpumsf_process_queues() argument 855 if (sf->heap.heap_array[0].ordinal >= timestamp) in s390_cpumsf_process_queues() 865 if (ts > timestamp) in s390_cpumsf_process_queues() 866 ts = timestamp; in s390_cpumsf_process_queues() 868 ts = timestamp; in s390_cpumsf_process_queues() 886 pid_t pid, pid_t tid, u64 ip, u64 timestamp) in s390_cpumsf_synth_error() argument 894 code, cpu, pid, tid, ip, msg, timestamp); in s390_cpumsf_synth_error() 919 u64 timestamp = sample->time; in s390_cpumsf_process_event() local [all …]
|
D | intel-pt.c | 177 u64 timestamp; member 1304 static void intel_pt_first_timestamp(struct intel_pt *pt, u64 timestamp) in intel_pt_first_timestamp() argument 1308 pt->first_timestamp = timestamp; in intel_pt_first_timestamp() 1315 intel_pt_set_first_timestamp(ptq->decoder, timestamp); in intel_pt_first_timestamp() 1454 if (state->timestamp) in intel_pt_setup_queue() 1458 ptq->timestamp = state->timestamp; in intel_pt_setup_queue() 1460 queue_nr, ptq->timestamp); in intel_pt_setup_queue() 1464 ptq->timestamp < ptq->sel_timestamp) in intel_pt_setup_queue() 1467 ret = auxtrace_heap__add(&pt->heap, queue_nr, ptq->timestamp); in intel_pt_setup_queue() 1528 sample->time = tsc_to_perf_time(ptq->timestamp, &pt->tc); in intel_pt_prep_b_sample() [all …]
|
D | jitdump.h | 44 uint64_t timestamp; /* timestamp */ member 62 uint64_t timestamp; member
|
D | s390-sample-raw.c | 92 te.timestamp = be64_to_cpu(tep->timestamp); in s390_cpumcfdg_dumptrail() 106 te.cfvn, te.csvn, te.cpu_speed, te.timestamp); in s390_cpumcfdg_dumptrail()
|
D | s390-cpumcf-kernel.h | 41 unsigned long timestamp; /* 128-191 Timestamp (TOD) */ member
|
D | s390-cpumsf-kernel.h | 58 unsigned char timestamp[16]; /* 16 - 31 timestamp */ member
|
D | thread-stack.c | 55 u64 timestamp; member 300 u64 timestamp, u64 ref, bool no_return) in thread_stack__call_return() argument 313 cr.call_time = tse->timestamp; in thread_stack__call_return() 314 cr.return_time = timestamp; in thread_stack__call_return() 782 u64 timestamp, u64 ref, struct call_path *cp, in thread_stack__push_cp() argument 799 tse->timestamp = timestamp; in thread_stack__push_cp() 814 u64 ret_addr, u64 timestamp, u64 ref, in thread_stack__pop_cp() argument 827 timestamp, ref, false); in thread_stack__pop_cp() 833 timestamp, ref, false); in thread_stack__pop_cp() 845 timestamp, ref, in thread_stack__pop_cp() [all …]
|
/tools/perf/util/intel-pt-decoder/ |
D | intel-pt-decoder.c | 153 uint64_t timestamp; member 613 decoder->sample_timestamp = decoder->timestamp; in intel_pt_update_sample_time() 621 decoder->timestamp = 0; in intel_pt_reposition() 771 uint64_t timestamp; member 802 uint64_t timestamp; in intel_pt_calc_cyc_cb() local 849 timestamp = data->ctc_timestamp + in intel_pt_calc_cyc_cb() 852 timestamp = data->ctc_timestamp + in intel_pt_calc_cyc_cb() 858 if (timestamp < data->timestamp) in intel_pt_calc_cyc_cb() 862 data->timestamp = timestamp; in intel_pt_calc_cyc_cb() 875 timestamp = pkt_info->packet.payload | in intel_pt_calc_cyc_cb() [all …]
|
D | intel-pt-decoder.h | 186 uint64_t timestamp; member 222 uint64_t timestamp; member 284 int intel_pt_fast_forward(struct intel_pt_decoder *decoder, uint64_t timestamp);
|
/tools/lib/traceevent/ |
D | kbuffer-parse.c | 44 unsigned long long timestamp; member 323 kbuf->timestamp += delta; in old_update_pointers() 398 kbuf->timestamp = delta; in update_pointers() 400 kbuf->timestamp += delta; in update_pointers() 494 *ts = kbuf->timestamp; in kbuffer_next_event() 520 kbuf->timestamp = read_8(kbuf, ptr); in kbuffer_load_subbuffer() 597 *ts = kbuf->timestamp; in kbuffer_read_event() 609 return kbuf->timestamp; in kbuffer_timestamp()
|
/tools/perf/bench/ |
D | inject-buildid.c | 172 static ssize_t synthesize_mmap(struct bench_data *data, struct bench_dso *dso, u64 timestamp) in synthesize_mmap() argument 206 id_hdr_ptr[ts_idx] = timestamp; in synthesize_mmap() 214 id_hdr_ptr[ts_idx] = timestamp; in synthesize_mmap() 218 static ssize_t synthesize_sample(struct bench_data *data, struct bench_dso *dso, u64 timestamp) in synthesize_sample() argument 225 .time = timestamp, in synthesize_sample() 366 u64 timestamp = rand() % 1000000; in inject_build_id() local 369 if (synthesize_mmap(data, dso, timestamp) < 0) in inject_build_id() 373 if (synthesize_sample(data, dso, timestamp + k * 1000) < 0) in inject_build_id()
|
/tools/perf/ |
D | builtin-sched.c | 87 u64 timestamp; member 359 get_new_event(struct task_desc *task, u64 timestamp) in get_new_event() argument 365 event->timestamp = timestamp; in get_new_event() 387 u64 timestamp, u64 duration) in add_sched_event_run() argument 401 event = get_new_event(task, timestamp); in add_sched_event_run() 410 u64 timestamp, struct task_desc *wakee) in add_sched_event_wakeup() argument 414 event = get_new_event(task, timestamp); in add_sched_event_wakeup() 437 u64 timestamp, u64 task_state __maybe_unused) in add_sched_event_sleep() argument 439 struct sched_atom *event = get_new_event(task, timestamp); in add_sched_event_sleep() 843 u64 timestamp0, timestamp = sample->time; in replay_switch_event() local [all …]
|
D | builtin-timechart.c | 130 u64 timestamp; member 242 static void pid_fork(struct timechart *tchart, int pid, int ppid, u64 timestamp) in pid_fork() argument 251 p->start_time = timestamp; in pid_fork() 253 p->current->start_time = timestamp; in pid_fork() 254 p->current->state_since = timestamp; in pid_fork() 258 static void pid_exit(struct timechart *tchart, int pid, u64 timestamp) in pid_exit() argument 262 p->end_time = timestamp; in pid_exit() 264 p->current->end_time = timestamp; in pid_exit() 347 static void c_state_start(int cpu, u64 timestamp, int state) in c_state_start() argument 349 cpus_cstate_start_times[cpu] = timestamp; in c_state_start() [all …]
|
/tools/tracing/latency/ |
D | latency-collector.c | 1073 const struct timespec *timestamp, char *buffer, in __print_skipmessage() argument 1082 sec = timestamp->tv_sec; in __print_skipmessage() 1083 us = timestamp->tv_nsec / 1000; in __print_skipmessage() 1112 const struct timespec *timestamp, char *buffer, in print_skipmessage() argument 1116 __print_skipmessage(resize_msg, timestamp, buffer, bufspace, req, in print_skipmessage() 1120 static void print_lostmessage(const struct timespec *timestamp, char *buffer, in print_lostmessage() argument 1124 __print_skipmessage(NULL, timestamp, buffer, bufspace, req, true, in print_lostmessage() 1129 const struct timespec *timestamp, char *buffer, in print_tracefile() argument 1159 sec = timestamp->tv_sec; in print_tracefile() 1160 us = timestamp->tv_nsec / 1000; in print_tracefile() [all …]
|
/tools/include/uapi/linux/ |
D | erspan.h | 21 __be32 timestamp; member
|
/tools/perf/jvmti/ |
D | jvmti_agent.c | 315 header.timestamp = perf_get_timestamp(); in jvmti_open() 344 rec.p.timestamp = perf_get_timestamp(); in jvmti_close() 381 rec.p.timestamp = perf_get_timestamp(); in jvmti_write_code() 444 rec.p.timestamp = perf_get_timestamp(); in jvmti_write_debug_info()
|