Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/samples/bpf/
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()
Dtracex3_kern.c28 u64 val = bpf_ktime_get_ns(); in bpf_prog1()
63 u64 cur_time = bpf_ktime_get_ns(); in bpf_prog2()
Dlathist_kern.c35 *ts = bpf_ktime_get_ns(); in bpf_prog1()
83 cur_ts = bpf_ktime_get_ns(); in bpf_prog2()
Doffwaketime_kern.c138 ts = bpf_ktime_get_ns();
148 delta = bpf_ktime_get_ns() - *tsp;
Dhbm_kern.h140 qdp->lasttime = bpf_ktime_get_ns(); in hbm_init_vqueue()
150 curtime = bpf_ktime_get_ns(); in hbm_init_edt_vqueue()
Dtracex4_kern.c47 .val = bpf_ktime_get_ns(), in bpf_prog2()
Dtcp_dumpstats_kern.c52 now = bpf_ktime_get_ns(); in _sockops()
Dhbm_edt_kern.c89 curtime = bpf_ktime_get_ns(); in _hbm_out_cg()
Dhbm_out_kern.c91 curtime = bpf_ktime_get_ns(); in _hbm_out_cg()
/kernel/linux/linux-5.10/tools/bpf/runqslower/
Drunqslower.bpf.c35 ts = bpf_ktime_get_ns(); in trace_enqueue()
82 delta_us = (bpf_ktime_get_ns() - *tsp) / 1000; in handle__sched_switch()
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/
Dxdping_kern.c114 recvtime = bpf_ktime_get_ns(); in xdping_client()
148 pinginfo->start = bpf_ktime_get_ns(); in xdping_client()
Dnetcnt_prog.c50 ts = bpf_ktime_get_ns(); in bpf_nextcnt()
Dtest_tc_edt.c33 uint64_t now = bpf_ktime_get_ns(); in throttle_flow()
Dtest_spin_lock.c82 curtime = bpf_ktime_get_ns(); in bpf_sping_lock_test()
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()
Dtest_tcp_estats.c167 event->ts = bpf_ktime_get_ns(); in tcp_estats_ev_init()
Dstrobemeta.h524 ktime_ns = bpf_ktime_get_ns(); in on_event()
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()
/kernel/linux/linux-5.10/kernel/bpf/
Dhelpers.c147 BPF_CALL_0(bpf_ktime_get_ns) in BPF_CALL_0() argument
154 .func = bpf_ktime_get_ns,