On Tue, May 27, 2014 at 01:11:14PM +0800, Zhenqiang Chen wrote:
> On 27 May 2014 11:59, Denys Dmytriyenko wrote:
> > On Tue, May 27, 2014 at 11:17:47AM +0800, Zhenqiang Chen wrote:
> >> On 27 May 2014 10:17, Denys Dmytriyenko wrote:
> >> > Hi,
> >> >
> >> > I've been having this issue with latest
Signed-off-by: Amit Kucheria
---
idlestat.c | 24
1 file changed, 12 insertions(+), 12 deletions(-)
diff --git a/idlestat.c b/idlestat.c
index 27000aa..8e3cec0 100644
--- a/idlestat.c
+++ b/idlestat.c
@@ -957,11 +957,11 @@ static void version(const char *cmd)
static s
Change the flag field to NULL while we're at it
Signed-off-by: Amit Kucheria
---
idlestat.c | 21 ++---
1 file changed, 10 insertions(+), 11 deletions(-)
diff --git a/idlestat.c b/idlestat.c
index 96fc1f2..c4a405a 100644
--- a/idlestat.c
+++ b/idlestat.c
@@ -955,17 +955,6 @@ sta
Switch the dump option (which might be used infrequently) to use -m
Signed-off-by: Amit Kucheria
---
idlestat.c | 14 +++---
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/idlestat.c b/idlestat.c
index 48e4166..a3b9363 100644
--- a/idlestat.c
+++ b/idlestat.c
@@ -946,7 +94
Signed-off-by: Amit Kucheria
---
README | 7 +--
idlestat.c | 11 ---
2 files changed, 13 insertions(+), 5 deletions(-)
diff --git a/README b/README
index 3a8eb49..24485c5 100644
--- a/README
+++ b/README
@@ -28,14 +28,17 @@ Requirements
1. It must be run as root in order to ac
commit 1e80e5eaf71b606405cbdf6751aa7446533d8b3a (idlestat: get ride of
trace-cmd) seems to have missed adding this
Signed-off-by: Amit Kucheria
---
idlestat.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/idlestat.c b/idlestat.c
index 8e3cec0..7de9c1d 100644
--- a/idlestat.c
+++ b/idle
Hi,
These are a few cleanups around idlestat commandline options while I was
working on reformating the report.
Regards,
Amit
Amit Kucheria (9):
'verbose' option isn't used anywhere, remove it
Sort options in alphabetic order of the single-char options
Adding missing 'duration' option in l
Adding ':' as first character of optstring to getopt_long allows separating
error message for invalid option and invalid option arguments
Signed-off-by: Amit Kucheria
---
idlestat.c | 15 ++-
1 file changed, 10 insertions(+), 5 deletions(-)
diff --git a/idlestat.c b/idlestat.c
index
Signed-off-by: Amit Kucheria
---
idlestat.c | 16
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/idlestat.c b/idlestat.c
index 7de9c1d..48e4166 100644
--- a/idlestat.c
+++ b/idlestat.c
@@ -956,14 +956,14 @@ static void version(const char *cmd)
}
static struct o
Signed-off-by: Amit Kucheria
---
idlestat.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/idlestat.c b/idlestat.c
index 3b4bd17..27000aa 100644
--- a/idlestat.c
+++ b/idlestat.c
@@ -960,7 +960,6 @@ static struct option long_options[] = {
{ "iterations", 0, 0, 'i'
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"
11 matches
Mail list logo