• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1include <linux/stat.h>
2include <uapi/linux/fuse.h>
3include <uapi/linux/fcntl.h>
4
5resource fd_show_activecpus[fd]
6
7openat$fd_show_activecpus(fd const[AT_FDCWD], file ptr[in, string["/sys/devices/system/cpu/cpu0/core_ctl/active_cpus"]], flags const[O_RDWR], mode const[0]) fd_show_activecpus
8
9type read_activecpus array[int8, 1024]
10read$ACTIVECPUS(fd fd_show_activecpus, buf ptr[out, read_activecpus], len bytesize[buf])