mirror of
https://github.com/openharmony/third_party_ltp.git
synced 2026-07-01 12:25:45 -04:00
fa84e72d29
Signed-off-by: limeng151 <limeng151@huawei.com> Change-Id: Ib2bdb78deee8e79c8900b3703446c0a617619804
21 lines
547 B
Plaintext
Executable File
21 lines
547 B
Plaintext
Executable File
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>
|
|
])
|
|
])
|