Re: [PATCH] change cpuacct usage percpu format v2

From: KAMEZAWA Hiroyuki
Date: Fri Feb 27 2009 - 03:04:41 EST


On Thu, 26 Feb 2009 23:55:06 -0800
Paul Menage <menage@xxxxxxxxxx> wrote:

> On Thu, Feb 26, 2009 at 11:29 PM, KAMEZAWA Hiroyuki
> <kamezawa.hiroyu@xxxxxxxxxxxxxx> wrote:
> >
> > IIRC, there is physical cpu hotplug system and it can remove
> > cpus and change map. Considering a software which records
> > this information pediodically(like sar), its better to show id of cpu
> > in explict way.
>
> Can we just use the read_map() handler for this instead?
>
Ah, I forgeted that we have read_map handler.

Hmm...but read_map()'s fill handler format is "%s %llu\n"
For using read_map, I have to convert integer to string in this routine.

Will we add "%d:%llu\n" style fill() function ?

Thanks,
-Kame

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/