8000 GitHub - azzaouit/libpmu
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

azzaouit/libpmu

Repository files navigation

Kernel setup
------------

The msr driver must be loaded to write to MSRs from ring 3.

$ insmod msr

The pce bit (bit 8) must be set in cr4 to use rdpmc from ring 3.
Build and load the driver before using the library.

$ cd cr4
$ make
$ insmod pceset.ko

Removing the driver clears the pce bit

$ rmmod pceset

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0