Searched refs:bpf_stat_ctx (Results 1 – 1 of 1) sorted by relevance
456 bpf_stat_ctx->start_time_ns = bpf_ktime_get_ns(); in bpf_stats_enter()457 bpf_stat_ctx->bpf_func_stats_data_val = in bpf_stats_enter()459 if (bpf_stat_ctx->bpf_func_stats_data_val) in bpf_stats_enter()460 bpf_stat_ctx->bpf_func_stats_data_val->num_executions++; in bpf_stats_enter()465 if (bpf_stat_ctx->bpf_func_stats_data_val) in bpf_stats_exit()466 bpf_stat_ctx->bpf_func_stats_data_val->time_elapsed_ns += in bpf_stats_exit()467 bpf_ktime_get_ns() - bpf_stat_ctx->start_time_ns; in bpf_stats_exit()474 if (bpf_stat_ctx->bpf_func_stats_data_val) { in bpf_stats_pre_submit_var_perf_event()475 bpf_stat_ctx->bpf_func_stats_data_val->num_perf_events++; in bpf_stats_pre_submit_var_perf_event()477 bpf_stat_ctx->bpf_func_stats_data_val->num_perf_events; in bpf_stats_pre_submit_var_perf_event()[all …]