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_METRICS; i++) { in BPF_PROG()61 for (i = 0; i < num_metric && i < MAX_NUM_METRICS; i++) { in BPF_PROG()109 for (i = 0; i < num_metric && i < MAX_NUM_METRICS; i++) { in BPF_PROG()119 for (i = 0; i < num_metric && i < MAX_NUM_METRICS; i++) in BPF_PROG()
2308 obj->rodata->num_cpu * obj->rodata->num_metric, sizeof(int)); in profile_open_perf_events()2353 int num_metric, num_cpu, err = -1; in do_profile() local2380 num_metric = profile_parse_metrics(argc, argv); in do_profile()2381 if (num_metric <= 0) in do_profile()2397 profile_obj->rodata->num_metric = num_metric; in do_profile()2400 bpf_map__set_max_entries(profile_obj->maps.events, num_metric * num_cpu); in do_profile()2401 bpf_map__set_max_entries(profile_obj->maps.fentry_readings, num_metric); in do_profile()2402 bpf_map__set_max_entries(profile_obj->maps.accum_readings, num_metric); in do_profile()