From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S941089AbcISNZE (ORCPT ); Mon, 19 Sep 2016 09:25:04 -0400 Received: from mx1.redhat.com ([209.132.183.28]:38238 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S938550AbcISNK0 (ORCPT ); Mon, 19 Sep 2016 09:10:26 -0400 From: Jiri Olsa To: Arnaldo Carvalho de Melo Cc: lkml , Don Zickus , Joe Mario , Ingo Molnar , Peter Zijlstra , Namhyung Kim , David Ahern , Andi Kleen Subject: [PATCH 04/61] perf tools: Use bigger buffer for stdio headers Date: Mon, 19 Sep 2016 15:09:13 +0200 Message-Id: <1474290610-23241-5-git-send-email-jolsa@kernel.org> In-Reply-To: <1474290610-23241-1-git-send-email-jolsa@kernel.org> References: <1474290610-23241-1-git-send-email-jolsa@kernel.org> X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.38]); Mon, 19 Sep 2016 13:10:25 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org With node column on big CPUs servers we can run out of stdio header space quite soon. Enlarging header buffer. Link: http://lkml.kernel.org/n/tip-p55193hynw8mmok6i2o1wx6c@git.kernel.org Signed-off-by: Jiri Olsa --- tools/perf/ui/stdio/hist.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/perf/ui/stdio/hist.c b/tools/perf/ui/stdio/hist.c index cb0371106c21..0a32b48eda80 100644 --- a/tools/perf/ui/stdio/hist.c +++ b/tools/perf/ui/stdio/hist.c @@ -699,7 +699,7 @@ hists__fprintf_standard_headers(struct hists *hists, static int hists__fprintf_headers(struct hists *hists, FILE *fp) { - char bf[96]; + char bf[1024]; struct perf_hpp dummy_hpp = { .buf = bf, .size = sizeof(bf), -- 2.7.4