mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-19 18:24:14 +08:00
994025caba
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>
11 lines
272 B
C
11 lines
272 B
C
#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 */
|