[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAM9d7cjM6p8pMLjzAoiGpT4RX-htL8GvmFRmTP8mXqk0oUfHAA@mail.gmail.com>
Date: Fri, 3 Jul 2020 15:17:04 +0900
From: Namhyung Kim <namhyung@...nel.org>
To: Changbin Du <changbin.du@...il.com>
Cc: Jiri Olsa <jolsa@...hat.com>,
Arnaldo Carvalho de Melo <acme@...nel.org>,
Peter Zijlstra <peterz@...radead.org>,
Ingo Molnar <mingo@...hat.com>,
Steven Rostedt <rostedt@...dmis.org>,
linux-kernel <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v2 06/15] perf ftrace: add option '-m/--buffer-size' to
set per-cpu buffer size
On Sat, Jun 27, 2020 at 10:38 PM Changbin Du <changbin.du@...il.com> wrote:
>
> This adds an option '-m/--buffer-size' to allow us set the size of per-cpu
> tracing buffer.
>
> Signed-off-by: Changbin Du <changbin.du@...il.com>
> ---
[SNIP]
> @@ -555,6 +575,8 @@ int cmd_ftrace(int argc, const char **argv)
> "Max depth for function graph tracer"),
> OPT_UINTEGER('d', "delay", &ftrace.initial_delay,
> "ms to wait before starting tracing after program start"),
> + OPT_UINTEGER('m', "buffer-size", &ftrace.buffer_size_kb,
> + "size of per cpu buffer in kb"),
It'd be nice if we support units as a suffix (like perf record). e.g. -m 4M
Thanks
Namhyung
> OPT_END()
> };
>
> --
> 2.25.1
>
Powered by blists - more mailing lists