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

tools headers: Remove unused kvm_perf.h copies

These have been unused since commit 162607ea20fa ("perf kvm/{x86,s390}:
Remove dependency on uapi/kvm_perf.h") in favour of dynamic discovery.

Remove the unused headers to reduce consistency checking overhead and
noise.

Signed-off-by: James Clark <james.clark@linaro.org>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Ian Rogers <irogers@google.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Leo Yan <leo.yan@arm.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Suzuki Poulouse <suzuki.poulose@arm.com>
Link: https://lore.kernel.org/r/20250910-james-tools-header-cleanup-v1-1-7ae4bedc99e0@linaro.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>

authored by

James Clark and committed by
Arnaldo Carvalho de Melo
a85ac2da 1e5881b1

-41
-22
tools/arch/s390/include/uapi/asm/kvm_perf.h
··· 1 - /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 2 - /* 3 - * Definitions for perf-kvm on s390 4 - * 5 - * Copyright 2014 IBM Corp. 6 - * Author(s): Alexander Yarygin <yarygin@linux.vnet.ibm.com> 7 - */ 8 - 9 - #ifndef __LINUX_KVM_PERF_S390_H 10 - #define __LINUX_KVM_PERF_S390_H 11 - 12 - #include <asm/sie.h> 13 - 14 - #define DECODE_STR_LEN 40 15 - 16 - #define VCPU_ID "id" 17 - 18 - #define KVM_ENTRY_TRACE "kvm:kvm_s390_sie_enter" 19 - #define KVM_EXIT_TRACE "kvm:kvm_s390_sie_exit" 20 - #define KVM_EXIT_REASON "icptcode" 21 - 22 - #endif
-17
tools/arch/x86/include/uapi/asm/kvm_perf.h
··· 1 - /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 2 - #ifndef _ASM_X86_KVM_PERF_H 3 - #define _ASM_X86_KVM_PERF_H 4 - 5 - #include <asm/svm.h> 6 - #include <asm/vmx.h> 7 - #include <asm/kvm.h> 8 - 9 - #define DECODE_STR_LEN 20 10 - 11 - #define VCPU_ID "vcpu_id" 12 - 13 - #define KVM_ENTRY_TRACE "kvm:kvm_entry" 14 - #define KVM_EXIT_TRACE "kvm:kvm_exit" 15 - #define KVM_EXIT_REASON "exit_reason" 16 - 17 - #endif /* _ASM_X86_KVM_PERF_H */
-2
tools/perf/check-headers.sh
··· 40 40 "arch/s390/include/uapi/asm/perf_regs.h" 41 41 "arch/x86/include/uapi/asm/perf_regs.h" 42 42 "arch/x86/include/uapi/asm/kvm.h" 43 - "arch/x86/include/uapi/asm/kvm_perf.h" 44 43 "arch/x86/include/uapi/asm/svm.h" 45 44 "arch/x86/include/uapi/asm/unistd.h" 46 45 "arch/x86/include/uapi/asm/vmx.h" 47 46 "arch/powerpc/include/uapi/asm/kvm.h" 48 47 "arch/s390/include/uapi/asm/kvm.h" 49 - "arch/s390/include/uapi/asm/kvm_perf.h" 50 48 "arch/s390/include/uapi/asm/sie.h" 51 49 "arch/arm/include/uapi/asm/kvm.h" 52 50 "arch/arm64/include/uapi/asm/kvm.h"