APPLIED [unstable] Re: [PATCH] UBUNTU: [Packaging] perf: enable debuginfod support
Timo Aaltonen
tjaalton at ubuntu.com
Tue Jan 28 06:20:54 UTC 2025
Hector CAO kirjoitti 7.11.2024 klo 11.26:
> 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>,
applied to unstable, thanks
fixed the sort order while at it
--
t
More information about the kernel-team
mailing list