diff options
author | Daniel Lezcano <daniel.lezcano@free.fr> | 2011-03-26 22:06:08 +0100 |
---|---|---|
committer | Amit Kucheria <amit.kucheria@linaro.org> | 2011-04-04 02:53:32 +0300 |
commit | 9dc3fb39e45c336cd3e22ab902f362a36f3ae509 (patch) | |
tree | 164274a048a5c2acfc3740649e8320bb3fc20bfa /clocks.h | |
parent | 6e0c9c87cf38301f8dbf0b0f1ec9bf97dcb5fff6 (diff) |
change debugfs finder function
Change the debugfs_locate_mpoint function to be nicer and more
efficient.
Another effect is that fixes a segmentation fault when calling powerdebug --dump
Signed-off-by: Daniel Lezcano <daniel.lezcano@free.fr>
Signed-off-by: Amit Kucheria <amit.kucheria@linaro.org>
Diffstat (limited to 'clocks.h')
-rw-r--r-- | clocks.h | 7 |
1 files changed, 0 insertions, 7 deletions
@@ -36,17 +36,10 @@ struct clock_info { struct clock_info **children; } *clocks_info; -char debugfs_mntpoint[1024]; char clock_lines[MAX_LINES][128]; int clock_line_no; int old_clock_line_no; -char *likely_mpoints[] = { - "/sys/kernel/debug", - "/debug", - NULL -}; - void add_clock_details_recur(struct clock_info *clk, int hrow, int selected); void destroy_clocks_info(void); void destroy_clocks_info_recur(struct clock_info *clock); |