Received: by 2002:ab2:2994:0:b0:1ef:ca3e:3cd5 with SMTP id n20csp840527lqb; Fri, 15 Mar 2024 07:53:48 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUWaUQq8yHCRwby8DijvR0R2vfuSJwRo6IeA4jUPMzdk8D7S87S/zno8vRvRosCLMoNJSAIT8pXx1hwVC5wsk6igveVENt/1zqGtEdqqA== X-Google-Smtp-Source: AGHT+IHQJmXIlaVd1kJYTAyX6ptQEKFOzmOAfm14StSxPZWvfkdbTCyxq0pOAfrjqoklttVS0ixR X-Received: by 2002:a05:622a:8d:b0:42f:5437:7627 with SMTP id o13-20020a05622a008d00b0042f54377627mr5578065qtw.5.1710514427889; Fri, 15 Mar 2024 07:53:47 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710514427; cv=pass; d=google.com; s=arc-20160816; b=C9DsgBYpAFTqUfNy6Wh32u0Rf2lJELuRzsGi8juDGOCTP2Blo/nUJAtOvKFjgTH2MA 0CgfeiyTAAPREJGdKhGrCno4uFJOB90Bn/2v5ps8RUL9AtiIKvcsPw3NMlC384G+dzfc DzI/y0k0anX8lr+4w+6nfO3A2RS0sjgRsNgQfDQL9dtL5dhbKyZRO3ig4Bp2phRSgmi6 3iUQG2yCQvYaPkY3o7doHeO1kdkQqmdqqItlohfpnU4MDxf4UD67T0VlVrQm1CMAWrFY uNLuie38XcBymkiC0/Bwd/JjOJhQPouwao6tKCK2PuzMNRS4zJHqsy9zFjV1Mqn6F3L2 bCZw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=m0Z90kSNpBK9NiDdApCIJhj7QmNuFkQnIkCjYY0zZwE=; fh=vbXBU4p0xyzr+JlStM0sqv4nftZt2QOGd6rcGTG20sY=; b=Clm9cRpo/ZdfuB83czeoe84qrRtM9MfVpJnbDqp5nR2Z6XJKurzQTl/fHZeyzX+cB9 9AeseeeUBqW1MZedwiW4yyXguCil/YBePoscsy7I91P3pg7tHMsxGBxtQNUnl3RfOemp DW98aice/vZiF49R0Ejx38sYntWlPMZS9iE4wOcspGIaI4K8gpYmqIVSYIBT7jJdGjEK Amw7oDmr3bqEFfbxohCdp8wWY+2LjXR29bQ3+TcIAGkKL9LAmakLp5UJYCX2iRnkZxLv kdK6qRSAj6Jddu+psRtGvco1UMSqLTRh7IduhdvhCuAKo3L8H+KZxeJ8k/onGRCz/N3W NdGg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="aqc0CG/r"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-104542-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-104542-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id h3-20020a05622a170300b00430b697a8c8si713382qtk.67.2024.03.15.07.53.47 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Mar 2024 07:53:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-104542-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="aqc0CG/r"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-104542-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-104542-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 989A21C225EC for ; Fri, 15 Mar 2024 14:53:47 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3D9F3381B4; Fri, 15 Mar 2024 14:53:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="aqc0CG/r" 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 4E64E38FAA; Fri, 15 Mar 2024 14:53:39 +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=1710514420; cv=none; b=sggKpqe+yhdhUr15juSTGNoo+qxH/9mOcvVFjXIqCqAWehaTAbxDO//zJ0MHTuIB7PObCmxzeeHycQclQKNEooGUvCeKesOxFVUALTMl8ikpZMnzSUYEcXeLrfwI16XRgRoWCT9c3ALZNOQGzR+29BwVkCWMIvfbVRYD/vEiCv8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710514420; c=relaxed/simple; bh=V9WzBgP3erFUdwEieXh7ebjyPyGGQmShINDMG/+D6hE=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=ii1+7bC8InV1wXeiuzO4CwUZpTJ9mYhn/SrV9jD49j+KjdNEg2g8DpAGbmh+eWK7j9cUAMLbeRRbLF6f+kmyl0P/m+EwgMARNH+f2FLF9zq78kac3Y40ROmT/ZCO50HM5e2RA47UjgyJJDoDHAkKSSBihkvovY9Mkcgl2Tow1YM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=aqc0CG/r; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6C9A9C433C7; Fri, 15 Mar 2024 14:53:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1710514419; bh=V9WzBgP3erFUdwEieXh7ebjyPyGGQmShINDMG/+D6hE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=aqc0CG/ru+sor/YHbT+Y1Xrj7wwXG1LweE8vYPxrC8QHfyF04Z0PSrdwKTHmnLet9 mB3hfN0+JKNXRhHgwj+RJi9gQXeP1W86pL+ijjNBE26UaXoViseiAqmwEXT/QqzcDH nQ5ePDqrTfrJ5nRY5wAg0c0jPlA1RNer+pCH7iNJ3JJtFzNCk98LOYkU0aCpHZh+Jo ERBSQtErB2+4Kv/Famudgf6fj4bMJCLLmOf0lm3YCrCfi5dCzVPrNw4/Xtcn7KPwFO EHXbZyyOhrBf31AjNwlcYTIWvK0u8H6grOmJ5+rwzjPHEj9rvABs/qfxOkygqnYywG 8pyFOEMosdbkg== Date: Fri, 15 Mar 2024 11:53:36 -0300 From: Arnaldo Carvalho de Melo To: Daniel Bristot de Oliveira Cc: Linus Torvalds , Steven Rostedt , Arnaldo Carvalho de Melo , Josh Poimboeuf , John Kacur , Namhyung Kim , Jiri Olsa , linux-perf-users@vger.kernel.org, linux-trace-kernel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH V2 1/3] tools/tracing: Use tools/build makefiles on latency-collector Message-ID: References: <32958f50-b713-40ba-9e12-2a1b5667a91f@kernel.org> 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-Disposition: inline In-Reply-To: <32958f50-b713-40ba-9e12-2a1b5667a91f@kernel.org> On Fri, Mar 15, 2024 at 03:48:58PM +0100, Daniel Bristot de Oliveira wrote: > On 3/15/24 15:24, Daniel Bristot de Oliveira wrote: > > Use tools/build/ makefiles to build latency-collector, inheriting > > the benefits of it. For example: Before this patch, a missing > > tracefs/traceevents headers will result in fail like this: > > > > -------------------------------- %< ------------------------------- > > Oops, b4 is interpreting these ------ as the '---' separator, and is truncating > the message. I will fix this in a v3. > > sorry. Yeah, that confuses scripts, that separator. But overall I tested various versions of your patches and they look ok. That tools/build/ was done for other tools to use and so far some tools/ living projects use it: tools/objtool, tools/lib/subcmd, etc. I just did a: git grep tools\/build And there is quite a few more I didn't realize have been using bits and pieces, good. - Arnaldo