Re: [RFC] [PATCH 1/2] binary stream format for /proc/stat

From: Hiroyuki Kamezawa
Date: Sat Mar 31 2012 - 17:24:40 EST


2012年4月1日4:47 Ulrich Drepper <drepper@xxxxxxxxx>:
> 2012/3/27 KAMEZAWA Hiroyuki <kamezawa.hiroyu@xxxxxxxxxxxxxx>:
>> 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
--
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/