| /kernel/linux/linux-5.10/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.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 | 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 | 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 …]
|
| /kernel/linux/linux-5.10/arch/alpha/kernel/ |
| D | err_common.c | 91 union el_timestamp timestamp; in el_process_header_subpacket() local 109 timestamp.as_int = 0; in el_process_header_subpacket() 116 timestamp = header->by_type.sys_event.timestamp; in el_process_header_subpacket() 123 timestamp = header->by_type.err_halt.timestamp; in el_process_header_subpacket() 129 timestamp.as_int = 0; in el_process_header_subpacket() 143 el_print_timestamp(×tamp); in el_process_header_subpacket() 169 el_print_timestamp(union el_timestamp *timestamp) in el_print_timestamp() argument 171 if (timestamp->as_int) in el_print_timestamp() 174 timestamp->b.month, timestamp->b.day, in el_print_timestamp() 175 timestamp->b.year, timestamp->b.hour, in el_print_timestamp() [all …]
|
| /kernel/linux/linux-5.10/drivers/net/can/dev/ |
| D | rx-offload.c | 12 u32 timestamp; member 90 cb_pos->timestamp, cb_new->timestamp, in __skb_queue_add_sort() 91 cb_new->timestamp - cb_pos->timestamp, in __skb_queue_add_sort() 115 return cb_b->timestamp - cb_a->timestamp; in can_rx_offload_compare() 145 u32 timestamp; in can_rx_offload_offload_one() local 152 skb = offload->mailbox_read(offload, n, ×tamp, drop); in can_rx_offload_offload_one() 169 cb->timestamp = timestamp; in can_rx_offload_offload_one() 241 struct sk_buff *skb, u32 timestamp) in can_rx_offload_queue_sorted() argument 253 cb->timestamp = timestamp; in can_rx_offload_queue_sorted() 266 unsigned int idx, u32 timestamp) in can_rx_offload_get_echo_skb() argument [all …]
|
| /kernel/linux/linux-5.10/include/trace/events/ |
| D | power_cpu_migrate.h | 11 TP_PROTO(u64 timestamp, \ 14 TP_ARGS(timestamp, \ 23 __field(u64, timestamp ) 28 __entry->timestamp = timestamp; 33 (unsigned long long)__entry->timestamp,
|
| D | vb2.h | 22 __field(u64, timestamp) 33 __entry->timestamp = vb->timestamp; 42 __entry->timestamp
|
| /kernel/linux/linux-5.10/tools/perf/util/intel-pt-decoder/ |
| D | intel-pt-decoder.c | 129 uint64_t timestamp; member 520 decoder->sample_timestamp = decoder->timestamp; in intel_pt_update_sample_time() 528 decoder->timestamp = 0; in intel_pt_reposition() 677 uint64_t timestamp; member 708 uint64_t timestamp; in intel_pt_calc_cyc_cb() local 752 timestamp = data->ctc_timestamp + in intel_pt_calc_cyc_cb() 755 timestamp = data->ctc_timestamp + in intel_pt_calc_cyc_cb() 761 if (timestamp < data->timestamp) in intel_pt_calc_cyc_cb() 765 data->timestamp = timestamp; in intel_pt_calc_cyc_cb() 778 timestamp = pkt_info->packet.payload | in intel_pt_calc_cyc_cb() [all …]
|
| /kernel/linux/linux-5.10/drivers/iio/imu/inv_mpu6050/ |
| D | inv_mpu_ring.c | 29 s64 timestamp, size_t nb) in inv_mpu6050_update_period() argument 51 delta = div_s64(timestamp - st->it_timestamp, divider); in inv_mpu6050_update_period() 66 st->data_timestamp = timestamp - interval; in inv_mpu6050_update_period() 70 st->it_timestamp = timestamp; in inv_mpu6050_update_period() 124 s64 timestamp; in inv_mpu6050_read_fifo() local 180 inv_mpu6050_update_period(st, pf->timestamp, nb); in inv_mpu6050_read_fifo() 191 timestamp = inv_mpu6050_get_timestamp(st); in inv_mpu6050_read_fifo() 192 iio_push_to_buffers_with_timestamp(indio_dev, st->data, timestamp); in inv_mpu6050_read_fifo()
|
| /kernel/linux/linux-5.10/drivers/platform/chrome/ |
| D | cros_ec_sensorhub_ring.c | 58 return cb(indio_dev, sample->vector, sample->timestamp); in cros_sensorhub_send_sample() 365 sample->timestamp) in cros_ec_sensor_ring_check_for_past_timestamp() 367 sample->timestamp = in cros_ec_sensor_ring_check_for_past_timestamp() 371 sample->timestamp; in cros_ec_sensor_ring_check_for_past_timestamp() 405 s64 a = in->timestamp; in cros_ec_sensor_ring_process_event() 406 s64 b = fifo_info->timestamp; in cros_ec_sensor_ring_process_event() 434 trace_cros_ec_sensorhub_timestamp(in->timestamp, in cros_ec_sensor_ring_process_event() 435 fifo_info->timestamp, in cros_ec_sensor_ring_process_event() 455 out->timestamp = *current_timestamp; in cros_ec_sensor_ring_process_event() 473 fifo_info->timestamp, in cros_ec_sensor_ring_process_event() [all …]
|
| /kernel/linux/linux-5.10/drivers/iio/imu/inv_icm42600/ |
| D | inv_icm42600_timestamp.h | 46 int64_t timestamp; member 63 size_t sensor_nb, int64_t timestamp); 68 ts->timestamp += ts->period; in inv_icm42600_timestamp_pop() 69 return ts->timestamp; in inv_icm42600_timestamp_pop() 82 ts->timestamp = 0; in inv_icm42600_timestamp_reset()
|
| D | inv_icm42600_timestamp.c | 113 size_t sensor_nb, int64_t timestamp) in inv_icm42600_timestamp_interrupt() argument 128 it->up = timestamp; in inv_icm42600_timestamp_interrupt() 140 if (ts->timestamp == 0) { in inv_icm42600_timestamp_interrupt() 143 ts->timestamp = it->up - interval; in inv_icm42600_timestamp_interrupt() 152 delta = it->lo - ts->timestamp; in inv_icm42600_timestamp_interrupt() 162 ts->timestamp += delta; in inv_icm42600_timestamp_interrupt() 187 if (ts->timestamp != 0) { in inv_icm42600_timestamp_apply_odr() 193 ts->timestamp = ts->it.up - interval; in inv_icm42600_timestamp_apply_odr()
|
| /kernel/linux/linux-5.10/drivers/staging/blackbox/ |
| D | blackbox_core.c | 108 const char *timestamp); 110 const char *timestamp, int need_sys_reset); 167 const char *timestamp) in format_log_dir() argument 170 !timestamp)) { in format_log_dir() 172 buf, (unsigned int)buf_size, log_root_dir, timestamp); in format_log_dir() 177 scnprintf(buf, buf_size - 1, "%s/%s", log_root_dir, timestamp); in format_log_dir() 203 const char *timestamp, int need_sys_reset) in save_history_log() argument 208 if (unlikely(!log_root_dir || !info || !timestamp)) { in save_history_log() 210 log_root_dir, info, timestamp); in save_history_log() 221 info->category, info->event, timestamp, in save_history_log() [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/timer/ |
| D | base.c | 79 if (alarm->timestamp > nvkm_timer_read(tmr)) { in nvkm_timer_alarm_trigger() 81 tmr->func->alarm_init(tmr, alarm->timestamp); in nvkm_timer_alarm_trigger() 82 if (alarm->timestamp > nvkm_timer_read(tmr)) in nvkm_timer_alarm_trigger() 121 alarm->timestamp = nvkm_timer_read(tmr) + nsec; in nvkm_timer_alarm() 123 if (list->timestamp > alarm->timestamp) in nvkm_timer_alarm() 132 tmr->func->alarm_init(tmr, alarm->timestamp); in nvkm_timer_alarm() 138 WARN_ON(alarm->timestamp <= nvkm_timer_read(tmr)); in nvkm_timer_alarm()
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/diag/ |
| D | fw_tracer.h | 60 u64 timestamp; member 118 u32 timestamp; member 142 u64 timestamp; member 147 u32 timestamp; member 165 u8 timestamp[0x7]; member 172 u8 timestamp[0x7]; member
|
| /kernel/linux/common_modules/xpm/core/ |
| D | xpm_report.c | 60 "{ "JSTR_PAIR(event_type, %s)", "JVAL_PAIR(timestamp, %llu)" }", in set_init_content() 61 param->event_type, param->timestamp); in set_init_content() 88 "{ "JSTR_PAIR(event_type, %s)", "JVAL_PAIR(timestamp, %llu)", " in set_mmap_content() 92 param->event_type, param->timestamp, param->pid, in set_mmap_content() 112 "{ "JSTR_PAIR(event_type, %s)", "JVAL_PAIR(timestamp, %llu)", " in set_file_content() 114 param->event_type, param->timestamp, param->pid, in set_file_content() 140 "{ " JSTR_PAIR(event_type, %s)", "JVAL_PAIR(timestamp, %llu)", " in set_integrity_content() 144 param->event_type, param->timestamp, param->pid, page_type, in set_integrity_content() 228 param->timestamp = ktime_get_real_seconds(); in xpm_report_event()
|
| /kernel/linux/linux-5.10/Documentation/networking/ |
| D | timestamping.rst | 14 Generates a timestamp for each incoming packet in (not necessarily 15 monotonic) system time. Reports the timestamp via recvmsg() in a 25 timestamp as struct timespec in nsec resolution. 33 Only for multicast:approximate transmit timestamp obtained by 34 reading the looped packet receive timestamp. 38 multiple timestamp sources, including hardware. Supports generating 48 same is true for all early receive timestamp options. 52 Always use SO_TIMESTAMP_NEW timestamp to always get timestamp in 64 Always use SO_TIMESTAMPNS_NEW timestamp to always get timestamp in 73 Supports multiple types of timestamp requests. As a result, this [all …]
|
| /kernel/linux/linux-5.10/Documentation/trace/postprocess/ |
| D | trace-vmscan-postprocess.pl | 261 my $timestamp = $_[0]; 263 my ($sec, $usec) = split (/\./, $timestamp); 271 my $timestamp; 281 $timestamp = $4; 306 $timestamp = timestamp_to_ms($timestamp); 308 $perprocesspid{$process_pid}->{STATE_DIRECT_BEGIN} = $timestamp; 327 $timestamp = timestamp_to_ms($timestamp); 329 my $latency = ($timestamp - $perprocesspid{$process_pid}->{STATE_DIRECT_BEGIN}); 344 $timestamp = timestamp_to_ms($timestamp); 346 $perprocesspid{$process_pid}->{STATE_KSWAPD_BEGIN} = $timestamp; [all …]
|
| /kernel/linux/linux-5.10/drivers/net/wireless/ath/ath9k/ |
| D | link.c | 312 unsigned int timestamp = jiffies_to_msecs(jiffies); in ath_ani_calibrate() local 341 if ((timestamp - common->ani.longcal_timer) >= long_cal_interval) { in ath_ani_calibrate() 343 common->ani.longcal_timer = timestamp; in ath_ani_calibrate() 348 if ((timestamp - common->ani.shortcal_timer) >= short_cal_interval) { in ath_ani_calibrate() 350 common->ani.shortcal_timer = timestamp; in ath_ani_calibrate() 351 common->ani.resetcal_timer = timestamp; in ath_ani_calibrate() 354 if ((timestamp - common->ani.resetcal_timer) >= in ath_ani_calibrate() 358 common->ani.resetcal_timer = timestamp; in ath_ani_calibrate() 363 if ((timestamp - common->ani.checkani_timer) >= ah->config.ani_poll_interval) { in ath_ani_calibrate() 365 common->ani.checkani_timer = timestamp; in ath_ani_calibrate() [all …]
|
| /kernel/linux/linux-5.10/drivers/iio/common/st_sensors/ |
| D | st_sensors_buffer.c | 57 s64 timestamp; in st_sensors_trigger_handler() local 66 timestamp = sdata->hw_timestamp; in st_sensors_trigger_handler() 68 timestamp = iio_get_time_ns(indio_dev); in st_sensors_trigger_handler() 75 timestamp); in st_sensors_trigger_handler()
|
| /kernel/linux/linux-5.10/drivers/s390/scsi/ |
| D | zfcp_diag.c | 54 hdr->timestamp = jiffies - msecs_to_jiffies(diag->max_age); in zfcp_diag_adapter_setup() 63 hdr->timestamp = jiffies - msecs_to_jiffies(diag->max_age); in zfcp_diag_adapter_setup() 137 if (!time_after_eq(capture_timestamp, hdr->timestamp)) in zfcp_diag_update_xdata() 140 hdr->timestamp = capture_timestamp; in zfcp_diag_update_xdata() 251 if (!time_after_eq(now, hdr->timestamp)) in __zfcp_diag_test_buffer_age_isfresh() 254 if (jiffies_to_msecs(now - hdr->timestamp) >= diag->max_age) in __zfcp_diag_test_buffer_age_isfresh()
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qed/ |
| D | qed_ptp.c | 103 static int qed_ptp_hw_read_rx_ts(struct qed_dev *cdev, u64 *timestamp) in qed_ptp_hw_read_rx_ts() argument 109 *timestamp = 0; in qed_ptp_hw_read_rx_ts() 117 *timestamp = qed_rd(p_hwfn, p_ptt, NIG_REG_LLH_PTP_HOST_BUF_TS_MSB); in qed_ptp_hw_read_rx_ts() 118 *timestamp <<= 32; in qed_ptp_hw_read_rx_ts() 119 *timestamp |= val; in qed_ptp_hw_read_rx_ts() 129 static int qed_ptp_hw_read_tx_ts(struct qed_dev *cdev, u64 *timestamp) in qed_ptp_hw_read_tx_ts() argument 135 *timestamp = 0; in qed_ptp_hw_read_tx_ts() 144 *timestamp = qed_rd(p_hwfn, p_ptt, NIG_REG_TX_LLH_PTP_BUF_TS_MSB); in qed_ptp_hw_read_tx_ts() 145 *timestamp <<= 32; in qed_ptp_hw_read_tx_ts() 146 *timestamp |= val; in qed_ptp_hw_read_tx_ts()
|
| /kernel/linux/linux-5.10/usr/ |
| D | gen_initramfs.sh | 240 timestamp= 242 timestamp="$(date -d"$KBUILD_BUILD_TIMESTAMP" +%s || :)" 243 if test -n "$timestamp"; then 244 timestamp="-t $timestamp" 247 usr/gen_init_cpio $timestamp $cpio_list > $output
|
| /kernel/linux/linux-5.10/drivers/net/wireless/intersil/orinoco/ |
| D | scan.c | 82 u64 timestamp; in orinoco_add_hostscan_result() local 121 timestamp = 0; in orinoco_add_hostscan_result() 127 bss->a.bssid, timestamp, capability, in orinoco_add_hostscan_result() 141 u64 timestamp; in orinoco_add_extscan_result() local 154 timestamp = le64_to_cpu(bss->timestamp); in orinoco_add_extscan_result() 161 bss->bssid, timestamp, capability, in orinoco_add_extscan_result()
|