Lines Matching refs:sprintf
115 sprintf(phys_pkg_path, "%s%d/cache/index3/id", in get_resource_id()
118 sprintf(phys_pkg_path, "%s%d/topology/physical_package_id", in get_resource_id()
161 sprintf(cache_path, "/sys/bus/cpu/devices/cpu%d/cache/index%d/size", in get_cache_size()
218 sprintf(cbm_mask_path, "%s/%s/cbm_mask", CBM_MASK_PATH, cache_type); in get_cbm_mask()
249 sprintf(core_siblings_path, "%s%d/topology/core_siblings_list", in get_core_sibling()
335 sprintf(resctrl_val, "%s", benchmark_cmd[5]); in run_benchmark()
448 sprintf(controlgroup, "%s/%s", RESCTRL_PATH, ctrlgrp); in write_bm_pid_to_resctrl()
450 sprintf(controlgroup, "%s", RESCTRL_PATH); in write_bm_pid_to_resctrl()
456 sprintf(tasks, "%s/tasks", controlgroup); in write_bm_pid_to_resctrl()
465 sprintf(monitorgroup_p, "%s/mon_groups", controlgroup); in write_bm_pid_to_resctrl()
466 sprintf(monitorgroup, "%s/%s", monitorgroup_p, mongrp); in write_bm_pid_to_resctrl()
471 sprintf(tasks, "%s/mon_groups/%s/tasks", in write_bm_pid_to_resctrl()
520 sprintf(reason, "Failed to get resource id"); in write_schemata()
527 sprintf(controlgroup, "%s/%s/schemata", RESCTRL_PATH, ctrlgrp); in write_schemata()
529 sprintf(controlgroup, "%s/schemata", RESCTRL_PATH); in write_schemata()
533 sprintf(schema, "%s%d%c%s", "L3:", resource_id, '=', schemata); in write_schemata()
535 sprintf(schema, "%s%d%c%s", "MB:", resource_id, '=', schemata); in write_schemata()
539 sprintf(reason, "Failed to open control group"); in write_schemata()
546 sprintf(reason, "Failed to write schemata in control group"); in write_schemata()