* + tools-getdelays-use-the-static-uapi-headers-from-tools-include-uapi.patch added to mm-nonmm-unstable branch
@ 2026-03-08 21:26 Andrew Morton
0 siblings, 0 replies; only message in thread
From: Andrew Morton @ 2026-03-08 21:26 UTC (permalink / raw)
To: mm-commits, yang.yang29, xu.xin16, wang.yaxin, lkp, jiang.kun2,
bsingharora, arnd, linux, akpm
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 2785 bytes --]
The patch titled
Subject: tools/getdelays: use the static UAPI headers from tools/include/uapi
has been added to the -mm mm-nonmm-unstable branch. Its filename is
tools-getdelays-use-the-static-uapi-headers-from-tools-include-uapi.patch
This patch will shortly appear at
https://git.kernel.org/pub/scm/linux/kernel/git/akpm/25-new.git/tree/patches/tools-getdelays-use-the-static-uapi-headers-from-tools-include-uapi.patch
This patch will later appear in the mm-nonmm-unstable branch at
git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
Before you just go and hit "reply", please:
a) Consider who else should be cc'ed
b) Prefer to cc a suitable mailing list as well
c) Ideally: find the original patch on the mailing list and do a
reply-to-all to that, adding suitable additional cc's
*** Remember to use Documentation/process/submit-checklist.rst when testing your code ***
The -mm tree is included into linux-next via various
branches at git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
and is updated there most days
------------------------------------------------------
From: =?utf-8?q?Thomas_Wei=C3=9Fschuh?= <linux@weissschuh.net>
Subject: tools/getdelays: use the static UAPI headers from tools/include/uapi
Date: Sat, 07 Mar 2026 09:47:53 +0100
The include directory ../../usr/include is only present if an in-tree
kernel build with CONFIG_HEADERS_INSTALL was done before.
Otherwise the system UAPI headers are used, which most likely are not
the most recent ones.
To make sure to always have access to up-to-date UAPI headers,
use the static copy in tools/include/uapi.
Link: https://lkml.kernel.org/r/20260307-accounting-taskstats-h-v1-2-0b75915c6ce5@weissschuh.net
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/r/202603062103.Z5fecwZD-lkp@intel.com/
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Balbir Singh <bsingharora@gmail.com>
Cc: Jiang Kun <jiang.kun2@zte.com.cn>
Cc: Wang Yaxin <wang.yaxin@zte.com.cn>
Cc: xu xin <xu.xin16@zte.com.cn>
Cc: Yang Yang <yang.yang29@zte.com.cn>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
tools/accounting/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/tools/accounting/Makefile~tools-getdelays-use-the-static-uapi-headers-from-tools-include-uapi
+++ a/tools/accounting/Makefile
@@ -1,6 +1,6 @@
# SPDX-License-Identifier: GPL-2.0
CC := $(CROSS_COMPILE)gcc
-CFLAGS := -I../../usr/include
+CFLAGS := -I../include/uapi/
PROGS := getdelays procacct delaytop
_
Patches currently in -mm which might be from linux@weissschuh.net are
tools-headers-uapi-sync-linux-taskstatsh.patch
tools-getdelays-use-the-static-uapi-headers-from-tools-include-uapi.patch
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-03-08 21:26 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-08 21:26 + tools-getdelays-use-the-static-uapi-headers-from-tools-include-uapi.patch added to mm-nonmm-unstable branch Andrew Morton
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.