You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
547 B

dnl SPDX-License-Identifier: GPL-2.0-or-later
dnl Copyright (c) Jiri Palecek 2009
AC_DEFUN([LTP_CHECK_TASKSTATS],
_LTP_CHECK_TASKSTATS_FREEPAGES
)
dnl Check for taskstat.freepages_* members, introduced to the kernel
dnl in commit 016ae219 in July 2008
AC_DEFUN([_LTP_CHECK_TASKSTATS_FREEPAGES],[
AC_CHECK_HEADERS([linux/taskstats.h],[
AC_CHECK_MEMBERS([struct taskstats.freepages_count, struct taskstats.nvcsw, struct taskstats.read_bytes],
[],[],[
#include <linux/taskstats.h>
])
],[],[
#include <linux/types.h>
])
])