aboutsummaryrefslogtreecommitdiffstats
path: root/arch/s390/hypfs/hypfs.h
diff options
context:
space:
mode:
authorMichael Holzheu <holzheu@linux.vnet.ibm.com>2015-02-09 14:49:10 +0100
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2015-02-10 16:38:58 +0100
commit34c0dad752294f373a0720840f59e186788ba227 (patch)
tree4d9da02c1edf8c5b4cf57016164747bfabd6faee /arch/s390/hypfs/hypfs.h
parents390/cacheinfo: don't use smp_processor_id() in preemptible context (diff)
downloadlinux-dev-34c0dad752294f373a0720840f59e186788ba227.tar.xz
linux-dev-34c0dad752294f373a0720840f59e186788ba227.zip
s390/hypfs: Add diagnose 0c support
With this feature, you can read the CPU performance metrics provided by the z/VM diagnose 0C. This then allows to get the management time for each online CPU of the guest where the diagnose is executed. The new debugfs file /sys/kernel/debug/s390_hypfs/diag_0c exports the diag0C binary data to user space via an open/read/close interface. The binary data consists out of a header structure followed by an array that contains the diagnose 0c data for each online CPU. Signed-off-by: Michael Holzheu <holzheu@linux.vnet.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/hypfs/hypfs.h')
-rw-r--r--arch/s390/hypfs/hypfs.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/s390/hypfs/hypfs.h b/arch/s390/hypfs/hypfs.h
index b34b5ab90a31..36d093fa9fb3 100644
--- a/arch/s390/hypfs/hypfs.h
+++ b/arch/s390/hypfs/hypfs.h
@@ -37,6 +37,10 @@ extern int hypfs_vm_init(void);
extern void hypfs_vm_exit(void);
extern int hypfs_vm_create_files(struct dentry *root);
+/* VM diagnose 0c */
+int hypfs_diag0c_init(void);
+void hypfs_diag0c_exit(void);
+
/* Set Partition-Resource Parameter */
int hypfs_sprp_init(void);
void hypfs_sprp_exit(void);