为什么我无法安装 pulseaudio-dbgsym?

为什么我无法安装 pulseaudio-dbgsym?

为什么 ddeb repos 没有为我的 pulseaudio 版本提供 dbgsym 包?有人知道吗?

我的 pulseaudio 版本是:

1:15.99.1+dfsg1-1ubuntu2.1 (jammy-updates)

只有一个适用于旧版本的 dbgsym 包:

1:15.99.1+dfsg1-1ubuntu1 (jammy)

我尝试使用调试符号包页面,在 Ubuntu Wiki 上。

dbgsym 包适用于许多其他包,包括来自 jammy-updates 的包版本。

Launchpad 说dbgsym 包已构建,那么为什么它没有在 ddeb 存储库中发布?

错误消息

$ # ddeb repos below installed as per https://wiki.ubuntu.com/Debug%20Symbol%20Packages
$ cat /etc/apt/sources.list.d/ddebs.list
deb http://ddebs.ubuntu.com jammy main restricted universe multiverse
deb http://ddebs.ubuntu.com jammy-updates main restricted universe multiverse
deb http://ddebs.ubuntu.com jammy-proposed main restricted universe multiverse

$ sudo apt -qq install pulseaudio-dbg
E: Unable to locate package pulseaudio-dbg

$ sudo apt -qq install pulseaudio-dbgsym
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies.
 pulseaudio-dbgsym : Depends: pulseaudio (= 1:15.99.1+dfsg1-1ubuntu1)
E: Unable to correct problems, you have held broken packages.

用例

我希望安装调试符号来使用perf recordperf record --debuginfod不起作用,它说“请求debuginfod 支持,但 perf 不是用它构建的”。

我希望perf在 pulseaudio 上使用,因为我看到 pulseaudio 至少一分钟内使用了约 10% 的 CPU,尽管没有播放或录制音频。(当然,现在我再次查看它,它已经停止这样做了 :-)。

如果 pulseaudio 占用 100% 的 CPU,我想我可以尝试一下gdbdebuginfod手动收集一些样本,然后猜测热点在哪里。但是在 ~10% 的 CPU 下,我想我需要收集几倍的样本,因为许多样本是在 pulseaudio 空闲且未实际使用 CPU 时收集的 :-)。

相关内容