[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20061109231533.GE2616@elf.ucw.cz>
Date: Fri, 10 Nov 2006 00:15:33 +0100
From: Pavel Machek <pavel@....cz>
To: Michael Holzheu <holzheu@...ibm.com>
Cc: Ingo Oeser <ioe-lkml@...eria.de>, linux-kernel@...r.kernel.org,
mschwid2@...ibm.com
Subject: Re: How to document dimension units for virtual files?
Hi!
> What about the following ...
Looks good to me.
> +> ls /sys/kernel/debug/sysinfo
> +free_mem_KiB
> +online_time_ms
> +cpu_time_us
> +
> +> cat /sys/kernel/debug/free_mem_KiB
> +147536
Someone had idea of free_mem:KiB ... which is quite neat.
Anyway, Greg's opinion was that we should just document units in
documentation and not pollute names with that. I'm not sure if it
works for battery (because of current:mA vs. current:mW confusion).
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists