/
usr
/
src
/
linux-headers-5.15.0-181
/
arch
/
s390
/
include
/
uapi
/
asm
/
/usr/src/linux-headers-5.15.0-181/arch/s390/include/uapi/asm
mkdir
upload
Name
Size
Mode
Actions
auxvec.h
214
0644
edit
dl
rm
bitsperlong.h
293
0644
edit
dl
rm
bpf_perf_event.h
250
0644
edit
dl
rm
byteorder.h
188
0644
edit
dl
rm
chpid.h
456
0644
edit
dl
rm
chsc.h
2903
0644
edit
dl
rm
clp.h
549
0644
edit
dl
rm
cmb.h
1919
0644
edit
dl
rm
dasd.h
12658
0644
edit
dl
rm
guarded_storage.h
1208
0644
edit
dl
rm
hwctrset.h
1689
0644
edit
dl
rm
hypfs.h
1382
0644
edit
dl
rm
ioctls.h
191
0644
edit
dl
rm
ipcbuf.h
770
0644
edit
dl
rm
ipl.h
3297
0644
edit
dl
rm
Kbuild
90
0644
edit
dl
rm
kvm.h
8269
0644
edit
dl
rm
kvm_para.h
224
0644
edit
dl
rm
kvm_perf.h
474
0644
edit
dl
rm
monwriter.h
939
0644
edit
dl
rm
perf_regs.h
887
0644
edit
dl
rm
pkey.h
20741
0644
edit
dl
rm
posix_types.h
1594
0644
edit
dl
rm
ptrace.h
11719
0644
edit
dl
rm
qeth.h
3119
0644
edit
dl
rm
runtime_instr.h
1424
0644
edit
dl
rm
schid.h
380
0644
edit
dl
rm
sclp_ctl.h
465
0644
edit
dl
rm
setup.h
256
0644
edit
dl
rm
sie.h
9469
0644
edit
dl
rm
sigcontext.h
1772
0644
edit
dl
rm
signal.h
3056
0644
edit
dl
rm
stat.h
2966
0644
edit
dl
rm
statfs.h
1058
0644
edit
dl
rm
sthyi.h
178
0644
edit
dl
rm
tape390.h
2830
0644
edit
dl
rm
termios.h
1170
0644
edit
dl
rm
types.h
525
0644
edit
dl
rm
ucontext.h
1207
0644
edit
dl
rm
unistd.h
326
0644
edit
dl
rm
uvdevice.h
1668
0644
edit
dl
rm
virtio-ccw.h
444
0644
edit
dl
rm
vmcp.h
737
0644
edit
dl
rm
vtoc.h
7539
0644
edit
dl
rm
zcrypt.h
11426
0644
edit
dl
rm
Edit:
/usr/src/linux-headers-5.15.0-181/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 <tmricht@linux.ibm.com> * * 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 <linux/ioctl.h> #include <linux/types.h> #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
Save
cmd:
run