diff options
author | Jeremy Fitzhardinge <jeremy@goop.org> | 2008-08-21 02:02:19 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-08-21 13:52:58 +0200 |
commit | 994025caba3e6beade9bde84dd1b70d9d250f27b (patch) | |
tree | 0fe4d6f08d252af1db6a631182725085bb76442b /arch/x86/xen/debugfs.h | |
parent | xen: save previous spinlock when blocking (diff) | |
download | linux-994025caba3e6beade9bde84dd1b70d9d250f27b.tar.xz linux-994025caba3e6beade9bde84dd1b70d9d250f27b.zip |
xen: add debugfs support
Add support for exporting statistics on mmu updates, multicall
batching and pv spinlocks into debugfs. The base path is xen/ and
each subsystem adds its own directory: mmu, multicalls, spinlocks.
In each directory, writing 1 to "zero_stats" will cause the
corresponding stats to be zeroed the next time they're updated.
Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Acked-by: Jan Beulich <jbeulich@novell.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/xen/debugfs.h')
-rw-r--r-- | arch/x86/xen/debugfs.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/x86/xen/debugfs.h b/arch/x86/xen/debugfs.h new file mode 100644 index 000000000000..e28132084832 --- /dev/null +++ b/arch/x86/xen/debugfs.h @@ -0,0 +1,10 @@ +#ifndef _XEN_DEBUGFS_H +#define _XEN_DEBUGFS_H + +struct dentry * __init xen_init_debugfs(void); + +struct dentry *xen_debugfs_create_u32_array(const char *name, mode_t mode, + struct dentry *parent, + u32 *array, unsigned elements); + +#endif /* _XEN_DEBUGFS_H */ |