Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge tag 'perf-urgent-for-mingo' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux

Pull perf/urgent fixes from Arnaldo Carvalho de Melo:

. revert 20b279 - require exclude_guest to use PEBS - kernel side, now
older binaries will continue working for things like cycles:pp
without needing to pass extra modifiers, from David Ahern.

. Fix building from 'make perf-*-src-pkg' tarballs, broken by UAPI,
from Sebastian Andrzej Siewior

[ Pulling directly, Ingo would normally pull but has been unresponsive ]

* tag 'perf-urgent-for-mingo' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux:
perf tools: Fix building from 'make perf-*-src-pkg' tarballs
perf x86: revert 20b279 - require exclude_guest to use PEBS - kernel side

+10 -6
-6
arch/x86/kernel/cpu/perf_event.c
··· 340 340 /* BTS is currently only allowed for user-mode. */ 341 341 if (!attr->exclude_kernel) 342 342 return -EOPNOTSUPP; 343 - 344 - if (!attr->exclude_guest) 345 - return -EOPNOTSUPP; 346 343 } 347 344 348 345 hwc->config |= config; ··· 381 384 { 382 385 if (event->attr.precise_ip) { 383 386 int precise = 0; 384 - 385 - if (!event->attr.exclude_guest) 386 - return -EOPNOTSUPP; 387 387 388 388 /* Support for constant skid */ 389 389 if (x86_pmu.pebs_active && !x86_pmu.pebs_broken) {
+10
tools/perf/MANIFEST
··· 11 11 include/linux/swab.h 12 12 arch/*/include/asm/unistd*.h 13 13 arch/*/include/asm/perf_regs.h 14 + arch/*/include/uapi/asm/unistd*.h 15 + arch/*/include/uapi/asm/perf_regs.h 14 16 arch/*/lib/memcpy*.S 15 17 arch/*/lib/memset*.S 16 18 include/linux/poison.h 17 19 include/linux/magic.h 18 20 include/linux/hw_breakpoint.h 21 + include/linux/rbtree_augmented.h 22 + include/uapi/linux/perf_event.h 23 + include/uapi/linux/const.h 24 + include/uapi/linux/swab.h 25 + include/uapi/linux/hw_breakpoint.h 19 26 arch/x86/include/asm/svm.h 20 27 arch/x86/include/asm/vmx.h 21 28 arch/x86/include/asm/kvm_host.h 29 + arch/x86/include/uapi/asm/svm.h 30 + arch/x86/include/uapi/asm/vmx.h 31 + arch/x86/include/uapi/asm/kvm.h