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


Groups > linux.debian.kernel > #86024 > unrolled thread

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

Started byPaul Menzel <pmenzel@molgen.mpg.de>
First post2025-02-21 18:10 +0100
Last post2025-06-28 22:00 +0200
Articles 6 — 3 participants

Back to article view | Back to linux.debian.kernel


Contents

  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

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

FromPaul Menzel <pmenzel@molgen.mpg.de>
Date2025-02-21 18:10 +0100
SubjectBug#1098512: linux-perf: `perf report` shows `Cannot load tips.txt file, please install perf!`
Message-ID<KiEHg-SN7-7@gated-at.bofh.it>
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.


Kind regards,

Paul

[toc] | [next] | [standalone]


#86026

FromSalvatore Bonaccorso <carnil@debian.org>
Date2025-02-21 19:20 +0100
Message-ID<KiFMZ-Xd3-1@gated-at.bofh.it>
In reply to#86024
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

[toc] | [prev] | [next] | [standalone]


#86037

FromPaul Menzel <pmenzel@molgen.mpg.de>
Date2025-02-21 22:00 +0100
Message-ID<KiIhP-YAU-1@gated-at.bofh.it>
In reply to#86026
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

[toc] | [prev] | [next] | [standalone]


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

From"Debian Bug Tracking System" <owner@bugs.debian.org>
Date2025-02-21 19:20 +0100
SubjectProcessed: Re: Bug#1098512: linux-perf: `perf report` shows `Cannot load tips.txt file, please install perf!`
Message-ID<KiFMZ-Xd3-15@gated-at.bofh.it>
In reply to#86024
Processing control commands:

> forcemerge 1088747 1098512
Bug #1088747 [linux-perf] linux-perf should not compress $docdir/linux-perf/tips.txt
Bug #1098512 [linux-perf] linux-perf: `perf report` shows `Cannot load tips.txt file, please install perf!`
Bug #1098512 [linux-perf] linux-perf: `perf report` shows `Cannot load tips.txt file, please install perf!`
Merged 1088747 1098512

-- 
1088747: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1088747
1098512: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1098512
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems

[toc] | [prev] | [next] | [standalone]


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

From"Debian Bug Tracking System" <owner@bugs.debian.org>
Date2025-02-21 19:20 +0100
SubjectProcessed: Re: Bug#1098512: linux-perf: `perf report` shows `Cannot load tips.txt file, please install perf!`
Message-ID<KiFMZ-Xd3-19@gated-at.bofh.it>
In reply to#86024
Processing control commands:

> forcemerge 1088747 1098512
Bug #1088747 [linux-perf] linux-perf should not compress $docdir/linux-perf/tips.txt
Bug #1098512 [linux-perf] linux-perf: `perf report` shows `Cannot load tips.txt file, please install perf!`
Severity set to 'minor' from 'normal'
Marked as found in versions linux/6.11.10-1.
Bug #1088747 [linux-perf] linux-perf should not compress $docdir/linux-perf/tips.txt
Marked as found in versions linux/6.12.15-1.
Merged 1088747 1098512

-- 
1088747: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1088747
1098512: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1098512
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems

[toc] | [prev] | [next] | [standalone]


#88186 — Bug#1098512: marked as done (linux-perf: `perf report` shows `Cannot load tips.txt file, please install perf!`)

From"Debian Bug Tracking System" <owner@bugs.debian.org>
Date2025-06-28 22:00 +0200
SubjectBug#1098512: marked as done (linux-perf: `perf report` shows `Cannot load tips.txt file, please install perf!`)
Message-ID<L2JSr-dQ5o-21@gated-at.bofh.it>
In reply to#86024

[Multipart message — attachments visible in raw view] — view raw

Your message dated Sat, 28 Jun 2025 19:56:14 +0000
with message-id <E1uVbeo-00D37r-7R@fasolo.debian.org>
and subject line Bug#1088747: fixed in linux 6.15.4-1~exp1
has caused the Debian Bug report #1088747,
regarding linux-perf: `perf report` shows `Cannot load tips.txt file, please install perf!`
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
1088747: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1088747
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.kernel


csiph-web