Searched refs:num_metric (Results 1 – 2 of 2) sorted by relevance
42 const volatile __u32 num_metric = 1; variable53 for (i = 0; i < num_metric && i < MAX_NUM_MATRICS; i++) { in BPF_PROG()61 for (i = 0; i < num_metric && i < MAX_NUM_MATRICS; i++) { in BPF_PROG()109 for (i = 0; i < num_metric && i < MAX_NUM_MATRICS; i++) { in BPF_PROG()119 for (i = 0; i < num_metric && i < MAX_NUM_MATRICS; i++) in BPF_PROG()
2304 obj->rodata->num_cpu * obj->rodata->num_metric, sizeof(int)); in profile_open_perf_events()2349 int num_metric, num_cpu, err = -1; in do_profile() local2376 num_metric = profile_parse_metrics(argc, argv); in do_profile()2377 if (num_metric <= 0) in do_profile()2393 profile_obj->rodata->num_metric = num_metric; in do_profile()2396 bpf_map__set_max_entries(profile_obj->maps.events, num_metric * num_cpu); in do_profile()2397 bpf_map__set_max_entries(profile_obj->maps.fentry_readings, num_metric); in do_profile()2398 bpf_map__set_max_entries(profile_obj->maps.accum_readings, num_metric); in do_profile()