Messages in this thread | | | From | Ulrich Drepper <> | Date | Sat, 31 Mar 2012 15:47:58 -0400 | Subject | Re: [RFC] [PATCH 1/2] binary stream format for /proc/stat |
| |
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.
| |