Re: [RFC] [PATCH 1/2] binary stream format for /proc/stat
From: Alexey Dobriyan
Date: Tue Mar 27 2012 - 06:45:26 EST
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 ?
It mixes everything into one pile.
> From dea9521e84701631e718884d40b5c96cdcd62d7d Mon Sep 17 00:00:00 2001
> From: KAMEZAWA Hiroyuki <kamezawa.hiroyu@xxxxxxxxxxxxxx>
> 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/