slackbuilds/development/perf
Heinz Wiesinger 63daf9f79a All: Support $PRINT_PACKAGE_NAME env var
Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org>
2021-07-17 21:55:09 +02:00
..
README development/perf: Updated for version 5.13.2. 2021-07-17 09:51:51 +07:00
perf.SlackBuild All: Support $PRINT_PACKAGE_NAME env var 2021-07-17 21:55:09 +02:00
perf.info development/perf: Updated for version 5.13.2. 2021-07-17 09:51:51 +07:00
slack-desc development/perf: Added (Linux kernel perf tools). 2014-04-12 00:23:03 +07:00

README

perf is a userspace interface to the kernel's perf events. Performance
counters are CPU hardware registers that count hardware events
such as instructions executed, cache-misses suffered, or branches
mispredicted. They form a basis for profiling applications to trace
dynamic control flow and identify hotspots.

Optional dependencies: audit, numactl

Please note that this build doesn't have any sources in the .info
file, as the sources are already part of the Slackware kernel-source
package. Your running kernel's version should match the kernel-source
version. If it doesn't:

- If your kernel source is located in /usr/src/linux-$VERSION, you
  can export KERNEL=<version> in the script's environment. Example:

  export KERNEL=5.13.2

- If your kernel source is somewhere else, you can export
  KERNEL=</path/to/source>. Example:

  export KERNEL=/home/myuser/kernels/linux-5.13.2

Please note that the package's version number will match the version
of the kernel source, *not* necessarily what's in the perf.info file.