summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJiri Olsa <jolsa@kernel.org>2016-09-19 15:09:13 +0200
committerArnaldo Carvalho de Melo <acme@redhat.com>2016-09-21 12:14:59 -0300
commitd5278220be663753a011910c194d50758cd8dc98 (patch)
tree7dfbb176260032d62286b12a2720f6e46699827a
parent82deb8a242cd8aceaf553c9fb731f91dbdc1f9a6 (diff)
downloadlinux-d5278220be663753a011910c194d50758cd8dc98.tar.gz
linux-d5278220be663753a011910c194d50758cd8dc98.tar.bz2
linux-d5278220be663753a011910c194d50758cd8dc98.zip
perf hists: Use bigger buffer for stdio headers
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 <jolsa@kernel.org> Cc: Andi Kleen <andi@firstfloor.org> Cc: David Ahern <dsahern@gmail.com> Cc: Don Zickus <dzickus@redhat.com> Cc: Joe Mario <jmario@redhat.com> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Link: http://lkml.kernel.org/r/1474290610-23241-5-git-send-email-jolsa@kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
-rw-r--r--tools/perf/ui/stdio/hist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/ui/stdio/hist.c b/tools/perf/ui/stdio/hist.c
index 8e1840bff29d..c8dca34585ea 100644
--- a/tools/perf/ui/stdio/hist.c
+++ b/tools/perf/ui/stdio/hist.c
@@ -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),