Revision 547cc9be86f4c51c51fd429ace6c2e1ef9050d15 authored by Linus Torvalds on 25 June 2023, 17:13:17 UTC, committed by Linus Torvalds on 25 June 2023, 17:13:17 UTC
Pull perf fixes from Borislav Petkov:

 - Drop the __weak attribute from a function prototype as it otherwise
   leads to the function getting replaced by a dummy stub

 - Fix the umask value setup of the frontend event as former is
   different on two Intel cores

* tag 'perf_urgent_for_v6.4' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
  perf/x86/intel: Fix the FRONTEND encoding on GNR and MTL
  perf/core: Drop __weak attribute from arch_perf_update_userpage() prototype
2 parent s 300edd7 + a6742cb
Raw File
misc-check
#!/bin/sh
# SPDX-License-Identifier: GPL-2.0-only

set -e

# Detect files that are tracked but ignored by git. This is checked only when
# ${KBUILD_EXTRA_WARN} contains 1, git is installed, and the source tree is
# tracked by git.
check_tracked_ignored_files () {
	case "${KBUILD_EXTRA_WARN}" in
	*1*) ;;
	*) return;;
	esac

	git -C ${srctree:-.} ls-files -i -c --exclude-per-directory=.gitignore 2>/dev/null |
		sed 's/$/: warning: ignored by one of the .gitignore files/' >&2
}

check_tracked_ignored_files
back to top