Status changed to 'Confirmed' because the bug affects multiple users.
** Changed in: linux (Ubuntu)
Status: New => Confirmed
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/2059712
Title:
`perf report` complains about missing tips.txt file
Status in linux package in Ubuntu:
Confirmed
Bug description:
The `perf` command-line tool expects a tips.txt file at
/usr/share/doc/perf-tip/tips.txt, from which it displays random tips
in `perf report` mode. If this file is not present (it is not on
Ubuntu 22.04 LTS), `perf report` complains, both in interactive and in
non-interactive mode, that:
> Cannot load tips.txt file, please install perf!
Reproduction:
$ mkdir tmpdir; cd tmpdir
$ perf record ls
$ perf report | cat
The expected behaviour is that this message is not shown (and a
(useful?) tip is shown instead).
This has led to bug reports (and fixes) on various other Linux
distributions: at least Fedora [1] and Arch [2].
[1]: https://bugzilla.redhat.com/show_bug.cgi?id=1448402
[2]: https://bugs.archlinux.org/task/48788
Further info:
$ lsb_release -rd
Description: Ubuntu 22.04.4 LTS
Release: 22.04
$ apt-cache policy linux-tools-common | head -5
linux-tools-common:
Installed: 5.15.0-101.111
Candidate: 5.15.0-101.111
Version table:
*** 5.15.0-101.111 500
$ cat /proc/version_signature
Ubuntu 5.15.0-101.111-generic 5.15.143
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2059712/+subscriptions
--
Mailing list: https://launchpad.net/~kernel-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~kernel-packages
More help : https://help.launchpad.net/ListHelp