Re: Enable/disable hardware prefetcher via Oprofile
Mahmood N <[email protected]>
| Newsgroups | gmane.linux.oprofile |
|---|---|
| Message-ID | <[email protected]> |
> msr-tools should work on both It seems that ./wrmsr gets a binary value but I am not sure about that [root@tiger msr-tools-master]# ./wrmsr -p 0 0xc0011022 1000 [root@tiger msr-tools-master]# ./rdmsr -p 0 -d -0 0xc0011022 00000000000000000008 [root@tiger msr-tools-master]# ./wrmsr -p 0 0xc0011022 10000 [root@tiger msr-tools-master]# ./rdmsr -p 0 -d -0 0xc0011022 00000000000000009232 I expected to see 16 because the decimal value of 10000b is 16. Looking through the code (wrmsr.c) however it get integer values Regards, Mahmood ------------------------------------------------------------------------------ _______________________________________________ oprofile-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/oprofile-list