summary refs log tree commit diff
path: root/pkgs/os-specific/linux/kernel/perf
Commit message (Collapse)AuthorAge
* perf: enable `perf stat` evens supported by `libpfm`Sergei Trofimovich2023-08-19
|
* linuxPackages_testing.perf: fix patchShebangSergei Trofimovich2023-08-06
| | | | | | | | | | | | | | | | | | | | | | Without the change `perf` build fails as: $ nix build --no-link -f. linuxPackages_testing.perf -L build flags: SHELL=/nix/store/p6dlr3skfhxpyphipg2bqnj52999banh-bash-5.2-p15/bin/bash prefix=\$\(out\) WERROR=0 ASCIIDOC8=1 O=\$\(buildRoot\) CC=/nix/store/bxic6j2whyg3z4h2x3xjyqgp7fl83bnp-gcc-wrapper-12.3.0/bin/cc HOSTCC=/nix/store/bxic6j2whyg3z4h2x3xjyqgp7fl83bnp-gcc-wrapper-12.3.0/bin/cc HOSTLD=/nix/store/kcp78dk7h5gcs7d4qss7rbz3skxhzdnn-binutils-wrapper-2.40/bin/ld ARCH=x86_64 NO_GTK2=1 BUILD: Doing 'make -j16' parallel build HOSTCC fixdep.o HOSTLD fixdep-in.o LINK fixdep make[1]: ./check-headers.sh: No such file or directory make[1]: *** [Makefile.perf:241: sub-make] Error 127 make: *** [Makefile:70: all] Error 2 This started happening because upstream linux commit https://github.com/torvalds/linux/commit/d6748385098a8333a0e1c7e2d77119c919776728 changed shebang from /bin/sh to /bin/bash. Let's retroactively switch all `perf` releases to shell interpreter from store.
* perf-linux: fix typofetsorn2023-05-08
| | | | "embeded" -> "embedded"
* linuxPackages_latest.perf: fix python shebangs on 6.3+Sergei Trofimovich2023-04-25
| | | | | | | | | Without the change `perf` build fails as: sh: line 1: pmu-events/metric_test.py: cannot execute: required file not found make[3]: *** [pmu-events/Build:32: pmu-events/metric_test.log] Error 1 Full build log: https://hydra.nixos.org/log/mp5a0fr1jhw3rvkp8azbh5xh0g1cjqhj-perf-linux-6.3.drv
* linuxPackages_latest.perf: add libtraceevent to build dependsSergei Trofimovich2023-03-02
| | | | Without the change `perf trace` subcommand is unavailable.
* treewide: move NIX_CFLAGS_COMPILE to the env attrsetArtturin2023-02-22
| | | | | | | | with structuredAttrs lists will be bash arrays which cannot be exported which will be a issue with some patches and some wrappers like cc-wrapper this makes it clearer that NIX_CFLAGS_COMPILE must be a string as lists in env cause a eval failure
* linuxPackages.perf: only use systemtap where availableAlyssa Ross2023-01-29
| | | | Fixes pkgsMusl.perf.
* perf-linux: tweak make flags to supress build warningsAaron Jheng2022-11-27
|
* perf-linux: clean up codeAaron Jheng2022-11-16
| | | | | | - Remove support for older versions below 5.0 which are already marked as broken - Drop patches for removed versions such as 5.19 - Some minor changes
* Merge pull request #201127 from aaronjheng/zhf/perfSergei Trofimovich2022-11-14
|\ | | | | perf-linux: fix build on linux 5.4
| * perf-linux: fix build on linux 5.4Aaron Jheng2022-11-14
| |
* | perf: add libbabeltrace dependencyAaron Jheng2022-11-14
|/
* perf: add default d3-flame-graph templates for flamegraph script (#198028)Aaron Jheng2022-11-10
| | | Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
* perf: remove trace binaryAaron Jheng2022-11-03
|
* perf: add python.interpreter to PATHAaron Jheng2022-10-25
|
* perf: fix build with kernel 6.0K9002022-10-03
|
* linuxPackages.perf: use binutils-2.38 for linux before 5.19Sergei Trofimovich2022-08-24
| | | | | | | | | Without the change perf build fails on binutils-2.39 due to API change: util/annotate.c: In function 'symbol__disassemble_bpf': util/annotate.c:1765:9: error: too few arguments to function 'init_disassemble_info' 1765 | init_disassemble_info(&info, s, | ^~~~~~~~~~~~~~~~~~~~~
* linuxPackages.perf: move from perf.nix to perf/ directorySergei Trofimovich2022-08-14
While at it dropped top-level 'with lib;'.