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()
2315 obj->rodata->num_cpu * obj->rodata->num_metric, sizeof(int)); in profile_open_perf_events() 2360 int num_metric, num_cpu, err = -1; in do_profile() 2387 num_metric = profile_parse_metrics(argc, argv); in do_profile() 2388 if (num_metric <= 0) in do_profile() 2404 profile_obj->rodata->num_metric = num_metric; in do_profile() 2407 bpf_map__set_max_entries(profile_obj->maps.events, num_metric * num_cpu); in do_profile() 2408 bpf_map__set_max_entries(profile_obj->maps.fentry_readings, num_metric); in do_profile() 2409 bpf_map__set_max_entries(profile_obj->maps.accum_readings, num_metric); in do_profile() 2353 int num_metric, num_cpu, err = -1; do_profile() local