From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-io1-f49.google.com (mail-io1-f49.google.com [209.85.166.49]) (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 3EE67212FA9 for ; Tue, 4 Feb 2025 23:24:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.166.49 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1738711455; cv=none; b=FjpxROqfOZKrFvwjnDPnWmQik4o40Vt8l0WE/uoj9eDI8HY7ql0SdwKW5YmPCkU2x4JaDb++wpRgmDcY5dIJMKUiYcaIiIdamnIPYAp9rkBWyYEOxg69BDJeiLL5pAEgpIFG8yoKr0+eCjoA+j9x7DarKLQqmkwnm80ZO/RFQGw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1738711455; c=relaxed/simple; bh=FEX3Vdh+NEZiYfGk1vrrsJOKApKBG+9+aixlZ2R/lW0=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=fTwqoPMs63pvN49EXohX3DHWJwSpNtiyKGcWJZHsRN+9VwWejQrO97Z8KL2+UPWN6fLLyttj14O5dcN1Ybi4oRqDAPs0qhustAxX/7zxlAgguyHUglXarr2CzuNpolqpWT5GTUq7DZPxhzI/JK8tFxM15MnwvwPSE4M8idxhl9M= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=rivosinc.com; spf=pass smtp.mailfrom=rivosinc.com; dkim=pass (2048-bit key) header.d=rivosinc-com.20230601.gappssmtp.com header.i=@rivosinc-com.20230601.gappssmtp.com header.b=NIwPyW0u; arc=none smtp.client-ip=209.85.166.49 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=rivosinc.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=rivosinc.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=rivosinc-com.20230601.gappssmtp.com header.i=@rivosinc-com.20230601.gappssmtp.com header.b="NIwPyW0u" Received: by mail-io1-f49.google.com with SMTP id ca18e2360f4ac-844e394395aso155139239f.3 for ; Tue, 04 Feb 2025 15:24:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rivosinc-com.20230601.gappssmtp.com; s=20230601; t=1738711452; x=1739316252; darn=vger.kernel.org; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:from:to :cc:subject:date:message-id:reply-to; bh=7C+mmXcghpctUltjMuPzZT5k+4ILd9aRvVJeIVZ5h7E=; b=NIwPyW0uky7MWvSUA4RrnNlmxM/EWqPpshZxttoVAADQYvbO1fKez3zdMlkX9PhkYD CTJ8uVIWJxJ7+3H6gmYO3lswgiCiktGMZ31AZ0dCBy8zyObMc+zb3FXBBwQbIohuwmiL sg9ATWw4dbquEfcQAv0dx5LlPTt4m8GYEs4fG5mSnf+ynjo02KyG7nTZ+AXtGiivWaBd oQBK7ibjWxaj2ZzmUHVPErbOsg6sf6bG6779s7hUnqak1ifazJqK1x/UL2OI+JmeTKVB J5uopAn9P4bGV+hWWrhFwJb6Lgrt/41Id2uoxvy85xEUG/21O0yfSwA6MENKOLf1iLRy BMdQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1738711452; x=1739316252; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=7C+mmXcghpctUltjMuPzZT5k+4ILd9aRvVJeIVZ5h7E=; b=MDAS8MbwU6kzfzZMAs1VTPE2icvobLgx44/PPoUffoWjW9vMjAYVnqRII27gGReVc2 utqHcF4JWyTpctD8YM9ojzTKHaNIDCb3EecRTAZMcK7+Z7m2qHqudRCkUkeXXRyTxs6Q +tibbsP/aEvtsE6r74hEha5MiryVTUk/2xJHIyNNad+gyusaRuW80rLTLkjyKY31lF68 qE9oGJ4dFiyX1cOfPb9oWeUQlebi3nM/HLFUSvhie5dUf8+7kf5WAn8jsWbUleQlN+KN Zv6GO17f3Tbl1JuSwUmG1X/IQIGgY8i7wyU516/F1iTaASsYt8TpG5uRE9zSBNZhM231 Ia2A== X-Forwarded-Encrypted: i=1; AJvYcCXqH3/bwVm+mj8N+Ze913hPG4rI7L/pB7sO9voq6KXH0J7v23qYFkKo8A/H7bxnng3vQvGYOByJrA==@vger.kernel.org X-Gm-Message-State: AOJu0YzkCRfptFCKYZALahGWXG97790FnOKFAYecBaPJjHV2+ZARct7x TQIAmTstEklg0iQShj+mUfpULZdnD2NweEXlImP5rz0gaVrgn3gk7A3bJzXWR60= X-Gm-Gg: ASbGncvnEgXlUa5xYLnNPW70mxQ03a/w89jpaNmSPsMurXDRj7uVXudjhQsL4daVYr2 nJGxj2Y+ahaPNilES/L4jh4exZER5FB3DMHLQg/pAvRhmbAM99ZlGDpw8lR1/n/gK7RkVDzPW2s GSzvvTpc63YK9at3u+ub6xmjW8wJ0h540BAffpPVNDAYqKUSwpASW78d4iWOZgGPPQ++2yNHIEG aXfMrUheggP34I+tozwJ5fjt+arskhAHfyHQZ+b7JCdwb5wYlxqJtiWgcL+6xaft1AQrnnOaB0y 3RTr6w== X-Google-Smtp-Source: AGHT+IFk01l67w5flnt7AW1w/8rmtq99wc4nbdFvSpX2xfx/D9I29fUoitlQP4S1XPO0eaV5SdxmsA== X-Received: by 2002:a05:6602:3711:b0:83a:a305:d9ee with SMTP id ca18e2360f4ac-854ea515978mr94544239f.12.1738711451927; Tue, 04 Feb 2025 15:24:11 -0800 (PST) Received: from ghost ([50.145.13.30]) by smtp.gmail.com with ESMTPSA id 8926c6da1cb9f-4ec7458ed1bsm2990762173.4.2025.02.04.15.24.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 Feb 2025 15:24:10 -0800 (PST) Date: Tue, 4 Feb 2025 15:24:07 -0800 From: Charlie Jenkins To: Alexei Starovoitov Cc: Namhyung Kim , Alexei Starovoitov , Daniel Borkmann , Andrii Nakryiko , Martin KaFai Lau , Eduard Zingerman , Song Liu , Yonghong Song , John Fastabend , KP Singh , Stanislav Fomichev , Hao Luo , Jiri Olsa , Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Mark Rutland , Alexander Shishkin , Ian Rogers , Adrian Hunter , Quentin Monnet , "Rafael J. Wysocki" , Daniel Lezcano , Zhang Rui , Lukasz Luba , Josh Poimboeuf , Mykola Lysenko , Shuah Khan , Jiri Kosina , Benjamin Tissoires , Steven Rostedt , bpf , LKML , "linux-perf-use." , Linux Power Management , "open list:KERNEL SELFTEST FRAMEWORK" , "open list:HID CORE LAYER" , linux-trace-kernel Subject: Re: [PATCH 0/2] tools: Unify top-level quiet infrastructure Message-ID: References: <20250203-quiet_tools-v1-0-d25c8956e59a@rivosinc.com> Precedence: bulk X-Mailing-List: linux-pm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: On Tue, Feb 04, 2025 at 11:02:42PM +0000, Alexei Starovoitov wrote: > On Tue, Feb 4, 2025 at 7:04 PM Namhyung Kim wrote: > > > > Hello, > > > > On Tue, Feb 04, 2025 at 10:34:41AM -0800, Charlie Jenkins wrote: > > > On Tue, Feb 04, 2025 at 05:18:42PM +0000, Alexei Starovoitov wrote: > > > > On Tue, Feb 4, 2025 at 12:10 AM Charlie Jenkins wrote: > > > > > > > > > > The quiet infrastructure was moved out of Makefile.build to accomidate > > > > > the new syscall table generation scripts in perf. Syscall table > > > > > generation wanted to also be able to be quiet, so instead of again > > > > > copying the code to set the quiet variables, the code was moved into > > > > > Makefile.perf to be used globally. This was not the right solution. It > > > > > should have been moved even further upwards in the call chain. > > > > > Makefile.include is imported in many files so this seems like a proper > > > > > place to put it. > > > > > > > > > > To: > > > > > > > > > > Signed-off-by: Charlie Jenkins > > > > > --- > > > > > Charlie Jenkins (2): > > > > > tools: Unify top-level quiet infrastructure > > > > > tools: Remove redundant quiet setup > > > > > > > > > > tools/arch/arm64/tools/Makefile | 6 ----- > > > > > tools/bpf/Makefile | 6 ----- > > > > > tools/bpf/bpftool/Documentation/Makefile | 6 ----- > > > > > tools/bpf/bpftool/Makefile | 6 ----- > > > > > tools/bpf/resolve_btfids/Makefile | 2 -- > > > > > tools/bpf/runqslower/Makefile | 5 +--- > > > > > tools/build/Makefile | 8 +----- > > > > > tools/lib/bpf/Makefile | 13 ---------- > > > > > > > > Nack. > > > > libbpf and bpftool are synced independently to github > > > > and released from there. > > > > This change breaks it. > > > > Sorry, I overlooked this part and merged a change that touched the > > common files into the perf tree. > > > > f2868b1a66d4f40f ("perf tools: Expose quiet/verbose variables in Makefile.perf") > > > > Unfortunately, it's already in v6.14-rc1. > > > > > > > > Can you explain how it breaks it? Currently bpftool and resolve_btfids > > > don't build quietly so this was an attempt to fix that. > > > > So I think you will need something like this for v6.14. Again, sorry > > about the trouble. > > Just revert f2868b1a66d4f40f that created this mess. Why are you opposed to unifying this helpers among the various projects in tools? Can you explain what about this breaks the Github syncing flow and why it cannot be resolved? It doesn't make sense to duplicate "Q=" in every Makefile anybody ever wants to add to tools just because bpf syncing isn't robust. - Charlie