Commit Graph

2 Commits

Author SHA1 Message Date
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