$ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 24.04.2 LTS Release: 24.04 Codename: noble
$ apt list --installed 'linux-tools-common' linux-tools-common/noble-updates,noble-updates,noble-security,noble-security,now 6.8.0-60.63 all [installed] $ perf --version perf version 6.8.12 The tips file: https://github.com/torvalds/linux/blob/master/tools/perf/Documentation/tips.txt Work around: sudo mkdir -p /usr/share/doc/perf-tip curl -sL 'https://raw.githubusercontent.com/torvalds/linux/master/tools/perf/Documentation/tips.txt' | sudo tee '/usr/share/doc/perf-tip/tips.txt' > /dev/null -- 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

