Received: by 2002:ab2:7855:0:b0:1f9:5764:f03e with SMTP id m21csp54409lqp; Tue, 21 May 2024 18:16:00 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWW6WscfrN/GxLLI5DFi9ZPf1REXlf8t+rvc60uf3CAp8L9Zpk8nrL4maW5U2gdHhqGXgJRQFIzrgEQgxA1JF5ttEsFtA5Z7RQ9K6/E6A== X-Google-Smtp-Source: AGHT+IHFg1tYAUtqM7vaeYPwY/WOx+syg3xQbrBg+SpCYoZd4fzHfATzRrtDCjkDgCy6mVgfGZXY X-Received: by 2002:a37:e115:0:b0:792:be7c:36e4 with SMTP id af79cd13be357-794994d2905mr66088785a.71.1716340560716; Tue, 21 May 2024 18:16:00 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716340560; cv=pass; d=google.com; s=arc-20160816; b=WLG2/T5zquBaFSSFBb5FpjJ6s2hTolD6kLYey8gzYH6daf6+ABy+l3dHp8R0P13Zsw hPdnPBMAje3MbrNDDesanB23hfXnp+Pj8JP8/Q6t0P9csqUzjUGjf+ZDYQLqy5wtb7Q3 5LgytO0/Fyy/lujfFJdZCVebBGulObrRAEEOqAPtnJ20eSrCwlDSvimj4FWWr7Ad+dxA FVftw9LQL6AJcgNxvJ/NZjlJp5liSPLmvCL15Byq6cfC7A40tJJiB2ibkhuw1YPefxgk f+Jp1zmatPmheioH4CIx8X2MxZOGRj0nBmmaLuKycGxSX18TVvizYfxGtwJeuaXcgCS2 xsKQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:from:subject:message-id:references:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:in-reply-to:date :dkim-signature; bh=a9qeTCFtvuxbGsifiEmJumkkd9/puPZE3ppF8UEgJw0=; fh=3QunbbxwS2krlZ4s01UVMEREr2oOXajYkZa0uMxoA+Q=; b=fIddH1wWLQcAY0o+DRLH+zBQlKrc9QVWpzY2EJbvpydWXDd4H0yGz7gqLvKX+Ddx6S s+r4za6E5iXi/Dd80YIobtmG/2bE07piqdsGeZv4z5t6+A27Lt2F1DWCogxrtvjPSBGc MnCWu/44u9DtrsZ8BJxXmnWUHxvw17+ZwXHDg66mmjBveWskLr9BjSwW52R4YJ7AhBkr O7u1B8GeYmS0hUzSokJU6AYW/XGxZn3nGQzsHu8QhF6SxK/0ANYDL9n6dcm71uFXZ5ES cD6EysLJwDRfinH+o1Wku4D50sJHKXVfMW9NzskggOSO3ult87/WaVXX4Z+E+pB+DC56 7K8Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b="r/ucLtSs"; arc=pass (i=1 spf=pass spfdomain=flex--edliaw.bounces.google.com dkim=pass dkdomain=google.com dmarc=pass fromdomain=google.com); spf=pass (google.com: domain of linux-kernel+bounces-185616-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-185616-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id af79cd13be357-7931062097csi1286803485a.215.2024.05.21.18.16.00 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 May 2024 18:16:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-185616-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b="r/ucLtSs"; arc=pass (i=1 spf=pass spfdomain=flex--edliaw.bounces.google.com dkim=pass dkdomain=google.com dmarc=pass fromdomain=google.com); spf=pass (google.com: domain of linux-kernel+bounces-185616-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-185616-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 71EB71C21520 for ; Wed, 22 May 2024 01:16:00 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 759A315251D; Wed, 22 May 2024 01:01:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="r/ucLtSs" Received: from mail-pg1-f201.google.com (mail-pg1-f201.google.com [209.85.215.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 21CB4152517 for ; Wed, 22 May 2024 01:01:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.215.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716339690; cv=none; b=FV1ri5VY64MLwL6G9zq252LrYNSgcSf5zjhDUBLgTaW8oyO8v6PyqhiLYdfpj0oAWru7Vqs+7z36o/td/jtFY9kY/q8uUIM2XQn0+PvzUIfsAjDu4ipaqiOd8ApTAKOB/qzDzvj8mLNOHNehX6tG9146T9ZHi1jCoebLwNHoxrw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716339690; c=relaxed/simple; bh=MTodUmyJXfHVVr8W8CfAFa090pYkk2toySoZR7GP0Sk=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=o8As+FJmoILdUCHQtHu/tl7xxWT0D/tVkbWYI9fFm4rk20nQiNrXC8l4bZfvtLDZ6q3wL4u6GgHvl+ksbSkiLcMqgqTzkHW6//5K5snD/A7vbI6ZP66O3o25MKfrwm/nGhwrydY3WH14Mn47SKcu5JjjmVIJFh+4yDV2nRD6sgM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=flex--edliaw.bounces.google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=r/ucLtSs; arc=none smtp.client-ip=209.85.215.201 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=flex--edliaw.bounces.google.com Received: by mail-pg1-f201.google.com with SMTP id 41be03b00d2f7-5c66a69ec8eso10752253a12.3 for ; Tue, 21 May 2024 18:01:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1716339689; x=1716944489; darn=vger.kernel.org; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:from:to:cc:subject:date:message-id:reply-to; bh=a9qeTCFtvuxbGsifiEmJumkkd9/puPZE3ppF8UEgJw0=; b=r/ucLtSsVYWgqYTaJTNB+ELgUHHbbR7RO6ag712NLigCuiAl0DRRzQBUFVoizX/I4P 9xxiYd6mQWklDOhc8JTZYJH5Nnf2UY66xGO6HRubEKqYxM2uMgnFM1x7J6Irt5eSqnoe EtOTEU9cZnMbBIMGLdp5pg29LMecC1ioipuzvnJffCmdQ559xEnBsdAgUuk1zir3c4MD N4HFHk6RviVFj+39A7cCIs9VvSPGu+9WBLDYr3TFuOPq1rSjGEifJrRSQ9C3hUoBrKm6 242KIPBWlTox8FHpZRpRieHl61G11kCSAm+eX0+4J0eMd4cBhseERIdSFnX/6Grk2tX7 lMyg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716339689; x=1716944489; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=a9qeTCFtvuxbGsifiEmJumkkd9/puPZE3ppF8UEgJw0=; b=DzGLr9K1p8S0WgTSBI5/dNmbhp5x7T+54C/PwvMxoQV2MWloiDcDnGXqLDINaz6a0C VbwntZ73817kGq+aERaRwD32oaNfJhUiZL5eUE1QKdsdtd83dGtABxHQ4EZCb/5u34v0 0DN2hRbengHW89wg/SjKuxLggmyJQGAvXsk9TvuX9flH6Igyzrbr0Q7H5P+1WMsp2YMw 1Exs9JMlj0ifJTyzJFMdFIRK1qOJj4lc21amCIGzhILe0lRgkxJvS1zpZQ811MY8zlaq CyVB3Pv+O3M6BqdhUHvuh9yPPpM1ZEL4i7VoylAIogsxPkQfWyUuUqVBrD1L0BnBbMtw OH8A== X-Gm-Message-State: AOJu0YyyEeW0sB2IE1p1GBiM+pGpIgAa+OjPUU7xC/2/0Bp6DPSfgNVV nrJAzSqavz/Q3DvF1AZNCVzK4QUE3lEuev2PFqRRlMxrDy/3SY4FzPyodtDbVupv9/5UOovZHZV LCQ== X-Received: from edliaw.c.googlers.com ([fda3:e722:ac3:cc00:24:72f4:c0a8:305d]) (user=edliaw job=sendgmr) by 2002:a63:dd53:0:b0:658:956f:9800 with SMTP id 41be03b00d2f7-6764de8cb6fmr2228a12.7.1716339688506; Tue, 21 May 2024 18:01:28 -0700 (PDT) Date: Wed, 22 May 2024 00:57:26 +0000 In-Reply-To: <20240522005913.3540131-1-edliaw@google.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 References: <20240522005913.3540131-1-edliaw@google.com> X-Mailer: git-send-email 2.45.1.288.g0e0cd299f1-goog Message-ID: <20240522005913.3540131-41-edliaw@google.com> Subject: [PATCH v5 40/68] selftests/perf_events: Drop define _GNU_SOURCE From: Edward Liaw To: shuah@kernel.org, "=?UTF-8?q?Micka=C3=ABl=20Sala=C3=BCn?=" , "=?UTF-8?q?G=C3=BCnther=20Noack?=" , Christian Brauner , Richard Cochran , Paul Walmsley , Palmer Dabbelt , Albert Ou , Alexei Starovoitov , Daniel Borkmann , "David S. Miller" , Jakub Kicinski , Jesper Dangaard Brouer , John Fastabend Cc: linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, kernel-team@android.com, Edward Liaw , linux-security-module@vger.kernel.org, netdev@vger.kernel.org, linux-riscv@lists.infradead.org, bpf@vger.kernel.org Content-Type: text/plain; charset="UTF-8" _GNU_SOURCE is provided by lib.mk, so it should be dropped to prevent redefinition warnings. Signed-off-by: Edward Liaw --- tools/testing/selftests/perf_events/remove_on_exec.c | 2 -- tools/testing/selftests/perf_events/sigtrap_threads.c | 2 -- tools/testing/selftests/perf_events/watermark_signal.c | 2 -- 3 files changed, 6 deletions(-) diff --git a/tools/testing/selftests/perf_events/remove_on_exec.c b/tools/testing/selftests/perf_events/remove_on_exec.c index 5814611a1dc7..ef4d923f4759 100644 --- a/tools/testing/selftests/perf_events/remove_on_exec.c +++ b/tools/testing/selftests/perf_events/remove_on_exec.c @@ -5,8 +5,6 @@ * Copyright (C) 2021, Google LLC. */ -#define _GNU_SOURCE - /* We need the latest siginfo from the kernel repo. */ #include #include diff --git a/tools/testing/selftests/perf_events/sigtrap_threads.c b/tools/testing/selftests/perf_events/sigtrap_threads.c index d1d8483ac628..14d1a3c8cb5c 100644 --- a/tools/testing/selftests/perf_events/sigtrap_threads.c +++ b/tools/testing/selftests/perf_events/sigtrap_threads.c @@ -5,8 +5,6 @@ * Copyright (C) 2021, Google LLC. */ -#define _GNU_SOURCE - /* We need the latest siginfo from the kernel repo. */ #include #include diff --git a/tools/testing/selftests/perf_events/watermark_signal.c b/tools/testing/selftests/perf_events/watermark_signal.c index 49dc1e831174..19557bd16e9e 100644 --- a/tools/testing/selftests/perf_events/watermark_signal.c +++ b/tools/testing/selftests/perf_events/watermark_signal.c @@ -1,6 +1,4 @@ // SPDX-License-Identifier: GPL-2.0 -#define _GNU_SOURCE - #include #include #include -- 2.45.1.288.g0e0cd299f1-goog