Re: [PATCH v1 10/11] perf python: Add evlist.config to set up record options

From: Howard Chu
Date: Thu Feb 27 2025 - 00:46:35 EST


Hello,

On Wed, Jan 8, 2025 at 11:51 PM Ian Rogers <irogers@xxxxxxxxxx> wrote:
>
> Add access to evlist__config that is used to configure an evlist with
> record options.
>
> Signed-off-by: Ian Rogers <irogers@xxxxxxxxxx>
> ---
> tools/perf/util/python.c | 33 +++++++++++++++++++++++++++++++++
> 1 file changed, 33 insertions(+)
>

<SNIP>

> + .user_interval = ULLONG_MAX,
> + .freq = 4000,
> + .target = {
> + .uses_mmap = true,
> + .default_per_cpu = true,
> + },
> + .nr_threads_synthesize = 1,
> + .ctl_fd = -1,
> + .ctl_fd_ack = -1,
> + .no_buffering = true,
> + .no_inherit = true,

Are these indentations intentional?

Thanks,
Howard