[PATCH 0/2] tools/getdelays: use the static UAPI headers from tools/include/uapi

From: Thomas Weißschuh

Date: Sat Mar 07 2026 - 03:48:13 EST


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.

Signed-off-by: Thomas Weißschuh <linux@xxxxxxxxxxxxxx>
---
Thomas Weißschuh (2):
tools headers UAPI: Sync linux/taskstats.h
tools/getdelays: use the static UAPI headers from tools/include/uapi

tools/accounting/Makefile | 2 +-
tools/include/uapi/linux/taskstats.h | 291 +++++++++++++++++++++++++++++++++++
2 files changed, 292 insertions(+), 1 deletion(-)
---
base-commit: 6de23f81a5e08be8fbf5e8d7e9febc72a5b5f27f
change-id: 20260307-accounting-taskstats-h-7108da7a2dde

Best regards,
--
Thomas Weißschuh <linux@xxxxxxxxxxxxxx>