Home
last modified time | relevance | path

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

12

/linux-6.1.9/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.c139 ts = bpf_ktime_get_ns();
149 delta = bpf_ktime_get_ns() - *tsp;
Dhbm_kern.h138 qdp->lasttime = bpf_ktime_get_ns(); in hbm_init_vqueue()
148 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()
/linux-6.1.9/tools/testing/selftests/bpf/progs/
Dbpf_hashmap_full_update_bench.c35 u64 start_time = bpf_ktime_get_ns(); in benchmark()
38 percpu_time[cpu & 255] = bpf_ktime_get_ns() - start_time; in benchmark()
Dlocal_storage_rcu_tasks_trace_bench.c45 current_gp_start = bpf_ktime_get_ns(); in pregp_step()
60 __sync_add_and_fetch(&gp_times, bpf_ktime_get_ns() - current_gp_start); in postgp()
Dxdping_kern.c114 recvtime = bpf_ktime_get_ns(); in xdping_client()
148 pinginfo->start = bpf_ktime_get_ns(); in xdping_client()
Dlru_bug.c44 bpf_ktime_get_ns(); in nanosleep()
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()
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()
Dstrobemeta.h593 ktime_ns = bpf_ktime_get_ns(); in on_event()
/linux-6.1.9/tools/bpf/runqslower/
Drunqslower.bpf.c41 *ptr = bpf_ktime_get_ns(); in trace_enqueue()
91 delta_us = (bpf_ktime_get_ns() - *tsp) / 1000; in handle__sched_switch()
/linux-6.1.9/tools/perf/util/bpf_skel/
Dfunc_latency.bpf.c72 now = bpf_ktime_get_ns(); in BPF_PROG()
93 __s64 delta = bpf_ktime_get_ns() - *start; in BPF_PROG()
Dlock_contention.bpf.c118 pelem->timestamp = bpf_ktime_get_ns(); in contention_begin()
145 duration = bpf_ktime_get_ns() - pelem->timestamp; in contention_end()
Dkwork_trace.bpf.c147 __u64 ts = bpf_ktime_get_ns(); in do_update_timestart()
159 do_update_time(report_map, key, *time, bpf_ktime_get_ns()); in do_update_timeend()
Doff_cpu.bpf.c192 ts = bpf_ktime_get_ns(); in off_cpu_stat()

12