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

Bug#696957: linux-tools-3.2: perf record should state that sys.kernel.perf_event_paranoid might have something to do with its failure



Package: linux-tools-3.2
Version: 3.2.17-1
Severity: normal

Dear Maintainer,
When issuing "perf record -p <annoying_process_id> -g", I got "Fatal: failed to
mmap with 22 (Invalid argument)".  This is remedied by setting
/proc/sys/kernel/perf_event_paranoid to -1 (I tested it with 0, and it still
occurred).

perf record should state what sys.kernel.perf_event_paranoid should be set to
in response to failure, instead of giving me such a useless error message.



-- System Information:
Debian Release: 7.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.2.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages linux-tools-3.2 depends on:
ii  libc6         2.13-37
ii  libdw1        0.152-1+wheezy1
ii  libelf1       0.152-1+wheezy1
ii  libnewt0.52   0.52.14-10
ii  libperl5.14   5.14.2-16
ii  libpython2.7  2.7.3~rc2-2.1
ii  libslang2     2.2.4-15
ii  perl          5.14.2-16
ii  python        2.7.3~rc2-1

Versions of packages linux-tools-3.2 recommends:
ii  linux-base  3.5

Versions of packages linux-tools-3.2 suggests:
pn  linux-doc-3.2  <none>

-- no debconf information


Reply to: