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 majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/