Re: [PATCH 2/4] perf stat: add compile-time option to disable --big-num

From: Irina Tirdea
Date: Thu Sep 20 2012 - 15:17:45 EST


On Fri, Sep 14, 2012 at 8:40 AM, Ingo Molnar <mingo@xxxxxxxxxx> wrote:
>
> * Irina Tirdea <irina.tirdea@xxxxxxxxx> wrote:
>
>> From: Irina Tirdea <irina.tirdea@xxxxxxxxx>
>>
>> In printf's format, ' is used to group the output with thousands' grouping
>> characters for decimal conversion. Bionic does not support ' for printf.
>
> Please try to solve compatibility without affecting the default
> output and big num is the default perf stat output.

Understood.

> Could the big num output be implemented within perf, without
> relying on glibc's printf implementation?
>

Yes. I'll write a function that does the grouping instead of using
printf and send it for review instead of this patch.

Thanks,
Irina
--
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/