perf hists: Use bigger buffer for stdio headers
authorJiri Olsa <[email protected]>
Mon, 19 Sep 2016 13:09:13 +0000 (15:09 +0200)
committerArnaldo Carvalho de Melo <[email protected]>
Wed, 21 Sep 2016 15:14:59 +0000 (12:14 -0300)
With node column on big CPUs servers we can run out of stdio header
space quite soon. Enlarging header buffer.

Signed-off-by: Jiri Olsa <[email protected]>
Cc: Andi Kleen <[email protected]>
Cc: David Ahern <[email protected]>
Cc: Don Zickus <[email protected]>
Cc: Joe Mario <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
tools/perf/ui/stdio/hist.c

index 8e1840bff29d6ede2110ce2c0482923ce75a9af8..c8dca34585ea8829a90e3d1b81616b5d9050e3f4 100644 (file)
@@ -698,7 +698,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),