perf tools fixes for v6.2: 3rd batch
Hi Linus,
Sync of UAPI headers with the kernel sources, to address
warnings while building perf and two small fixes for the main tools + a 'perf test' fix related to the build-id fix.
Please consider pulling,
Best regards,
- Arnaldo
The following changes since commit c1649ec55708ae42091a2f1bca1ab49ecd722d55:
Merge tag 'nfsd-6.2-4' of git://git.kernel.org/pub/scm/linux/kernel/git/cel/linux (2023-01-17 09:29:17 -0800)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git tags/perf-tools-fixes-for-v6.2-3-2023-01-19
for you to fetch changes up to 3d9c07c4cfc06cf7927cd00c04dffd1165d03c53:
perf test build-id: Fix test check for PE file (2023-01-18 10:52:06 -0300)
----------------------------------------------------------------
perf tools fixes for v6.2: 3rd batch.
- Prevent reading into undefined memory in the expression lexer, accounting for a trailer backslash followed by the null byte.
- Fix file mode when copying files to the build id cache, the problem happens when the cache directory is in a different file system than the file being cached, otherwise the mode was preserved as only a hard link would be done to save space.
- Fix a related build-id 'perf test' entry that checked that permission when caching PE (Portable Executable) files, used when profiling Windows executables under wine.
- Sync the tools/ copies of kvm headers, build_bug.h, socket.h and arm64's cputype.h with the kernel sources.
----------------------------------------------------------------
Arnaldo Carvalho de Melo (6):
tools headers UAPI: Sync linux/kvm.h with the kernel sources tools headers UAPI: Sync x86's asm/kvm.h with the kernel sources tools kvm headers arm64: Update KVM header from the kernel sources tools headers arm64: Sync arm64's cputype.h with the kernel sources perf beauty: Update copy of linux/socket.h with the kernel sources tools headers: Syncronize linux/build_bug.h with the kernel sources
Athira Rajeev (2):
perf buildid-cache: Fix the file mode with copyfile() while adding file to build-id cache perf test build-id: Fix test check for PE file
Sohom Datta (1):
perf expr: Prevent normalize() from reading into undefined memory in the expression lexer
tools/arch/arm64/include/asm/cputype.h | 8 +++++++- tools/arch/arm64/include/uapi/asm/kvm.h | 1 + tools/arch/x86/include/uapi/asm/kvm.h | 5 +++++ tools/include/linux/build_bug.h | 9 +++++++++ tools/include/uapi/linux/kvm.h | 3 +++ tools/perf/tests/shell/buildid.sh | 15 ++++++++++++++- tools/perf/trace/beauty/include/linux/socket.h | 5 ++++- tools/perf/util/build-id.c | 10 +++++++--- tools/perf/util/expr.l | 5 ++++- 9 files changed, 54 insertions(+), 7 deletions(-)
Humm,
I'm not finding this on the lkml archives, so please ignore it
if this is going as a duplicate for anyone :-\
Thanks,
- Arnaldo
Em Thu, Jan 19, 2023 at 02:15:10PM -0300, Arnaldo Carvalho de Melo escreveu:
Quoted 70 lines
Hi Linus,
Sync of UAPI headers with the kernel sources, to address
warnings while building perf and two small fixes for the main tools + a 'perf test' fix related to the build-id fix.Please consider pulling,
Best regards,
- Arnaldo
The following changes since commit
c1649ec55708ae42091a2f1bca1ab49ecd722d55:Merge tag 'nfsd-6.2-4' of
git://git.kernel.org/pub/scm/linux/kernel/git/cel/linux(2023-01-17 09:29:17 -0800)are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.gittags/perf-tools-fixes-for-v6.2-3-2023-01-19for you to fetch changes up to
3d9c07c4cfc06cf7927cd00c04dffd1165d03c53:perf test build-id: Fix test check for PE file (2023-01-18 10:52:06 -0300)
----------------------------------------------------------------
perf tools fixes for v6.2: 3rd batch.- Prevent reading into undefined memory in the expression lexer, accounting for a trailer backslash followed by the null byte.
- Fix file mode when copying files to the build id cache, the problem happens when the cache directory is in a different file system than the file being cached, otherwise the mode was preserved as only a hard link would be done to save space.
- Fix a related build-id 'perf test' entry that checked that permission when caching PE (Portable Executable) files, used when profiling Windows executables under wine.
- Sync the
tools/copies of kvm headers,build_bug.h,socket.hand arm64'scputype.hwith the kernel sources.Signed-off-by Arnaldo Carvalho de Melo <[email protected]>----------------------------------------------------------------
Arnaldo Carvalho de Melo (6):
tools headers UAPI: Synclinux/kvm.hwith the kernel sources tools headers UAPI: Sync x86'sasm/kvm.hwith the kernel sources tools kvm headers arm64: Update KVM header from the kernel sources tools headers arm64: Sync arm64'scputype.hwith the kernel sources perf beauty: Update copy oflinux/socket.hwith the kernel sources tools headers: Syncronizelinux/build_bug.hwith the kernel sourcesAthira Rajeev (2):
perf buildid-cache: Fix the file mode withcopyfile()while adding file to build-id cache perf test build-id: Fix test check for PE fileSohom Datta (1):
perf expr: Preventnormalize()from reading into undefined memory in the expression lexertools/arch/arm64/include/asm/cputype.h | 8 +++++++- tools/arch/arm64/include/uapi/asm/kvm.h | 1 + tools/arch/x86/include/uapi/asm/kvm.h | 5 +++++ tools/include/linux/build_bug.h | 9 +++++++++ tools/include/uapi/linux/kvm.h | 3 +++ tools/perf/tests/shell/buildid.sh | 15 ++++++++++++++- tools/perf/trace/beauty/include/linux/socket.h | 5 ++++- tools/perf/util/build-id.c | 10 +++++++--- tools/perf/util/expr.l | 5 ++++- 9 files changed, 54 insertions(+), 7 deletions(-)
The pull request you sent on Thu, 19 Jan 2023 14:15:10 -0300:
The pull request you sent on Thu, 19 Jan 2023 14:15:10 -0300:
Quoted 1 line
git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.gittags/perf-tools-fixes-for-v6.2-3-2023-01-19
has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/4a0c7a6831a0aa56db78a80f5a3e1ad5412d0fa8
Thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/prtracker.html