Messages in this thread | | | Date | Mon, 11 May 2020 13:01:46 +0200 | From | Jiri Olsa <> | 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
| |