On 05/29/2014 12:17 AM, Amit Kucheria wrote:
Signed-off-by: Amit Kucheria <[email protected]>
Yep, powerdebug => idledebug => idlestat :)
Legacy copy/paste from powerdebug.
Acked-by: Daniel Lezcano <[email protected]>
---
idlestat.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/idlestat.c b/idlestat.c
index 849b6dd..00b2032 100644
--- a/idlestat.c
+++ b/idlestat.c
@@ -959,7 +959,7 @@ static void version(const char *cmd)
printf("%s version %s\n", basename(cmd), IDLESTAT_VERSION);
}
-struct idledebug_options {
+struct program_options {
bool debug;
bool dump;
int iterations;
@@ -967,7 +967,7 @@ struct idledebug_options {
char *filename;
};
-int getoptions(int argc, char *argv[], struct idledebug_options *options)
+int getoptions(int argc, char *argv[], struct program_options *options)
{
int c;
@@ -1135,7 +1135,7 @@ static void sighandler(int sig)
}
static int execute(int argc, char *argv[], char *const envp[],
- struct idledebug_options *options)
+ struct program_options *options)
{
pid_t pid;
int status;
@@ -1192,7 +1192,7 @@ int main(int argc, char *argv[], char *const envp[])
{
struct cpuidle_datas *datas;
struct cpuidle_datas *cluster;
- struct idledebug_options options;
+ struct program_options options;
struct rusage rusage;
int args;
--
<http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs
Follow Linaro: <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog
_______________________________________________
linaro-dev mailing list
[email protected]
http://lists.linaro.org/mailman/listinfo/linaro-dev