[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#622887: marked as done (/usr/bin/perf_2.6.38: "perf list" lists unsupported events)



Your message dated Sat, 24 Apr 2021 05:55:37 -0700 (PDT)
with message-id <60841549.1c69fb81.1a599.3b55@mx.google.com>
and subject line Closing this bug (BTS maintenance for src:linux bugs)
has caused the Debian Bug report #622887,
regarding /usr/bin/perf_2.6.38: "perf list" lists unsupported events
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.)


-- 
622887: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=622887
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: linux-tools-2.6.38
Version: 2.6.38-3
Severity: normal
File: /usr/bin/perf_2.6.38


Event types listed by "perf list" can't be used for profiling (at
least on my system).

My expectation was that "perf list" would list only events I could
actually use.

For example, note how instructions are counted but not cycles, even
though I ask for both:
"
johan@johansdator:~$ perf list|cat

List of pre-defined events (to be used in -e):

  cpu-cycles OR cycles                       [Hardware event]
  instructions                               [Hardware event]
  cache-references                           [Hardware event]
  cache-misses                               [Hardware event]
  branch-instructions OR branches            [Hardware event]
  branch-misses                              [Hardware event]
  bus-cycles                                 [Hardware event]
[...]

johan@johansdator:~$ sudo perf stat -e cycles -e instructions echo foo
foo

 Performance counter stats for 'echo foo':

     <not counted> cycles                  
           823 105 instructions             #      0,000 IPC  
"

  Regards //Johan

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (990, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.38-2-686 (SMP w/2 CPU cores)
Locale: LANG=sv_SE.utf8, LC_CTYPE=sv_SE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages linux-tools-2.6.38 depends on:
ii  libc6                         2.11.2-11  Embedded GNU C Library: Shared lib
ii  libdw1                        0.152-1    library that provides access to th
ii  libelf1                       0.152-1    library to read and write ELF file
ii  libnewt0.52                   0.52.11-2  Not Erik's Windowing Toolkit - tex
ii  libperl5.10                   5.10.1-19  shared Perl library
ii  libpython2.6                  2.6.6-8+b1 Shared Python runtime library (ver
ii  libslang2                     2.2.2-4    The S-Lang programming library - r
ii  perl                          5.10.1-19  Larry Wall's Practical Extraction 
ii  python                        2.6.6-12   interactive high-level object-orie
ii  python-support                1.0.11     automated rebuilding support for P

Versions of packages linux-tools-2.6.38 recommends:
ii  linux-base                    3.2        Linux image base package

Versions of packages linux-tools-2.6.38 suggests:
pn  linux-doc-2.6.38              <none>     (no description available)

-- no debconf information



--- End Message ---
--- Begin Message ---
Hi

This bug was filed for a very old kernel or the bug is old itself
without resolution.

If you can reproduce it with

- the current version in unstable/testing
- the latest kernel from backports

please reopen the bug, see https://www.debian.org/Bugs/server-control
for details.

Regards,
Salvatore

--- End Message ---

Reply to: