perf tools: Mount debugfs automatically
authorXiao Guangrong <xiaoguangrong@cn.fujitsu.com>
Mon, 28 Dec 2009 08:47:12 +0000 (16:47 +0800)
committerIngo Molnar <mingo@elte.hu>
Mon, 28 Dec 2009 09:36:36 +0000 (10:36 +0100)
commit29c52aa2300173dd45df04dae1f5acc81a2c93b1
treec27098eaff73c07d06420d43ce81683ed1bca612
parent07b139c8c81b97bbe55c68daf0cbeca8b1c609ca
perf tools: Mount debugfs automatically

Mount debugfs filesystem under '/sys/kernel/debug', if it's not
mounted.

Signed-off-by: Xiao Guangrong <xiaoguangrong@cn.fujitsu.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Clark Williams <williams@redhat.com>
Cc: John Kacur <jkacur@redhat.com>
LKML-Reference: <4B387090.7080407@cn.fujitsu.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
tools/perf/perf.c
tools/perf/util/debugfs.c
tools/perf/util/debugfs.h