Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp8534325rwd; Tue, 20 Jun 2023 17:06:23 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4k3eNtLC1oeqKHErX5C30QfAuaQuuy0anbOab6Xx+kt8oS/BTulSCwr/THv1PdIrPrfyDM X-Received: by 2002:a54:4d94:0:b0:39e:dd33:3586 with SMTP id y20-20020a544d94000000b0039edd333586mr6527541oix.38.1687305982829; Tue, 20 Jun 2023 17:06:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687305982; cv=none; d=google.com; s=arc-20160816; b=j4ft0X/1s/gSZNWww2ZGNAojckmKb1qzx9rSBk68ajRzndDxCYK5i46vDtH/ZxO4i1 6HZSh8ToEk6FqFQsi8pUrfgX77z+LPjV+fUGPoZBy0cXINZ9UgZec2g/LD9J7xRfXkIx fJ6wHtYq5OJ75/4edB2VtK+dTrIU2u8+3wS1qKOy/dE6jlsT14ltytuBWTUP06o1livI QAnn1C0Eul7rIBQPv+iNEvbI7PgJsyUssMGVYKF3PCOu4donHLidF21yX+BPcqL7N7Ee qe6V3NrTBFyEmia/PSqUHtjjAxNEXb7uy/ioqSBuGKyDm1Xn/8intSTj/4Of1fxy8weW mvpg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version; bh=VvrWjfx4w9qVmEwLUl3PD4deC6XcZSiSjpN9ATHDyus=; b=QlifA49mhwnE5P5d9j7eDLzn10U2MzkLT2/5BxXBDqGrQejGYeaFaYc+dLiV1+80OK lVsEBxkSgLWtuV8CUBeA2qZmiJsbe6E44uQSGMlY9Zlpyms+4OmoW/Dxn69B3UBOJ279 W1OJu2iHghlGIFVW+R5xc4zvpihuzq9ixfdyKyI6MBkvhaoQ66Pw+FuX1TcUJtaY4FXx e3gJuFbx5j6nUgimwsmkhxbTetXm0Up01mXJZxkhDVHeDwnFCrtOHxIXnfILd7JRxIRR NDB/yV8Blq9CG7aPXi3tf58X6fDomuu4f9pnXN+/UjGx71+YxrzgELWnXlAaX1MGXC50 5V7w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g7-20020a63be47000000b0052c27a0125bsi2742653pgo.738.2023.06.20.17.06.09; Tue, 20 Jun 2023 17:06:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229709AbjFTWuk convert rfc822-to-8bit (ORCPT + 99 others); Tue, 20 Jun 2023 18:50:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48010 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229538AbjFTWuj (ORCPT ); Tue, 20 Jun 2023 18:50:39 -0400 Received: from mail-io1-f43.google.com (mail-io1-f43.google.com [209.85.166.43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 30CDD10F1; Tue, 20 Jun 2023 15:50:39 -0700 (PDT) Received: by mail-io1-f43.google.com with SMTP id ca18e2360f4ac-77e3ba2fbbfso127793539f.1; Tue, 20 Jun 2023 15:50:39 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687301438; x=1689893438; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=lmW8lXIaP8PwEo3dSA48LLiV2xfz+uHaKuQPPpRKTPE=; b=ZZ7H8LAS7uaOB0/TtE6kHnwZfDKDmk9TTGCj9C57dCyzAcl8E44HFXSacFfsF2OXWr EeDRWwyFH5R6+mVro9ON5cKU9TiS4K4g7wKmcnR7bF+Dijtamf0C7sFY3e456amEPC37 W9EJ785nXeCSj22iY8Si7is2ilmOnMbp8+DCvGCcEAeb+pSitK0B9LRTicuQHvFDSV2V gq4/8UXn09QXLXCYFKk401lZNVBxbrusIPN9ToFAjRSjpAWWS8illp7tHZf9N+boUYk3 Y0JGsaQ0JBCTEUI8UfrvoJTa2t87Hm/Fo4pWgkPT6YiqVKCIdxO1o87UGUZcCni7tVKh 2rYw== X-Gm-Message-State: AC+VfDwcJZlhJTFrcA2MBpG7u3knp9WrNGXPlwY8ym5fEcp7yztF+8Cl gXepKBiqaVfTzRnouHGJt7SDsSHzVPhcvI9pp8/0vjyU X-Received: by 2002:a5e:db05:0:b0:778:82d1:39a3 with SMTP id q5-20020a5edb05000000b0077882d139a3mr12741055iop.13.1687301438410; Tue, 20 Jun 2023 15:50:38 -0700 (PDT) MIME-Version: 1.0 References: <20230614080937.54937-1-luojianhong@cdjrlc.com> <2c733a91717eae93119ba2226420fd8f@208suo.com> In-Reply-To: <2c733a91717eae93119ba2226420fd8f@208suo.com> From: Namhyung Kim Date: Tue, 20 Jun 2023 15:50:26 -0700 Message-ID: Subject: Re: [PATCH] perf parse-events: Remove unneeded semicolon To: baomingtong001@208suo.com Cc: peterz@infradead.org, mingo@redhat.com, acme@kernel.org, mark.rutland@arm.com, alexander.shishkin@linux.intel.com, jolsa@kernel.org, irogers@google.com, adrian.hunter@intel.com, kan.liang@linux.intel.com, zhengjun.xing@linux.intel.com, linux-perf-users@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, On Wed, Jun 14, 2023 at 1:13 AM wrote: > > ./tools/perf/util/parse-events.c:1466:2-3: Unneeded semicolon > > Signed-off-by: Mingtong Bao > --- > tools/perf/util/parse-events.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/tools/perf/util/parse-events.c > b/tools/perf/util/parse-events.c > index 629f7bd9fd59..42f84f61fabc 100644 > --- a/tools/perf/util/parse-events.c > +++ b/tools/perf/util/parse-events.c > @@ -1463,7 +1463,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)) { The format is broken, please fix your mail client not fix wrap long lines. This time I fixed it manually, but you need to update your config. Thanks, Namhyung > 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,