Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp5499750rdb; Sat, 16 Sep 2023 22:28:33 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGZumDm4Xxm++sSajCm5FatXdemWehcETs55AjHuVMJ/VhmGl1wqKz8zMHlAylsavWGAgG/ X-Received: by 2002:a05:6808:1994:b0:3ab:5e9e:51f8 with SMTP id bj20-20020a056808199400b003ab5e9e51f8mr7430583oib.9.1694928512867; Sat, 16 Sep 2023 22:28:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694928512; cv=none; d=google.com; s=arc-20160816; b=ahWCVWOo0L/hQbQrWsS+pYESqxaX9hkNgduTBFsVqQqNX526VIcHhKa0HtowX+iCy+ 6BGEwlit8Q+9DdlWTDZ8c/Zn4jKOOyMlT+clqCzZEzijmILhlmNO39toCWJVvOUZIUVq Pi5a0+NU2UVVqXRAD/wf8RPOJyoOL/GW8H2LK213s5qK1WRi3VuzHn8ejaM0SqedDVOf 02yQuhZhw7aKe4pHxm6f2bG6GLlgqt07SgwWOPv6fXm/x0JiD4urKbhttA9cwIH3x3fL YTMkoWcB4CGQZ4A1dAwHLVWKEO2YF2n0bUFt/QhpfA2N0l6cT0sTwlXcY4u04ju48zd1 5/4A== 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=0fIDoljNLuP27153CDackMux3qKsG+8tyZqnquCFkM4=; fh=J0o+1G7V+hE/SbqGBCeKlFOck1O2junjCdaMNm15ZhE=; b=iM8CeDcIMGc+vNaLAIcBE2AAY+0ZfCMreRpIi7YpLZbFbjWXtDL8NGeog+JFjqhf/r u6ZskTjQQtToCeP0k6XDa6F0gAa+mifDR1bFFa8RXUYC64NcLhYNlENbX5+2aGg9i9l5 ihZrixi73ZVrBQL3i4ElAly3iAVGUYejqYoDjUppIzLJXn1CYG1qvwuVZGrwya0z4iRG JfmneGidsbAc0uXBoEglrW57R7tSM9GZ1xuMMyJVEfKcl9gS1p6o+6PNP38GAeYFC4vs qEnan9zk8HZtTPXKwB/Zl0kaLdvQCuHx+4lB/soNnVbDNcpG2eyv7/Y1N4LJ+0UikhUZ IuZA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 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 howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id a70-20020a639049000000b0056531783f8dsi5841261pge.814.2023.09.16.22.28.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 16 Sep 2023 22:28:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 56493858E8D1; Sat, 16 Sep 2023 22:28:29 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232548AbjIQF1X convert rfc822-to-8bit (ORCPT + 99 others); Sun, 17 Sep 2023 01:27:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33200 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233453AbjIQF06 (ORCPT ); Sun, 17 Sep 2023 01:26:58 -0400 Received: from mail-io1-f46.google.com (mail-io1-f46.google.com [209.85.166.46]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3650E1AE; Sat, 16 Sep 2023 22:26:52 -0700 (PDT) Received: by mail-io1-f46.google.com with SMTP id ca18e2360f4ac-79ac0d271b4so76698639f.1; Sat, 16 Sep 2023 22:26:52 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694928411; x=1695533211; 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=SfO839NuY6Onl0KGlAC2kjo8+d7ohK4fYM2jge+IesU=; b=Po62N03k+wbRPiGO5rmQAieAJ49O8VRS7bQ5EDj/Tt95VYfWj4ad3PtB19XFUCOu+Z KZydANGvLoE/zOlqt0KgQZhj/SlFpd7uj71IvKJYyoBc9wtkQ0owfDq76hqPtJ83/nLt 4Ghd15+gwpjvh8SVDv3uNkyu0eBoIx8CbTmqizkNDI4u+J/fxrEK8R11CMOOxIGu5mPB 6U9RJROa9CItLV+j5pRFp9FISi9z9pAHk9OlZQXpe12sl0wWy1gD2fPtu7U1qH3QbZlA 3pmK1qJ9yKUuUP8v11e4tAPTTJXcJJeYYreGzdFrbHqAd5mMAWUZWT47mIVSGFphuzIv Ghsg== X-Gm-Message-State: AOJu0YxKtNyHNpOiq3u+cT6NgGun2f7vJLeJ1jKsRR1Yii7kdO4UOm43 jXiulzISZs2lWqiQQBBe6HI0+0EvFAePUoMl5Y0= X-Received: by 2002:a05:6602:24c6:b0:792:72b8:b90 with SMTP id h6-20020a05660224c600b0079272b80b90mr6665476ioe.16.1694928411437; Sat, 16 Sep 2023 22:26:51 -0700 (PDT) MIME-Version: 1.0 References: <20230914022204.1488383-1-irogers@google.com> In-Reply-To: <20230914022204.1488383-1-irogers@google.com> From: Namhyung Kim Date: Sat, 16 Sep 2023 22:26:39 -0700 Message-ID: Subject: Re: [PATCH v1] perf jevents metric: Fix type of strcmp_cpuid_str To: Ian Rogers Cc: Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Mark Rutland , Alexander Shishkin , Jiri Olsa , Adrian Hunter , Kajol Jain , John Garry , James Clark , 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_BLOCKED,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Sat, 16 Sep 2023 22:28:29 -0700 (PDT) On Wed, Sep 13, 2023 at 7:22 PM Ian Rogers wrote: > > The parser wraps all strings as Events, so the input is an > Event. Using a string would be bad as functions like Simplify are > called on the arguments, which wouldn't be present on a string. > > Fixes: 9d5da30e4ae9 ("perf jevents: Add a new expression builtin > strcmp_cpuid_str()") > > Signed-off-by: Ian Rogers Applied to perf-tools, thanks! Namhyung