linux/tools/accounting
Arnd Bergmann 9333980c23 delayacct: fix build regression on accounting tool
The accounting tool was modified for the original ABI using a custom
'timespec64' type in linux/taskstats.h, which I changed to use the regular
__kernel_timespec type, causing a build failure:

        getdelays.c:202:45: warning: 'struct timespec64' declared inside parameter list will not be visible outside of this definition or declaration

     202 | static const char *format_timespec64(struct timespec64 *ts)
         |                                             ^~~~~~~~~~

Change the tool to match the updated header.

Link: https://lkml.kernel.org/r/20260210103427.2984963-1-arnd@kernel.org
Fixes: 503efe850c ("delayacct: add timestamp of delay max")
Fixes: f06e31eef4c1 ("delayacct: fix uapi timespec64 definition")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/r/202602091611.lxgINqXp-lkp@intel.com/
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
2026-02-12 15:45:56 -08:00
..
.gitignore taskstats: version 12 with thread group and exe info 2022-04-29 14:38:03 -07:00
delaytop.c tools/delaytop: improve error handling for missing PSI support 2025-09-13 17:32:56 -07:00
getdelays.c delayacct: fix build regression on accounting tool 2026-02-12 15:45:56 -08:00
Makefile tools/accounting/delaytop: add delaytop to record top-n task delay 2025-07-09 22:57:56 -07:00
procacct.c tools/accounting/procacct: fix minor errors 2025-01-12 20:20:59 -08:00