aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--clocks.c4
-rw-r--r--powerdebug.c3
-rw-r--r--powerdebug.h2
3 files changed, 4 insertions, 5 deletions
diff --git a/clocks.c b/clocks.c
index 4b5b0b7..c42f589 100644
--- a/clocks.c
+++ b/clocks.c
@@ -146,7 +146,7 @@ static void dump_all_parents(char *clkarg, bool dump)
}
}
-void find_parents_for_clock(char *clkname, int complete, bool dump)
+void find_parents_for_clock(char *clkname, int complete)
{
char name[256];
@@ -161,7 +161,7 @@ void find_parents_for_clock(char *clkname, int complete, bool dump)
}
sprintf(name, "Parents for \"%s\" Clock : \n", clkname);
print_one_clock(0, name, 1, 1);
- dump_all_parents(clkname, dump);
+ dump_all_parents(clkname, false);
}
int read_and_print_clock_info(int verbose, int hrow, int selected)
diff --git a/powerdebug.c b/powerdebug.c
index ca7db7a..3832da6 100644
--- a/powerdebug.c
+++ b/powerdebug.c
@@ -294,8 +294,7 @@ int mainloop(struct powerdebug_options *options,
enter_hit = false;
} else
find_parents_for_clock(clkname_str,
- enter_hit,
- options->dump);
+ enter_hit);
}
}
diff --git a/powerdebug.h b/powerdebug.h
index 7ec7d96..d2bd4ec 100644
--- a/powerdebug.h
+++ b/powerdebug.h
@@ -35,7 +35,7 @@ extern struct clock_info *read_clock_info_recur(char *clkpath, int level,
struct clock_info *parent);
extern void dump_clock_info(struct clock_info *clk, int level, int bmp);
extern void insert_children(struct clock_info **parent, struct clock_info *clk);
-extern void find_parents_for_clock(char *clkname, int complete, bool dump);
+extern void find_parents_for_clock(char *clkname, int complete);
extern int read_and_print_clock_info(int verbose, int hrow, int selected);
extern void print_clock_info(int verbose, int hrow, int selected);
extern void print_string_val(char *name, char *val);