From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932118Ab0CKMvn (ORCPT ); Thu, 11 Mar 2010 07:51:43 -0500 Received: from mx2.mail.elte.hu ([157.181.151.9]:41646 "EHLO mx2.mail.elte.hu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757825Ab0CKMvm (ORCPT ); Thu, 11 Mar 2010 07:51:42 -0500 Date: Thu, 11 Mar 2010 13:51:26 +0100 From: Ingo Molnar To: Hitoshi Mitake Cc: linux-kernel@vger.kernel.org, h.mitake@gmail.com, Peter Zijlstra , Paul Mackerras , Frederic Weisbecker , Arnaldo Carvalho de Melo Subject: Re: [PATCH] perf: Make printing table easily Message-ID: <20100311125126.GI31354@elte.hu> References: <1268034910-12544-1-git-send-email-mitake@dcl.info.waseda.ac.jp> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1268034910-12544-1-git-send-email-mitake@dcl.info.waseda.ac.jp> User-Agent: Mutt/1.5.20 (2009-08-17) X-ELTE-SpamScore: -2.0 X-ELTE-SpamLevel: X-ELTE-SpamCheck: no X-ELTE-SpamVersion: ELTE 2.0 X-ELTE-SpamCheck-Details: score=-2.0 required=5.9 tests=BAYES_00 autolearn=no SpamAssassin version=3.2.5 -2.0 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Hitoshi Mitake 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. Ingo