Re: [PATCH] perf: Make printing table easily

From: Arnaldo Carvalho de Melo
Date: Thu Mar 11 2010 - 09:06:34 EST


Em Thu, Mar 11, 2010 at 01:51:26PM +0100, Ingo Molnar escreveu:
>
> * Hitoshi Mitake <mitake@xxxxxxxxxxxxxxxxxxxxx> wrote:
>
> > Hi,
> >
> > Making table of matrix by printf is painful work,
> > but it can be found in perf here and there.
> > So I'd like to propose semi-automation of making table.
> > New files util/table.c provides stuffs for easy table printing.
>
> Looks quite reasonable in theory. I suspect it would be useful to see a few
> table printing places converted to this facility, to see the simplification
> factor in practice.

I'm going thru the printing routines now to get them usable by TUI/GUIs,
starting with a libnewt based browser integrating initially report and
annotate, after I get the first patch in shape for merging I'll revisit
this table class of yours :-)

- Arnaldo
--
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/