A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/giraldeau/perfuser-modules below:

GitHub - giraldeau/perfuser-modules: Perfuser Kernel Modules

Disclaimer: This kernel module is not necessary to get a signal when a perf event occurs. Instead, use the fasync operation of the event file descriptor returned by perf_event_open().

Receive a signal when a perf sample is generated. This is the kernel module component.

You will need to have your kernel headers available (or access to your full kernel source tree), and do:

make
sudo make modules_install
sudo depmod -a

The above commands will build the modules against your current kernel. If you need to build the modules against a custom kernel, do:

make KERNELDIR=/path/to/custom/kernel
sudo make KERNELDIR=/path/to/custom/kernel modules_install
sudo depmod -a kernel_version
Required kernel config options

Make sure your target kernel has the following config options enabled:

The API is a set of ioctl() on /proc/perfuser file. However, since this is a prototype, the API may change at any time. For usage examples, look at the project perfuser.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4