Received: by 2002:ab2:6816:0:b0:1f9:5764:f03e with SMTP id t22csp1542294lqo; Sat, 18 May 2024 07:38:36 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUP5EnDYZFtnXaL+O3JSTwd/pstVYMPOWERQFa3T/yaFAaC96kYcK5JF4VBQnw4HtieIbDGXxCrP4z5y8dICsy1KXlOi60KU4PpjI/+hw== X-Google-Smtp-Source: AGHT+IGWmIYgi38FudjvWdwf0HeEkepwEaxF1AhuhVXhhl9qMiOC38s7z3dVoNkhi2qOjbB8136U X-Received: by 2002:a05:6a00:39a0:b0:6f3:8aa5:829f with SMTP id d2e1a72fcca58-6f4e03298c9mr30542801b3a.33.1716043115991; Sat, 18 May 2024 07:38:35 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716043115; cv=pass; d=google.com; s=arc-20160816; b=jGlG6IBWIFEHMfHcyiAIKLPfVDQP7HapWzPESypsLCyupHEr7EcASw2vt5rzA4oMCM eDGYUhFLRGXA5desapuqZvNKelBdfvr5Yf0C97rd55t+0QkBz1EbuZyd9ZujiOcDAXK8 JQPCo5jzTU9ky2y+mj/CPtIGx1mb8o8aUi4inA7dCikI93zR99S3YFxi/wF6h7hJPglw aMIUowHW5rBMFJItH44PTaOJiLwn1Po7YtmRruXFkUHdIjdEam8n5+tTXe5oEMSobhei v5P3ABvS1su5xDSsSaUcVzfPWHpR4tcMPb5XPOyM/h5NgyUITWoPAaCgIbTP5XnH13YP akcA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :subject:cc:to:from:date:dkim-signature; bh=px46R1u6CGzVGR03LkpVOdkWZFKVW/jM5ZqygRs2lKY=; fh=0gGMh7NbuK3tFBrLtROTA4UI2jMZ99YmtQ7brQAtiMs=; b=Itr1FsPK40veQAf2uAyDrc8CnBNkIEs7+F0/zNW8vulJf3qdZfErvbVv9LWNE9eE6c eELLib/a3Mb+gzFC1fOlaUlHCCvyE9qvGDbTd4Dho2FO4LUmonjEFUyMnR+hwNdQ4dDE N5tV2hLYK+/9UxLYp1NODVmI17KwNDgtWT/YLDffGVMlUbeLtyuWYDAgLqhXyrZYRruo YeZm+OGk38nFnLGqG297eLlbBu1ca3pySJuiJfjQEbr7OeFjTetTLWEfJ9e/RdIGFs2U BhlJQyTGotPO14o3lGcwoRYZlGw1K9byro4/pFPu2eXoxbhVr3QsTt865ioqC7nTA7Vo AeVg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=fnhtibUk; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-182896-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-182896-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id d2e1a72fcca58-6f664081d45si11013071b3a.346.2024.05.18.07.38.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 18 May 2024 07:38:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-182896-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=fnhtibUk; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-182896-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-182896-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 9E4B2282286 for ; Sat, 18 May 2024 14:38:35 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 52B6C4502D; Sat, 18 May 2024 14:38:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="fnhtibUk" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 62DF645014 for ; Sat, 18 May 2024 14:38:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716043109; cv=none; b=Wlj31DMND1QUYyzb2xUguZQ1my9nFpZQPTChwsfYatSmobipIRCvRmW/Szd5IqFAGyO5/aZZVaoZNpQZ30sq16Eybci2qpcEnYyLRPmu1HB8kWzVxuqvmn7c2CunBAVE8EQuVL7IxfDaoU8BCMkdXyHVLxCySAVdfmW/K5IRRG8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716043109; c=relaxed/simple; bh=cnj/7U6zgoQWAj8/IxfbO4M9Q619934oePW9MUg1IyQ=; h=Date:From:To:Cc:Subject:Message-Id:In-Reply-To:References: Mime-Version:Content-Type; b=feC5EtI++zvmyuTqTqkZ7YGGm03Tvk0jhL2msi/i1/b5ZE/ZOMX+0X8cwz+0IRlfrMs4ibpZAFK2nwn9wEJQiPrHJ7SfuMjQCpMxE4uygZ4xDasFcyssGx0TJtqRjuBrYBqJBfkhG/uQKouIBMwa9hZvKrRosb8WL6G71U9vNik= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=fnhtibUk; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 96312C113CC; Sat, 18 May 2024 14:38:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1716043109; bh=cnj/7U6zgoQWAj8/IxfbO4M9Q619934oePW9MUg1IyQ=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=fnhtibUk9ZFi9eJ3owVxvDca8KLdIdoEHJlvKktuCf5nO2VFl3iy6FvddacZuDAM4 T79iFyvPLWWTqtYbwLqgLtEjI9k80rClUNB68sNbVzknJ4qCb/KBcZH+fBI5ipDHFD aHgsDFAY22IXMI9CbeMlZqCkXajn0BGawm1CKjdSzoco5FHXwbAlLmL1B+6UAbuCpc 2sZNwf6QBylxojeWdnmVG8Y/gag5ZzAEHmgrTW2jvSYkcsbnCnHbjEs7vbuLob0Y6i fTweaALPovSAyTDjyvwcSu7+b82t1c1KCFy4yPfQtjWc6umJUzi6dOK5XfrGnfHsfy 35SJeBmlDtohw== Date: Sat, 18 May 2024 23:38:24 +0900 From: Masami Hiramatsu (Google) To: Linus Torvalds Cc: Andrii Nakryiko , Jiri Olsa , Jonathan Haslam , Kui-Feng Lee , Stephen Brennan , Ye Bin , Steven Rostedt , linux-kernel@vger.kernel.org Subject: Re: [GIT PULL] probes updates for v6.10 Message-Id: <20240518233824.360de206ba709473495f89d7@kernel.org> In-Reply-To: References: <20240516095216.ac9a0fd13357450cc5f2e491@kernel.org> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; x86_64-pc-linux-gnu) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Fri, 17 May 2024 19:12:04 -0700 Linus Torvalds wrote: > On Wed, 15 May 2024 at 17:52, Masami Hiramatsu wrote: > > > > Probes updates for v6.10: > > Grr, > > This doesn't even build right. > > Yes, it builds cleanly in an allmoconfig build, which is what I did > before I pushed out. > > But after pushing out, I notice that it doesn't build in more limited > configurations and with clang, because: > > > Stephen Brennan (1): > > kprobe/ftrace: bail out if ftrace was killed > > This is no longer valid C code, and hasn't been for a long long while: > > void kprobe_ftrace_kill() > { > kprobe_ftrace_disabled = true; > } > > we require proper prototypes, not some ancient per-ANSI K&R syntax. > > It turns out that gcc apparently still accepts these things, but it > really shouldn't. But with a clang build, you get a big error: > > kernel/kprobes.c:1140:24: error: a function declaration without a > prototype is deprecated in all versions of C > [-Werror,-Wstrict-prototypes] > > and the reason it didn't get noticed in -next is that this commit had > apparently not *been* in linux-next. > > Dammit, that's now how any of this is supposed to work. > > Why was this untested crap sent to me? Oops, sorry, I missed when I built it in local. Ah, and I missed to build it with W=1. I appologies that and built in W=1 build test. > > Linus -- Masami Hiramatsu (Google)