Re: seq_put_decimal_ull() et al

From: Alexey Dobriyan
Date: Fri Mar 16 2012 - 07:16:18 EST


On Wed, Mar 14, 2012 at 5:08 AM, KAMEZAWA Hiroyuki
<kamezawa.hiroyu@xxxxxxxxxxxxxx> wrote:
> On Wed, 14 Mar 2012 09:31:56 +0900
> KAMEZAWA Hiroyuki <kamezawa.hiroyu@xxxxxxxxxxxxxx> wrote:
>
>> On Tue, 13 Mar 2012 15:35:54 +0200
>> Alexey Dobriyan <adobriyan@xxxxxxxxx> wrote:
>>
>> > > Subject: Â Â+ procfs-add-num_to_str-to-speed-up-proc-stat-fix-2.patch added to -mm tree
>> >
>> > I think the fix is to create proper binary interface for exporting
>> > interrupt counts.
>> > Programs can parse raw data equally well if programming language is
>> > even minimally reasonable
>> > (POSIX shell may not qualify, though).
>>
>> Ok, please try with all tool-chain updates.
>> procps, top, sar, and more ?
>>

Well, why not?
We can tune print code or we can create maximally fast interface and forget.

> One concern is maintainance of 2 files of the same data.

The other is all those multiplying print functions.
--
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/