[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/14: gnu: perf: Help 'perf report --symfs' find separate debug info fi
From: |
guix-commits |
Subject: |
01/14: gnu: perf: Help 'perf report --symfs' find separate debug info files. |
Date: |
Wed, 2 Feb 2022 12:43:36 -0500 (EST) |
civodul pushed a commit to branch master
in repository guix.
commit d040b627b1b2f604746963a91449821c6a58c7d6
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Wed Feb 2 15:36:06 2022 +0100
gnu: perf: Help 'perf report --symfs' find separate debug info files.
* gnu/packages/linux.scm (perf)[arguments]: In 'configure' phase, modify
"util/dso.c".
---
gnu/packages/linux.scm | 12 ++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index e496b5e2b2..cd64fdc076 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -1,5 +1,5 @@
;;; GNU Guix --- Functional package management for GNU
-;;; Copyright © 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021,
2021 Ludovic Courtès <ludo@gnu.org>
+;;; Copyright © 2012-2021, 2021-2022 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2013, 2014, 2015, 2016 Andreas Enge <andreas@enge.fr>
;;; Copyright © 2012 Nikita Karetnikov <nikita@karetnikov.org>
;;; Copyright © 2014, 2015, 2016, 2017, 2018, 2019, 2020 Mark H Weaver
<mhw@netris.org>
@@ -4555,7 +4555,15 @@ in a digital read-out.")
(lambda* (#:key inputs #:allow-other-keys)
(setenv "SHELL_PATH" (which "bash"))
(chdir "tools/perf")
- #t)))
+
+ ;; This file hard-codes file system layouts for specific distros
+ ;; but not for ours; address that. With this change, one can run
+ ;; "perf report --symfs=$HOME/.guix-profile" (without
+ ;; "/lib/debug") and 'perf' should be able to find separate debug
+ ;; info files.
+ (substitute* "util/dso.c"
+ (("/usr/lib/debug")
+ "/lib/debug")))))
#:make-flags (list (string-append "prefix="
(assoc-ref %outputs "out"))
"CC=gcc"
- branch master updated (4943ac86e4 -> 9408a4edcb), guix-commits, 2022/02/02
- 05/14: gnu: luminance-hdr: Fix compilation., guix-commits, 2022/02/02
- 07/14: gnu: Add python-types-dataclasses., guix-commits, 2022/02/02
- 10/14: gnu: oil: Update to 0.9.7., guix-commits, 2022/02/02
- 08/14: gnu: openttd: Update to 12.1., guix-commits, 2022/02/02
- 11/14: gnu: rr: Update to 5.5.0., guix-commits, 2022/02/02
- 02/14: gnu: perf: Remove input labels., guix-commits, 2022/02/02
- 04/14: import: pypi: Display a hint upon "no source release" errors., guix-commits, 2022/02/02
- 06/14: gnu: luminance-hdr: Remove input labels., guix-commits, 2022/02/02
- 01/14: gnu: perf: Help 'perf report --symfs' find separate debug info files.,
guix-commits <=
- 03/14: import: pypi: Use 'with-error-handling'., guix-commits, 2022/02/02
- 12/14: gnu: cgdb: Update to 0.8.0., guix-commits, 2022/02/02
- 13/14: deploy: Add '--execute'., guix-commits, 2022/02/02
- 09/14: guix system: 'describe' shows the running system, not the current one., guix-commits, 2022/02/02
- 14/14: news: Add entry about 'guix deploy -x'., guix-commits, 2022/02/02