Searched refs:add_command (Results 1 – 1 of 1) sorted by relevance
/linux-6.12.1/tools/power/x86/turbostat/ |
D | turbostat.c | 9307 void parse_add_command_msr(char *add_command) in parse_add_command_msr() argument 9320 while (add_command) { in parse_add_command_msr() 9322 if (sscanf(add_command, "msr0x%x", &msr_num) == 1) in parse_add_command_msr() 9325 if (sscanf(add_command, "msr%d", &msr_num) == 1) in parse_add_command_msr() 9330 if (sscanf(add_command, "perf/%31[^/]/%31[^,]", &perf_device[0], &perf_event[0]) == 2) in parse_add_command_msr() 9333 if (*add_command == '/') { in parse_add_command_msr() 9334 path = add_command; in parse_add_command_msr() 9338 if (sscanf(add_command, "u%d", &width) == 1) { in parse_add_command_msr() 9343 if (!strncmp(add_command, "cpu", strlen("cpu"))) { in parse_add_command_msr() 9347 if (!strncmp(add_command, "core", strlen("core"))) { in parse_add_command_msr() [all …]
|