Messages in this thread | | | Date | Sun, 1 Apr 2012 06:24:41 +0900 | Subject | Re: [RFC] [PATCH 1/2] binary stream format for /proc/stat | From | Hiroyuki Kamezawa <> |
| |
2012年4月1日4:47 Ulrich Drepper <drepper@gmail.com>: > 2012/3/27 KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>: >> Provides another format of /proc/stat for showing data in binary and >> compress sequence of Zeros to some extent. >> >> Any other idea of formats ? > > Not for the format. /proc/stat will likely not be the only file to be > treated like this. How abou an open() flag O_??? which indicates the > binary format is wanted? Maybe re-purpose a flag which doesn't have a > meaning on those files (like, for instance, O_DIRECT). Files which > don't support the format can fail to open with the flag set. This way > all relevant files can be converted over time.
Sounds interesting. I'd like to think of that.
Thanks, -Kame
| |