Re: [PATCH 9/9] idledebug? When did we ever call it that?

2014-05-30 Thread Daniel Lezcano

On 05/29/2014 12:17 AM, Amit Kucheria wrote:

Signed-off-by: Amit Kucheria 


Yep, powerdebug => idledebug => idlestat :)

Legacy copy/paste from powerdebug.

Acked-by: Daniel Lezcano 


---
  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;





--
  Linaro.org │ Open source software for ARM SoCs

Follow Linaro:   Facebook |
 Twitter |
 Blog


___
linaro-dev mailing list
linaro-dev@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/linaro-dev


[PATCH 9/9] idledebug? When did we ever call it that?

2014-05-28 Thread Amit Kucheria
Signed-off-by: Amit Kucheria 
---
 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;
 
-- 
1.9.1


___
linaro-dev mailing list
linaro-dev@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/linaro-dev