perf probe: Check whether debugfs path is correct
authorMasami Hiramatsu <mhiramat@redhat.com>
Wed, 16 Dec 2009 22:24:00 +0000 (17:24 -0500)
committerIngo Molnar <mingo@elte.hu>
Thu, 17 Dec 2009 08:42:43 +0000 (09:42 +0100)
commit96c96612e952f63cc0055db9df7d8b5b1ada02be
tree63449cbf9733ee5b23bddd5a563068cf666be575
parent27f3b24de03fc7cec6f2406f8525ad18086c2121
perf probe: Check whether debugfs path is correct

Check whether the debugfs path is correct before executing
a command, because perf-probe depends on debugfs.

Signed-off-by: Masami Hiramatsu <mhiramat@redhat.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Jim Keniston <jkenisto@us.ibm.com>
Cc: Ananth N Mavinakayanahalli <ananth@in.ibm.com>
Cc: Christoph Hellwig <hch@infradead.org>
Cc: Jason Baron <jbaron@redhat.com>
Cc: K.Prasad <prasad@linux.vnet.ibm.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Srikar Dronamraju <srikar@linux.vnet.ibm.com>
Cc: systemtap <systemtap@sources.redhat.com>
Cc: DLE <dle-develop@lists.sourceforge.net>
LKML-Reference: <20091216222400.14459.48162.stgit@dhcp-100-2-132.bos.redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
tools/perf/builtin-probe.c