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


Groups > linux.debian.kernel > #86037

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

From Paul Menzel <pmenzel@molgen.mpg.de>
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 22:00 +0100
Message-ID <KiIhP-YAU-1@gated-at.bofh.it> (permalink)
References <KiEHg-SN7-7@gated-at.bofh.it> <KiFMZ-Xd3-1@gated-at.bofh.it> <KiEHg-SN7-7@gated-at.bofh.it> <KiFMZ-Xd3-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


Dear Salvatore,


Thank you for your prompt reply.

Am 21.02.25 um 19:13 schrieb Salvatore Bonaccorso:
> Control: forcemerge 1088747 1098512

> On Fri, Feb 21, 2025 at 06:04:40PM +0100, Paul Menzel wrote:
>> Package: linux-perf
>> Version: 6.12.15-1
>> Severity: normal

>> 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.

Thank you for finding this. I am sorry for causing extra work.

> 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).

Indeed, that did the trick. Thank you!


Kind regards,

Paul

Back to linux.debian.kernel | 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
  Processed: Re: Bug#1098512: linux-perf: `perf report` shows  `Cannot load tips.txt file, please install perf!` "Debian Bug Tracking System" <owner@bugs.debian.org> - 2025-02-21 19:20 +0100
  Processed: Re: Bug#1098512: linux-perf: `perf report` shows  `Cannot load tips.txt file, please install perf!` "Debian Bug Tracking System" <owner@bugs.debian.org> - 2025-02-21 19:20 +0100
  Bug#1098512: marked as done (linux-perf: `perf report` shows  `Cannot load tips.txt file, please install perf!`) "Debian Bug Tracking System" <owner@bugs.debian.org> - 2025-06-28 22:00 +0200

csiph-web