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

resource fd_show_needcpus[fd]

openat$fd_show_needcpus(fd const[AT_FDCWD], file ptr[in, string["/sys/devices/system/cpu/cpu0/core_ctl/need_cpus"]], flags const[O_RDWR], mode const[0]) fd_show_needcpus

type read_needcpus array[int8, 1024]
read$NEEDCPUS(fd fd_show_needcpus, buf ptr[out, read_needcpus], len bytesize[buf])