Home
last modified time | relevance | path

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

/openbmc/linux/tools/perf/util/
H A Dtsc.c80 .time_conv = { in perf_event__synth_time_conv()
100 event.time_conv.time_mult = tc.time_mult; in perf_event__synth_time_conv()
101 event.time_conv.time_shift = tc.time_shift; in perf_event__synth_time_conv()
102 event.time_conv.time_zero = tc.time_zero; in perf_event__synth_time_conv()
103 event.time_conv.time_cycles = tc.time_cycles; in perf_event__synth_time_conv()
104 event.time_conv.time_mask = tc.time_mask; in perf_event__synth_time_conv()
105 event.time_conv.cap_user_time_zero = tc.cap_user_time_zero; in perf_event__synth_time_conv()
106 event.time_conv.cap_user_time_short = tc.cap_user_time_short; in perf_event__synth_time_conv()
H A Djitdump.c207 if (jd->use_arch_timestamp && !jd->session->time_conv.time_mult) { in jit_open()
395 struct perf_record_time_conv *time_conv = &jd->session->time_conv; in convert_timestamp() local
400 tc.time_shift = time_conv->time_shift; in convert_timestamp()
401 tc.time_mult = time_conv->time_mult; in convert_timestamp()
402 tc.time_zero = time_conv->time_zero; in convert_timestamp()
410 if (event_contains(*time_conv, time_cycles)) { in convert_timestamp()
411 tc.time_cycles = time_conv->time_cycles; in convert_timestamp()
412 tc.time_mask = time_conv->time_mask; in convert_timestamp()
413 tc.cap_user_time_zero = time_conv->cap_user_time_zero; in convert_timestamp()
414 tc.cap_user_time_short = time_conv->cap_user_time_short; in convert_timestamp()
H A Dtool.h73 time_conv, member
H A Dsession.c557 if (tool->time_conv == NULL) in perf_tool__fill_defaults()
558 tool->time_conv = process_event_time_conv_stub; in perf_tool__fill_defaults()
989 event->time_conv.time_shift = bswap_64(event->time_conv.time_shift); in perf_event__time_conv_swap()
990 event->time_conv.time_mult = bswap_64(event->time_conv.time_mult); in perf_event__time_conv_swap()
991 event->time_conv.time_zero = bswap_64(event->time_conv.time_zero); in perf_event__time_conv_swap()
993 if (event_contains(event->time_conv, time_cycles)) { in perf_event__time_conv_swap()
994 event->time_conv.time_cycles = bswap_64(event->time_conv.time_cycles); in perf_event__time_conv_swap()
995 event->time_conv.time_mask = bswap_64(event->time_conv.time_mask); in perf_event__time_conv_swap()
1725 session->time_conv = event->time_conv; in perf_session__process_user_event()
1726 return tool->time_conv(session, event); in perf_session__process_user_event()
H A Dsession.h39 struct perf_record_time_conv time_conv; member
H A Darm-spe.c1295 struct perf_record_time_conv *tc = &session->time_conv; in arm_spe_process_auxtrace_info()
H A Dcs-etm.c3214 struct perf_record_time_conv *tc = &session->time_conv; in cs_etm__process_auxtrace_info_full()
/openbmc/linux/tools/perf/
H A Dbuiltin-inject.c1329 static void get_tsc_conv(struct perf_tsc_conversion *tc, struct perf_record_time_conv *time_conv) in get_tsc_conv() argument
1331 tc->time_shift = time_conv->time_shift; in get_tsc_conv()
1332 tc->time_mult = time_conv->time_mult; in get_tsc_conv()
1333 tc->time_zero = time_conv->time_zero; in get_tsc_conv()
1334 tc->time_cycles = time_conv->time_cycles; in get_tsc_conv()
1335 tc->time_mask = time_conv->time_mask; in get_tsc_conv()
1336 tc->cap_user_time_zero = time_conv->cap_user_time_zero; in get_tsc_conv()
1337 tc->cap_user_time_short = time_conv->cap_user_time_short; in get_tsc_conv()
1344 get_tsc_conv(&gs->host_tc, &inject->session->time_conv); in guest_session__get_tc()
1345 get_tsc_conv(&gs->guest_tc, &gs->session->time_conv); in guest_session__get_tc()
[all …]
/openbmc/linux/tools/lib/perf/include/perf/
H A Devent.h512 struct perf_record_time_conv time_conv; member