On 29 July 2014 19:36, Lisa Nguyen wrote:
> Focus on returning the results of each test script rather
> than the results of each subtest. This will help to keep the
> number of PM-QA test results consistent across multiple boards
> regardless of number of frequencies, cores, etc.
>
> Examples befo
This patch adds the '-v' option in the command line.
The level of verbosity is choosen by the number of time the -v occurs.
no -v option : verbosity 0
-v : verbosity 1
-vv : verbosity 2
-vvv : verbosity 3
etc ...
Note this option is not yet used in the code.
Signed-of
Make some code separations to prepare the code for cleanup.
Signed-off-by: Daniel Lezcano
---
idlestat.c | 84 ++--
1 file changed, 54 insertions(+), 30 deletions(-)
diff --git a/idlestat.c b/idlestat.c
index e4dbb89..b084b5d 100644
---
Add the options to select c-states, p-states and wakeup output.
--idle, -c : show c-states
--frequency, -p : show p-states
--wakeup, -w: show wakeup sources
Signed-off-by: Daniel Lezcano
---
idlestat.c | 33 ++---
idlestat.h |4
2 files changed, 3
The output is now in the form of:
| P-state | min| max| avg| total | hits |
| cpu0 |
From: Patrick Bellasi
To properly identify the initial PState of each CPU, the idlestat_wake_all
function is used to force an idle state exit on all CPUs by pinning idlestat
on each CPUs. However, this routine forgets to recover the original mask
at the end of the pinning process.
This patch sol
In case the application is killed by the timeout and it handles the SIGTERM, it
may return an error, thus idlestat won't display the result.
Ignore the return code of the application.
Signed-off-by: Daniel Lezcano
---
idlestat.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --g
Signed-off-by: Daniel Lezcano
---
idlestat.c | 10 +-
1 file changed, 1 insertion(+), 9 deletions(-)
diff --git a/idlestat.c b/idlestat.c
index b084b5d..e5dde8c 100644
--- a/idlestat.c
+++ b/idlestat.c
@@ -72,15 +72,7 @@ static int display_cstates(struct cpuidle_cstates *cstates,
char
Signed-off-by: Daniel Lezcano
---
idlestat.c | 12
1 file changed, 8 insertions(+), 4 deletions(-)
diff --git a/idlestat.c b/idlestat.c
index 2a0c549..30860db 100644
--- a/idlestat.c
+++ b/idlestat.c
@@ -1162,7 +1162,8 @@ static int idlestat_file_for_each_line(const char *path,
v
Signed-off-by: Daniel Lezcano
---
idlestat.c | 102 ++--
topology.c | 10 +++---
2 files changed, 70 insertions(+), 42 deletions(-)
diff --git a/idlestat.c b/idlestat.c
index da1e14b..24248b2 100644
--- a/idlestat.c
+++ b/idlestat.c
@@ -
Signed-off-by: Daniel Lezcano
---
idlestat.c | 72 ++--
idlestat.h |2 --
topology.c | 12 +-
topology.h |5 ++---
4 files changed, 19 insertions(+), 72 deletions(-)
diff --git a/idlestat.c b/idlestat.c
index 8138e35..e4
Signed-off-by: Daniel Lezcano
---
.gitignore |1 +
1 file changed, 1 insertion(+)
diff --git a/.gitignore b/.gitignore
index 968abde..4ee98b8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -30,6 +30,7 @@
*.orig
*~
\#*#
+patches
#
# Top-level files
--
1.7.9.5
__
This function are pointless, remove them.
Signed-off-by: Daniel Lezcano
---
idlestat.c | 16 ++--
idlestat.h |1 -
2 files changed, 2 insertions(+), 15 deletions(-)
diff --git a/idlestat.c b/idlestat.c
index 30860db..abbb787 100644
--- a/idlestat.c
+++ b/idlestat.c
@@ -1042,11
13 matches
Mail list logo