Commit Graph

13 Commits

Author SHA1 Message Date
Artturin
f9fdf2d402 treewide: move NIX_CFLAGS_COMPILE to the env attrset
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
2023-02-22 21:23:04 +02:00
Alyssa Ross
6fe87d1586 linuxPackages.perf: only use systemtap where available
Fixes pkgsMusl.perf.
2023-01-29 10:50:11 +00:00
Aaron Jheng
039d874f0b
perf-linux: tweak make flags to supress build warnings 2022-11-27 03:50:09 +00:00
Aaron Jheng
5b3eccd108
perf-linux: clean up code
- 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
2022-11-16 02:25:21 +00:00
Sergei Trofimovich
f690a10b85
Merge pull request #201127 from aaronjheng/zhf/perf
perf-linux: fix build on linux 5.4
2022-11-14 08:16:41 +00:00
Aaron Jheng
ff7f75dfcc
perf-linux: fix build on linux 5.4 2022-11-14 04:30:27 +00:00
Aaron Jheng
177732bd36
perf: add libbabeltrace dependency 2022-11-14 00:47:41 +00:00
Aaron Jheng
a72fc0d5b9
perf: add default d3-flame-graph templates for flamegraph script (#198028)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2022-11-10 17:57:52 +01:00
Aaron Jheng
d7618af3d8
perf: remove trace binary 2022-11-03 22:31:38 +00:00
Aaron Jheng
1bac4d0f77
perf: add python.interpreter to PATH 2022-10-25 13:10:13 +00:00
K900
dbf1d73cd1 perf: fix build with kernel 6.0 2022-10-03 11:04:50 +00:00
Sergei Trofimovich
19b8b523c9 linuxPackages.perf: use binutils-2.38 for linux before 5.19
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,
      |         ^~~~~~~~~~~~~~~~~~~~~
2022-08-24 07:25:08 +01:00
Sergei Trofimovich
8940dd0559 linuxPackages.perf: move from perf.nix to perf/ directory
While at it dropped top-level 'with lib;'.
2022-08-14 09:17:48 +01:00