perf tools: Remove static debugfs path from parse-events
authorAshwin Chaugule <ashwinc@quicinc.com>
Sun, 4 Oct 2009 22:49:34 +0000 (15:49 -0700)
committerIngo Molnar <mingo@elte.hu>
Mon, 12 Oct 2009 20:41:05 +0000 (22:41 +0200)
commit63c9e01e1a0dcecc982137d527d44b5ac808b607
tree7231c231457af3f2463e277a4ebff0228fb9fb59
parent55621ccf2b7a8afe39df8c80f55b28424fd07d13
perf tools: Remove static debugfs path from parse-events

Timechart doesn't work if debugfs is not in /sys/kernel/debug/.
Fixed by using global debugfs_path which is filled in by perf.

Signed-off-by: Ashwin Chaugule <ashwinc@quicinc.com>
Cc: "Arjan van de Ven" <arjan@linux.intel.com>
LKML-Reference: <a751bdc6978478de6d10440e587a2cc7.squirrel@www.codeaurora.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
tools/perf/util/parse-events.c