Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1234428

Bug#1098512: linux-perf: `perf report` shows `Cannot load tips.txt file, please install perf!`

From Salvatore Bonaccorso <carnil@debian.org>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#1098512: linux-perf: `perf report` shows `Cannot load tips.txt file, please install perf!`
Date 2025-02-21 19:20 +0100
Message-ID <KiFMZ-Xd3-1@gated-at.bofh.it> (permalink)
References <KiEHg-SN7-7@gated-at.bofh.it> <KiEHg-SN7-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


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

Back to linux.debian.bugs.dist | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Bug#1098512: linux-perf: `perf report` shows `Cannot load tips.txt file, please install perf!` Paul Menzel <pmenzel@molgen.mpg.de> - 2025-02-21 18:10 +0100
  Bug#1098512: linux-perf: `perf report` shows `Cannot load tips.txt file, please install perf!` Salvatore Bonaccorso <carnil@debian.org> - 2025-02-21 19:20 +0100
    Bug#1098512: linux-perf: `perf report` shows `Cannot load tips.txt file, please install perf!` Paul Menzel <pmenzel@molgen.mpg.de> - 2025-02-21 22:00 +0100

csiph-web