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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.