Searched refs:bpf_stat_ctx (Results 1 – 1 of 1) sorted by relevance
457 bpf_stat_ctx->start_time_ns = bpf_ktime_get_ns(); in bpf_stats_enter()458 bpf_stat_ctx->bpf_func_stats_data_val = in bpf_stats_enter()460 if (bpf_stat_ctx->bpf_func_stats_data_val) in bpf_stats_enter()461 bpf_stat_ctx->bpf_func_stats_data_val->num_executions++; in bpf_stats_enter()466 if (bpf_stat_ctx->bpf_func_stats_data_val) in bpf_stats_exit()467 bpf_stat_ctx->bpf_func_stats_data_val->time_elapsed_ns += in bpf_stats_exit()468 bpf_ktime_get_ns() - bpf_stat_ctx->start_time_ns; in bpf_stats_exit()475 if (bpf_stat_ctx->bpf_func_stats_data_val) { in bpf_stats_pre_submit_var_perf_event()476 bpf_stat_ctx->bpf_func_stats_data_val->num_perf_events++; in bpf_stats_pre_submit_var_perf_event()478 bpf_stat_ctx->bpf_func_stats_data_val->num_perf_events; in bpf_stats_pre_submit_var_perf_event()[all …]
Completed in 5 milliseconds