lkml.org 
[lkml]   [2012]   [Mar]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [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.


\
 
 \ /
  Last update: 2012-03-31 21:51    [W:0.052 / U:0.064 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site