• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1include <linux/stat.h>
2include <uapi/linux/fuse.h>
3include <uapi/linux/fcntl.h>
4
5resource fd_show_needcpus[fd]
6
7openat$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
8
9type read_needcpus array[int8, 1024]
10read$NEEDCPUS(fd fd_show_needcpus, buf ptr[out, read_needcpus], len bytesize[buf])