Lines Matching refs:msr_num

124 	unsigned int msr_num;  member
382 int add_counter(unsigned int msr_num, char *path, char *name,
1807 if (p->msr_num != 0) { in free_msr_counters_()
2533 sprintf(outp, "tADDED [%d] %8s msr0x%x: %08llX %s\n", i, mp->name, mp->msr_num, in dump_counters()
2554 sprintf(outp, "cADDED [%d] %8s msr0x%x: %08llX %s\n", i, mp->name, mp->msr_num, in dump_counters()
2590 sprintf(outp, "pADDED [%d] %8s msr0x%x: %08llX %s\n", i, mp->name, mp->msr_num, in dump_counters()
3811 if (mp->msr_num != 0) { in get_mp()
3813 if (get_msr(cpu, mp->msr_num, counterp)) in get_mp()
4639 if (mp->msr_num == 0) { in get_counters()
9113 int add_counter(unsigned int msr_num, char *path, char *name, in add_counter() argument
9119 if (no_msr && msr_num) in add_counter()
9120 errx(1, "Requested MSR counter 0x%x, but in --no-msr mode", msr_num); in add_counter()
9124 __func__, msr_num, path, name, width, scope, type, format, flags, id); in add_counter()
9174 msrp->msr_num = msr_num; in add_counter()
9309 int msr_num = 0; in parse_add_command_msr() local
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()
9398 if ((msr_num == 0) && (path == NULL) && (perf_device[0] == '\0' || perf_event[0] == '\0')) { in parse_add_command_msr()
9412 sprintf(name_buffer, "M0x%x%s", msr_num, format == FORMAT_PERCENT ? "%" : ""); in parse_add_command_msr()
9414 sprintf(name_buffer, "M0X%x%s", msr_num, format == FORMAT_PERCENT ? "%" : ""); in parse_add_command_msr()
9422 if (add_counter(msr_num, path, name_buffer, width, scope, type, format, 0, 0)) in parse_add_command_msr()