Patch to fix some minor issues in idlestat tool -
- use USEC_PER_SEC instead of hardcoded value
- replace 'f' with 'stderr'
- check for root only if idlestat is run in trace mode
- increase MAXCSTATE & MAXPSTATE to 16 as per Daniel's suggestion.
Needs to be dynamically determined in fu
- Displays information about free gpios by exporting & unexporting
Also, attached.
diff --git a/gpio.c b/gpio.c
index 4a42cb7..eb69f56 100644
--- a/gpio.c
+++ b/gpio.c
@@ -46,6 +46,7 @@ struct gpio_info {
static struct tree *gpio_tree = NULL;
static bool gpio_error = false;
+int gpio_max;
Thanks for the fixes Mohammad.
On Mon, Jun 9, 2014 at 8:57 AM, Mohammad Merajul Islam Molla
wrote:
> Patch to fix some minor issues in idlestat tool -
>
>- use USEC_PER_SEC instead of hardcoded value
>- replace 'f' with 'stderr'
>- check for root only if idlestat is run in trace mode
Hi,
On 8 June 2014 06:43, Michael Hudson-Doyle
wrote:
> Pranavkumar Sawargaonkar writes:
>
> > Hi,
> >
> > On 6 June 2014 08:58, Michael Hudson-Doyle
> > wrote:
> >> Hi all,
> >>
> >> As a bit of a test for myself, I'm trying to run openstack tests on top
> >> of the mostly-ready PSCI support