[PATCH] UBUNTU: [Packaging] perf: enable debuginfod support
Hector CAO
hector.cao at canonical.com
Thu Nov 7 09:26:59 UTC 2024
From: Hector Cao <hector.cao at canonical.com>
For symbols resolution, the perf tool can use debuginfod server as source
of debuginfo files. This support can be requested through the argument
`--debuginfod` of `perf record` command. For example, to use Ubuntu debuginfod
server:
perf record --debuginfod='https://debuginfod.ubuntu.com' -p <pid>
This support requires the perf tool to be built with libdebuginfod
library. However, this library is not a build dependency of the kernel
currently.
This patch adds libdebuginfod-dev as build dependency of the kernel
so that the debuginfod support is enabled for `perf`.
Signed-off-by: Hector Cao <hector.cao at canonical.com>
---
debian.master/control.stub.in | 1 +
1 file changed, 1 insertion(+)
diff --git a/debian.master/control.stub.in b/debian.master/control.stub.in
index 744dce7bb70e..5eea311e6649 100644
--- a/debian.master/control.stub.in
+++ b/debian.master/control.stub.in
@@ -34,6 +34,7 @@ Build-Depends:
libstdc++-dev,
libtool <!stage1>,
libtraceevent-dev [amd64 arm64 armhf ppc64el s390x riscv64] <!stage1>,
+ libdebuginfod-dev [amd64 arm64 armhf ppc64el s390x riscv64] <!stage1>,
libtracefs-dev [amd64 arm64 armhf ppc64el s390x riscv64] <!stage1>,
libudev-dev <!stage1>,
libunwind8-dev [amd64 arm64 armhf ppc64el] <!stage1>,
--
2.43.0
More information about the kernel-team
mailing list