Home
last modified time | relevance | path

Searched refs:time_conv (Results 1 – 7 of 7) sorted by relevance

/kernel/linux/linux-5.10/tools/perf/util/
Dtsc.c78 .time_conv = { in perf_event__synth_time_conv()
98 event.time_conv.time_mult = tc.time_mult; in perf_event__synth_time_conv()
99 event.time_conv.time_shift = tc.time_shift; in perf_event__synth_time_conv()
100 event.time_conv.time_zero = tc.time_zero; in perf_event__synth_time_conv()
101 event.time_conv.time_cycles = tc.time_cycles; in perf_event__synth_time_conv()
102 event.time_conv.time_mask = tc.time_mask; in perf_event__synth_time_conv()
103 event.time_conv.cap_user_time_zero = tc.cap_user_time_zero; in perf_event__synth_time_conv()
104 event.time_conv.cap_user_time_short = tc.cap_user_time_short; in perf_event__synth_time_conv()
Djitdump.c201 if (jd->use_arch_timestamp && !jd->session->time_conv.time_mult) { in jit_open()
373 struct perf_record_time_conv *time_conv = &jd->session->time_conv; in convert_timestamp() local
378 tc.time_shift = time_conv->time_shift; in convert_timestamp()
379 tc.time_mult = time_conv->time_mult; in convert_timestamp()
380 tc.time_zero = time_conv->time_zero; in convert_timestamp()
388 if (event_contains(*time_conv, time_cycles)) { in convert_timestamp()
389 tc.time_cycles = time_conv->time_cycles; in convert_timestamp()
390 tc.time_mask = time_conv->time_mask; in convert_timestamp()
391 tc.cap_user_time_zero = time_conv->cap_user_time_zero; in convert_timestamp()
392 tc.cap_user_time_short = time_conv->cap_user_time_short; in convert_timestamp()
Dsession.c533 if (tool->time_conv == NULL) in perf_tool__fill_defaults()
534 tool->time_conv = process_event_op2_stub; in perf_tool__fill_defaults()
951 event->time_conv.time_shift = bswap_64(event->time_conv.time_shift); in perf_event__time_conv_swap()
952 event->time_conv.time_mult = bswap_64(event->time_conv.time_mult); in perf_event__time_conv_swap()
953 event->time_conv.time_zero = bswap_64(event->time_conv.time_zero); in perf_event__time_conv_swap()
955 if (event_contains(event->time_conv, time_cycles)) { in perf_event__time_conv_swap()
956 event->time_conv.time_cycles = bswap_64(event->time_conv.time_cycles); in perf_event__time_conv_swap()
957 event->time_conv.time_mask = bswap_64(event->time_conv.time_mask); in perf_event__time_conv_swap()
1628 session->time_conv = event->time_conv; in perf_session__process_user_event()
1629 return tool->time_conv(session, event); in perf_session__process_user_event()
Dtool.h71 time_conv, member
Dsession.h31 struct perf_record_time_conv time_conv; member
/kernel/linux/linux-5.10/tools/lib/perf/include/perf/
Devent.h413 struct perf_record_time_conv time_conv; member
/kernel/linux/linux-5.10/tools/perf/
Dbuiltin-inject.c832 .time_conv = perf_event__repipe_op2_synth, in cmd_inject()