Home
last modified time | relevance | path

Searched refs:add_command (Results 1 – 1 of 1) sorted by relevance

/Linux-v4.19/tools/power/x86/turbostat/
Dturbostat.c5163 void parse_add_command(char *add_command) in parse_add_command() argument
5174 while (add_command) { in parse_add_command()
5176 if (sscanf(add_command, "msr0x%x", &msr_num) == 1) in parse_add_command()
5179 if (sscanf(add_command, "msr%d", &msr_num) == 1) in parse_add_command()
5182 if (*add_command == '/') { in parse_add_command()
5183 path = add_command; in parse_add_command()
5187 if (sscanf(add_command, "u%d", &width) == 1) { in parse_add_command()
5192 if (!strncmp(add_command, "cpu", strlen("cpu"))) { in parse_add_command()
5196 if (!strncmp(add_command, "core", strlen("core"))) { in parse_add_command()
5200 if (!strncmp(add_command, "package", strlen("package"))) { in parse_add_command()
[all …]