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-tools-fixes-for-v5.13-2021-06-13' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux

Pull perf tools fixes from Arnaldo Carvalho de Melo:

- Correct buffer copying when peeking events

- Sync cpufeatures/disabled-features.h header with the kernel sources

* tag 'perf-tools-fixes-for-v5.13-2021-06-13' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux:
tools headers cpufeatures: Sync with the kernel sources
perf session: Correct buffer copying when peeking events

+3 -5
+2 -5
tools/arch/x86/include/asm/disabled-features.h
··· 56 56 # define DISABLE_PTI (1 << (X86_FEATURE_PTI & 31)) 57 57 #endif 58 58 59 - #ifdef CONFIG_IOMMU_SUPPORT 60 - # define DISABLE_ENQCMD 0 61 - #else 62 - # define DISABLE_ENQCMD (1 << (X86_FEATURE_ENQCMD & 31)) 63 - #endif 59 + /* Force disable because it's broken beyond repair */ 60 + #define DISABLE_ENQCMD (1 << (X86_FEATURE_ENQCMD & 31)) 64 61 65 62 #ifdef CONFIG_X86_SGX 66 63 # define DISABLE_SGX 0
+1
tools/perf/util/session.c
··· 1723 1723 if (event->header.size < hdr_sz || event->header.size > buf_sz) 1724 1724 return -1; 1725 1725 1726 + buf += hdr_sz; 1726 1727 rest = event->header.size - hdr_sz; 1727 1728 1728 1729 if (readn(fd, buf, rest) != (ssize_t)rest)