[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230119171510.166368-1-acme@kernel.org>
Date: Thu, 19 Jan 2023 14:15:10 -0300
From: Arnaldo Carvalho de Melo <acme@...nel.org>
To: Linus Torvalds <torvalds@...ux-foundation.org>
Cc: Ingo Molnar <mingo@...nel.org>,
Thomas Gleixner <tglx@...utronix.de>,
Jiri Olsa <jolsa@...nel.org>,
Namhyung Kim <namhyung@...nel.org>,
Clark Williams <williams@...hat.com>,
Kate Carcia <kcarcia@...hat.com>, linux-kernel@...r.kernel.org,
linux-perf-users@...r.kernel.org,
Arnaldo Carvalho de Melo <acme@...nel.org>,
Athira Rajeev <atrajeev@...ux.vnet.ibm.com>,
Sohom Datta <sohomdatta1+git@...il.com>,
Arnaldo Carvalho de Melo <acme@...hat.com>
Subject: [GIT PULL] 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.
Signed-off-by: Arnaldo Carvalho de Melo <acme@...hat.com>
----------------------------------------------------------------
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(-)
Powered by blists - more mailing lists