lkml.org 
[lkml]   [2013]   [Sep]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [GIT PULL 0/5] perf/urgent fixes

Hm, after this pull request, 'perf top' started misbehaving on older
kernels:

┌─Error:────────────────────────────────────────────────────────────────────────────────────┐
│The sys_perf_event_open() syscall returned with 22 (Invalid argument) for event (cycles). │
│/bin/dmesg may provide additional information. │
│No CONFIG_PERF_EVENTS=y kernel support configured? │

But:

$ cat /proc/sys/kernel/perf_event_paranoid
-1

The syscall really fails:

16645 perf_event_open(0x1eb7f00, 0xffffffff, 0, 0xffffffff, 0) = -1 EINVAL (Invalid argument)
16645 perf_event_open(0x1eb7f00, 0xffffffff, 0, 0xffffffff, 0) = -1 EINVAL (Invalid argument)
16645 perf_event_open(0x1eb7f00, 0xffffffff, 0, 0xffffffff, 0) = -1 EINVAL (Invalid argument)

Caused by:

575a9aab0f85 perf tools: Add attr->mmap2 support

We must not force mmap2 support to be present on the kernel side - new
perf top should work on older kernels just as well.

So I've unpulled the tree for now.

Thanks,

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2013-09-11 08:21    [W:0.118 / U:0.828 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site