lkml.org 
[lkml]   [2016]   [Sep]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 04/61] perf tools: Use bigger buffer for stdio headers
Em Mon, Sep 19, 2016 at 03:09:13PM +0200, Jiri Olsa escreveu:
> With node column on big CPUs servers we can run out
> of stdio header space quite soon. Enlarging header
> buffer.

Applied.

- Arnaldo

> Link: http://lkml.kernel.org/n/tip-p55193hynw8mmok6i2o1wx6c@git.kernel.org
> Signed-off-by: Jiri Olsa <jolsa@kernel.org>
> ---
> 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

\
 
 \ /
  Last update: 2016-09-22 23:59    [W:0.905 / U:0.100 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site