include <linux/stat.h>
include <uapi/linux/fuse.h>
include <uapi/linux/fcntl.h>
include <include/linux/kernfs.h>

resource fd_empty_round_check_threshold[fd]
openat$fd_empty_round_check_threshold(fd const[AT_FDCWD], file ptr[in, string["/dev/memcg/memory.empty_round_check_threshold"]], flags const[O_RDWR], mode const[0]) fd_empty_round_check_threshold

write$EMPTY_ROUNDCHECKTHRESHOLD(fd fd_empty_round_check_threshold, data ptr[in, int32], len bytesize[data])

#ifdef CONFIG_HYPERHOLD_DEBUG
type read_empty_round_check_threshold array[int8, 1024]
read$EMPTY_ROUNDCHECKTHRESHOLD(fd fd_empty_round_check_threshold, buf ptr[out, read_empty_round_check_threshold], len bytesize[buf])
#endif