Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp5499767rdb; Sat, 16 Sep 2023 22:28:40 -0700 (PDT) X-Google-Smtp-Source: AGHT+IE9ONo7qsjs+wwg4KZMjOZ5IWvlEDRvGfic0/a01+U2EDuzndMOki2g40cSvCDp3UzEJbS6 X-Received: by 2002:a05:6358:c8f:b0:143:1c29:9de4 with SMTP id o15-20020a0563580c8f00b001431c299de4mr3570241rwj.1.1694928520635; Sat, 16 Sep 2023 22:28:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694928520; cv=none; d=google.com; s=arc-20160816; b=Yp+kqtQySrG73+U6Hw9Gaq8A+aZxnz/MtZKg+NEfv0wlFZcsbxE6pKMkS6bOmd6hS8 l7BpRSIOZMJxB+2AHKpYv5tOCa+XD37rblGUS2cH0yu6+oxH/qxl4ecLJ+msMPyJezl4 kgtCYKTXVI6X2Ty1q5qb/CoPrSZ7aTerOrfUFzvGULfloEWU/JeGFYeM/ryZAyRLdutU w82OuFbAg3DkWt0l4N14mm7b60ichznP0N7b4jI/c5z+KRJYSzuh8ZkbZhDkJc6WmLvm Q3bvA9m4GpZXIdMA6tdT3FnAlGppMrhatcHLjkJ3UAAOjTbXh1pdxRzEmcIDiq2Ifhl1 Riww== 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=U/JYDRsQEHgpXCe7eChSj9CiecQaikmqWeglgmVBBwU=; fh=6CsDAt+7ANgmp3bA4qOZqjkiCQzinS0u9TPx7kylpao=; b=S3tOq1DKrDnFU0FBNlxjsIcMTKZTV+PiQE/6pMy+eHo5IAr0GYdk6qdOf6xhHTg10Y Mmi8Vja2wmygbkzB2HQKyuAn9bhJ5dSZmq7hdOtjZbObEHdQWkdY1K3hLj0OUTaF6ZOE YL6+2WP7gUuIZt056OZ+5PUj7NNiK/MPVEq06ivGNgtiAFetTnHnOToeIIe6Gkm0K18e xIPeGaHNQ05QH1N6v92NqlJzZhEEAoNZ4col1JeWNga/a0ERqYSMKU37EcoVdRc6E75x WOx4+wghdnHg5SNiCCJ/hhi1v2CTq6XS4FktJYQzstKWUz3XlPjEo9iM0iFREXLd2Zru C8qg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 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 snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id kg4-20020a170903060400b001c1e1fe16c7si5923137plb.236.2023.09.16.22.28.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 16 Sep 2023 22:28:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 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 snail.vger.email (Postfix) with ESMTP id E3B198131A89; Sat, 16 Sep 2023 22:28:25 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232603AbjIQF0x convert rfc822-to-8bit (ORCPT + 99 others); Sun, 17 Sep 2023 01:26:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45398 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235832AbjIQF0O (ORCPT ); Sun, 17 Sep 2023 01:26:14 -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 55B811A1; Sat, 16 Sep 2023 22:26:08 -0700 (PDT) Received: by mail-io1-f46.google.com with SMTP id ca18e2360f4ac-77acb04309dso120844339f.2; Sat, 16 Sep 2023 22:26:08 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694928367; x=1695533167; 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=w8OMLePdBQiCZVj6JV7z+xTlIDlELNPKMdSpZjXipN8=; b=k70YohqaB9R2wq+1hF6/0/+ZtCU7clWB34z55P9JzZ6IxuLLttEcN1uQ/njOoIZ2zQ mw1rrZTcUu16tv9qUSXBdyPSapHn0sH/NXDJXlM/0Qf8/3QSRBvIxOAkTHTI1eqP2k9B gbBEXrVi706olGKWBR7xTy4tFhK8/gQM3ehsrmL0xZFg8Ur1SBw/WMbBInNpEv6Nhx0j MaC/DF8wmfBNlupoXgpmJWtoEUMNJGNxIiLuI6UrbwFkHjVfLQpFoojmDURsIQ+qIirv vhN1JJor5gIdGdR3p3EODt++sO59GvUZTk2Yzqpez5HqWhHAfG5iJv+A3AiripwGBdjG 8aYQ== X-Gm-Message-State: AOJu0YzTtX74blnVt7GE4hW7teta9UcwyJ9WHuvc+cYmzFf/VQLoc9Ys jkH0SoinqvUawXp995GnpfgYwyM58VBSxcdvnfM= X-Received: by 2002:a6b:510a:0:b0:794:eddf:daad with SMTP id f10-20020a6b510a000000b00794eddfdaadmr6953575iob.15.1694928367552; Sat, 16 Sep 2023 22:26:07 -0700 (PDT) MIME-Version: 1.0 References: <20230913184957.230076-1-irogers@google.com> In-Reply-To: <20230913184957.230076-1-irogers@google.com> From: Namhyung Kim Date: Sat, 16 Sep 2023 22:25:55 -0700 Message-ID: Subject: Re: [PATCH v1] perf trace: Avoid compile error wrt redefining bool To: Ian Rogers Cc: Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Mark Rutland , Alexander Shishkin , Jiri Olsa , Adrian Hunter , Leo Yan , linux-perf-users@vger.kernel.org, linux-kernel@vger.kernel.org, bpf@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 (snail.vger.email [0.0.0.0]); Sat, 16 Sep 2023 22:28:26 -0700 (PDT) On Wed, Sep 13, 2023 at 11:50 AM Ian Rogers wrote: > > Make part of an existing TODO conditional to avoid the following build > error: > ``` > tools/perf/util/bpf_skel/augmented_raw_syscalls.bpf.c:26:14: error: cannot combine with previous 'char' declaration specifier > 26 | typedef char bool; > | ^ > include/stdbool.h:20:14: note: expanded from macro 'bool' > 20 | #define bool _Bool > | ^ > tools/perf/util/bpf_skel/augmented_raw_syscalls.bpf.c:26:1: error: typedef requires a name [-Werror,-Wmissing-declarations] > 26 | typedef char bool; > | ^~~~~~~~~~~~~~~~~ > 2 errors generated. > ``` > > Signed-off-by: Ian Rogers Applied to perf-tools, thanks! Namhyung