summaryrefslogtreecommitdiffstats
path: root/tools/perf
diff options
context:
space:
mode:
authorbaomingtong001@208suo.com <baomingtong001@208suo.com>2023-06-14 10:13:53 +0200
committerNamhyung Kim <namhyung@kernel.org>2023-06-21 01:55:35 +0200
commit240de691dd6684d15f63613aa7fbc64e6098d6c9 (patch)
treea19202ab01bcf67ec01d689fb7b1af2fb709611c /tools/perf
parentperf parse: Add missing newline to pr_debug message in evsel__compute_group_p... (diff)
downloadlinux-240de691dd6684d15f63613aa7fbc64e6098d6c9.tar.xz
linux-240de691dd6684d15f63613aa7fbc64e6098d6c9.zip
perf parse-events: Remove unneeded semicolon
./tools/perf/util/parse-events.c:1466:2-3: Unneeded semicolon Signed-off-by: Mingtong Bao <baomingtong001@208suo.com> Link: https://lore.kernel.org/r/2c733a91717eae93119ba2226420fd8f@208suo.com Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Diffstat (limited to 'tools/perf')
-rw-r--r--tools/perf/util/parse-events.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/util/parse-events.c b/tools/perf/util/parse-events.c
index bc7274641f34..5dcfbf316bf6 100644
--- a/tools/perf/util/parse-events.c
+++ b/tools/perf/util/parse-events.c
@@ -1478,7 +1478,7 @@ static int __parse_events_add_numeric(struct parse_events_state *parse_state,
if (extended_type && (type == PERF_TYPE_HARDWARE || type == PERF_TYPE_HW_CACHE)) {
assert(perf_pmus__supports_extended_type());
attr.config |= (u64)extended_type << PERF_PMU_TYPE_SHIFT;
- };
+ }
if (head_config) {
if (config_attr(&attr, head_config, parse_state->error,