[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200511110146.GD2986380@krava>
Date: Mon, 11 May 2020 13:01:46 +0200
From: Jiri Olsa <jolsa@...hat.com>
To: John Garry <john.garry@...wei.com>
Cc: peterz@...radead.org, mingo@...hat.com, acme@...nel.org,
mark.rutland@....com, alexander.shishkin@...ux.intel.com,
namhyung@...nel.org, will@...nel.org, ak@...ux.intel.com,
linuxarm@...wei.com, linux-kernel@...r.kernel.org,
qiangqing.zhang@....com, irogers@...gle.com, robin.murphy@....com,
zhangshaokun@...ilicon.com, linux-arm-kernel@...ts.infradead.org
Subject: Re: [PATCH RFC v3 02/12] perf jevents: Add support for system events
tables
On Thu, May 07, 2020 at 07:57:41PM +0800, John Garry wrote:
SNIP
>
> +static int process_system_event_tables(FILE *outfp)
> +{
> + struct sys_event_table *sys_event_table;
> +
> + fprintf(outfp, "struct pmu_sys_events pmu_sys_event_tables[] = {");
> +
> + list_for_each_entry(sys_event_table, &sys_event_tables, list) {
> + fprintf(outfp, "\n\t{\n\t\t.table = %s,\n\t},",
> + sys_event_table->name);
> + }
> + fprintf(outfp, "\n\t{\n\t\t.table = 0\n\t},");
this will add extra tabs:
{
.table = 0
},
while the rest of the file starts items without any indent
jirka
Powered by blists - more mailing lists