Commit Graph
3 Commits
Author SHA1 Message Date
Srivatsa Vaddagiri 9fe2a70153 debugfs: Add support to print u32 array in debugfs
Move the code from Xen to debugfs to make the code common
for other users as well.

Accked-by: Greg Kroah-Hartman <[email protected]>
Signed-off-by: Srivatsa Vaddagiri <[email protected]>
Signed-off-by: Suzuki Poulose <[email protected]>
[v1: Fixed rebase issues]
[v2: Fixed PPC compile issues]
Signed-off-by: Raghavendra K T <[email protected]>
Signed-off-by: Konrad Rzeszutek Wilk <[email protected]>
2012-04-17 00:18:36 -04:00
Al Viro f4ae40a6a5 switch debugfs to umode_t
Signed-off-by: Al Viro <[email protected]>
2012-01-03 22:54:56 -05:00
Jeremy Fitzhardinge 994025caba 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 <[email protected]>
Acked-by: Jan Beulich <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
2008-08-21 13:52:58 +02:00