Messages in this thread | | | Date | Tue, 27 Mar 2012 13:45:28 +0300 | Subject | Re: [RFC] [PATCH 1/2] binary stream format for /proc/stat | From | Alexey Dobriyan <> |
| |
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 ?
It mixes everything into one pile.
> From dea9521e84701631e718884d40b5c96cdcd62d7d Mon Sep 17 00:00:00 2001 > From: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> > Date: Tue, 27 Mar 2012 13:40:54 +0900 > Subject: [PATCH 1/2] proc: seq_file add binary stream support > > /proc/stat shows all data in ascii format and it's easily readable. > But considering a program which reads /proc/stat periodically, translations > of ascii <-> binary happens a few times. > > 1. binrary -> ascii at showing seq_file > 2. ascii -> binary for handling in the program. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |