Bug#1098512: linux-perf: `perf report` shows `Cannot load tips.txt file, please install perf!`
Control: forcemerge 1088747 1098512
Hi Paul,
On Fri, Feb 21, 2025 at 06:04:40PM +0100, Paul Menzel wrote:
> Package: linux-perf
> Version: 6.12.15-1
> Severity: normal
>
>
> Dear Debian folks,
>
>
> With
>
> $ LANG= dpkg -l linux-perf
> […]
> ii linux-perf 6.12.15-1 amd64 Performance analysis tools
> for Linux
>
> recording a profile and trying to show it
>
> $ sudo perf record -a -g -F 999
> ^C[ perf record: Woken up 42 times to write data ]
> [ perf record: Captured and wrote 11,877 MB perf.data (59158 samples) ]
>
> $ sudo chown pmenzel: perf.data
> $ perf report perf.data
>
> the profile is loaded, but nothing is displayed, and only the header is
> shown, and at the bottom the message below is written:
>
> perf report` shows Cannot load tips.txt file, please install perf!
>
> The file is shipped by `linux-perf`, but it’s compressed:
>
> $ dpkg -S /usr/share/doc/linux-perf/tips.txt.gz
> linux-perf: /usr/share/doc/linux-perf/tips.txt.gz
>
> Uncompressing the file, the message is not shown anymore. Still nothing is
> shown, but that is for another bug report.
The problem with compressed tips.txt is reported at #1088747 so
merging the two bugs.
About not showing something, right: according to perf report -h:
-i, --input <file> input file name
Please try perf report -i perf.data. See as well perf-report(1).
(or with no arguments at all to perf report in the directory where you
have your perf.data).
Regards,
Salvatore
Reply to: