Re: Prebuilt Linaro 2014.04 arm-linux-gnueabihf: cannot find /lib/ld-linux-armhf.so.3

2014-05-28 Thread Denys Dmytriyenko
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

[PATCH 2/9] Sort options in alphabetic order of the single-char options

2014-05-28 Thread Amit Kucheria
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

[PATCH 7/9] struct option long_options doesn't need to be global

2014-05-28 Thread Amit Kucheria
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

[PATCH 5/9] Stick to -d for debug according to widely used convention

2014-05-28 Thread Amit Kucheria
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

[PATCH 8/9] improve help - show all available options

2014-05-28 Thread Amit Kucheria
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

[PATCH 3/9] Adding missing 'duration' option in long_options

2014-05-28 Thread Amit Kucheria
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

[PATCH 0/9] idlestat trivial cleanups

2014-05-28 Thread Amit Kucheria
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

[PATCH 6/9] Make getopt_long handling more robust

2014-05-28 Thread Amit Kucheria
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

[PATCH 4/9] Specify which options need arguments and which don't to help getopt_long()

2014-05-28 Thread Amit Kucheria
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

[PATCH 1/9] 'verbose' option isn't used anywhere, remove it

2014-05-28 Thread Amit Kucheria
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'

[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"