Home
last modified time | relevance | path

Searched refs:bpf_ktime_get_ns (Results 1 – 19 of 19) sorted by relevance

/OK3568_Linux_fs/kernel/samples/bpf/
H A Dcpustat_kern.c139 *cts = bpf_ktime_get_ns(); in bpf_prog1()
143 cur_ts = bpf_ktime_get_ns(); in bpf_prog1()
239 *pts = bpf_ktime_get_ns(); in bpf_prog2()
243 cur_ts = bpf_ktime_get_ns(); in bpf_prog2()
H A Dtracex3_kern.c28 u64 val = bpf_ktime_get_ns(); in bpf_prog1()
63 u64 cur_time = bpf_ktime_get_ns(); in bpf_prog2()
H A Dlathist_kern.c35 *ts = bpf_ktime_get_ns(); in bpf_prog1()
83 cur_ts = bpf_ktime_get_ns(); in bpf_prog2()
H A Doffwaketime_kern.c138 ts = bpf_ktime_get_ns();
148 delta = bpf_ktime_get_ns() - *tsp;
H A Dhbm_kern.h140 qdp->lasttime = bpf_ktime_get_ns(); in hbm_init_vqueue()
150 curtime = bpf_ktime_get_ns(); in hbm_init_edt_vqueue()
H A Dtracex4_kern.c47 .val = bpf_ktime_get_ns(), in bpf_prog2()
H A Dtcp_dumpstats_kern.c52 now = bpf_ktime_get_ns(); in _sockops()
H A Dhbm_edt_kern.c89 curtime = bpf_ktime_get_ns(); in _hbm_out_cg()
H A Dhbm_out_kern.c91 curtime = bpf_ktime_get_ns(); in _hbm_out_cg()
/OK3568_Linux_fs/kernel/tools/bpf/runqslower/
H A Drunqslower.bpf.c35 ts = bpf_ktime_get_ns(); in trace_enqueue()
82 delta_us = (bpf_ktime_get_ns() - *tsp) / 1000; in handle__sched_switch()
/OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/progs/
H A Dxdping_kern.c114 recvtime = bpf_ktime_get_ns(); in xdping_client()
148 pinginfo->start = bpf_ktime_get_ns(); in xdping_client()
H A Dnetcnt_prog.c50 ts = bpf_ktime_get_ns(); in bpf_nextcnt()
H A Dtest_tc_edt.c33 uint64_t now = bpf_ktime_get_ns(); in throttle_flow()
H A Dprofiler.inc.h377 kill_data->last_kill_time = bpf_ktime_get_ns(); in get_var_kill_data()
425 (bpf_ktime_get_ns() - kill_data->last_kill_time) / 1000000000; in trace_var_sys_kill()
429 kill_data->last_kill_time = bpf_ktime_get_ns(); in trace_var_sys_kill()
452 bpf_stat_ctx->start_time_ns = bpf_ktime_get_ns(); in bpf_stats_enter()
463 bpf_ktime_get_ns() - bpf_stat_ctx->start_time_ns; in bpf_stats_exit()
H A Dtest_spin_lock.c82 curtime = bpf_ktime_get_ns(); in bpf_sping_lock_test()
H A Dtest_tcp_estats.c167 event->ts = bpf_ktime_get_ns(); in tcp_estats_ev_init()
H A Dstrobemeta.h524 ktime_ns = bpf_ktime_get_ns(); in on_event()
H A Dtest_xdp_noinline.c583 cur_time = bpf_ktime_get_ns(); in get_packet_dst()
614 cur_time = bpf_ktime_get_ns(); in connection_table_lookup()
/OK3568_Linux_fs/kernel/kernel/bpf/
H A Dhelpers.c147 BPF_CALL_0(bpf_ktime_get_ns) in BPF_CALL_0() argument
154 .func = bpf_ktime_get_ns,