1

perf annotate: Convert comma to semicolon

Replace a comma between expression statements by a semicolon.

Reviewed-by: Ian Rogers <irogers@google.com>
Signed-off-by: Chen Ni <nichen@iscas.ac.cn>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Kan Liang <kan.liang@linux.intel.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Pekka Enberg <penberg@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: https://lore.kernel.org/r/20240716073405.968801-1-nichen@iscas.ac.cn
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
This commit is contained in:
Chen Ni 2024-07-16 15:34:05 +08:00 committed by Arnaldo Carvalho de Melo
parent 42d37fc0c8
commit 050f2a03aa

View File

@ -985,7 +985,7 @@ int symbol__tui_annotate(struct map_symbol *ms, struct evsel *evsel,
browser.b.width = notes->src->widths.max_line_len; browser.b.width = notes->src->widths.max_line_len;
browser.b.nr_entries = notes->src->nr_entries; browser.b.nr_entries = notes->src->nr_entries;
browser.b.entries = &notes->src->source, browser.b.entries = &notes->src->source;
browser.b.width += 18; /* Percentage */ browser.b.width += 18; /* Percentage */
if (annotate_opts.hide_src_code) if (annotate_opts.hide_src_code)