diff options
author | B. Watson <yalhcru@gmail.com> | 2021-02-04 16:54:47 -0500 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-02-07 01:39:56 +0700 |
commit | 349056b07cdd667823725d6a7d0b07ae194e3509 (patch) | |
tree | 18b8ebc2ae0c0087f28b2a17d726e46df26da9e8 /development/perf/README | |
parent | 9ac7edd685fd26baafc6cb3ccb75b2b9bcd51a26 (diff) | |
download | slackbuilds-349056b07cdd667823725d6a7d0b07ae194e3509.tar.xz |
development/perf: Autodetect kernel version.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/perf/README')
-rw-r--r-- | development/perf/README | 21 |
1 files changed, 18 insertions, 3 deletions
diff --git a/development/perf/README b/development/perf/README index 56771df929c5..1ec21e6c9ef0 100644 --- a/development/perf/README +++ b/development/perf/README @@ -4,7 +4,22 @@ 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. -Please note that this SBo doesn't have any sources in the DOWNLOAD -setting, as the sources are already part of a full slackware install. - Optional dependencies: audit, numactl, libunwind + +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=4.4.240 + +- If your kernel source is somewhere else, you can export + KERNEL=</path/to/source>. Example: + + export KERNEL=/home/myuser/kernels/linux-4.2.240 + +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. |