/usr/src/linux-headers-5.15.0-190/arch/s390/include/uapi/asm
NameSizeModeActions
auxvec.h2140644editdlrm
bitsperlong.h2930644editdlrm
bpf_perf_event.h2500644editdlrm
byteorder.h1880644editdlrm
chpid.h4560644editdlrm
chsc.h29030644editdlrm
clp.h5490644editdlrm
cmb.h19190644editdlrm
dasd.h126580644editdlrm
guarded_storage.h12080644editdlrm
hwctrset.h16890644editdlrm
hypfs.h13820644editdlrm
ioctls.h1910644editdlrm
ipcbuf.h7700644editdlrm
ipl.h32970644editdlrm
Kbuild900644editdlrm
kvm.h82690644editdlrm
kvm_para.h2240644editdlrm
kvm_perf.h4740644editdlrm
monwriter.h9390644editdlrm
perf_regs.h8870644editdlrm
pkey.h207410644editdlrm
posix_types.h15940644editdlrm
ptrace.h117190644editdlrm
qeth.h31190644editdlrm
runtime_instr.h14240644editdlrm
schid.h3800644editdlrm
sclp_ctl.h4650644editdlrm
setup.h2560644editdlrm
sie.h94690644editdlrm
sigcontext.h17720644editdlrm
signal.h30560644editdlrm
stat.h29660644editdlrm
statfs.h10580644editdlrm
sthyi.h1780644editdlrm
tape390.h28300644editdlrm
termios.h11700644editdlrm
types.h5250644editdlrm
ucontext.h12070644editdlrm
unistd.h3260644editdlrm
uvdevice.h16680644editdlrm
virtio-ccw.h4440644editdlrm
vmcp.h7370644editdlrm
vtoc.h75390644editdlrm
zcrypt.h114260644editdlrm
Edit: /usr/src/linux-headers-5.15.0-190/arch/s390/include/uapi/asm/hwctrset.h (1689B)
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ /* * Copyright IBM Corp. 2021 * Interface implementation for communication with the CPU Measurement * counter facility device driver. * * Author(s): Thomas Richter * * Define for ioctl() commands to communicate with the CPU Measurement * counter facility device driver. */ #ifndef _PERF_CPUM_CF_DIAG_H #define _PERF_CPUM_CF_DIAG_H #include #include #define S390_HWCTR_DEVICE "hwctr" #define S390_HWCTR_START_VERSION 1 struct s390_ctrset_start { /* Set CPUs to operate on */ __u64 version; /* Version of interface */ __u64 data_bytes; /* # of bytes required */ __u64 cpumask_len; /* Length of CPU mask in bytes */ __u64 *cpumask; /* Pointer to CPU mask */ __u64 counter_sets; /* Bit mask of counter sets to get */ }; struct s390_ctrset_setdata { /* Counter set data */ __u32 set; /* Counter set number */ __u32 no_cnts; /* # of counters stored in cv[] */ __u64 cv[0]; /* Counter values (variable length) */ }; struct s390_ctrset_cpudata { /* Counter set data per CPU */ __u32 cpu_nr; /* CPU number */ __u32 no_sets; /* # of counters sets in data[] */ struct s390_ctrset_setdata data[0]; }; struct s390_ctrset_read { /* Structure to get all ctr sets */ __u64 no_cpus; /* Total # of CPUs data taken from */ struct s390_ctrset_cpudata data[0]; }; #define S390_HWCTR_MAGIC 'C' /* Random magic # for ioctls */ #define S390_HWCTR_START _IOWR(S390_HWCTR_MAGIC, 1, struct s390_ctrset_start) #define S390_HWCTR_STOP _IO(S390_HWCTR_MAGIC, 2) #define S390_HWCTR_READ _IOWR(S390_HWCTR_MAGIC, 3, struct s390_ctrset_read) #endif