Received: by 2002:ab2:620c:0:b0:1ef:ffd0:ce49 with SMTP id o12csp1186969lqt; Tue, 19 Mar 2024 16:00:44 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXJ1mHcmTcxKlhBfNTDbtLwj+52xVVMUeGPnOt5gxRUirr8gFSG1XtrY84IZVLgcwQjRLqf3A0RrGPtG/X6QRPk8yzewSR9YLbH8Ujglg== X-Google-Smtp-Source: AGHT+IGr+b5ktBT8OUKk29MtXHqiw8AiadPSr4LEhFkyKi+H+DFwVaklR9KwQgJUh1CeFUAcu75O X-Received: by 2002:a05:6402:28ce:b0:565:e610:c358 with SMTP id ef14-20020a05640228ce00b00565e610c358mr10549976edb.38.1710889243969; Tue, 19 Mar 2024 16:00:43 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710889243; cv=pass; d=google.com; s=arc-20160816; b=NFTBvJN53DcyVwVnUMKbH3SQIRakp/MySRlrHVceuGlCMWJf+q42ImStdmUwkaJ4NG oTsRx6MaP/LVO0XaJ9TznhgWqeNWELdl+O2hYijMvm4VXtDevW69YHq/y6Apv473OpBQ ljRhn4HN+xR5dirXNkmNlldmiWhbcTFAArQUkT+pvMPalAlG3HyKbNIn7TehwmHftqOO QB286d9BBPsamKwRyyZaQ5wYojseQxHDCfHXalVpwq5QEXyivWTqvKftUEzYgmuWPvty YSyVZYTNu7fwo1oy01XfBp45hNisutpBd9v7REuj25mFjOA2PNXMkNC98p8l/gcwVgjf 8DKA== 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; bh=5l7KsqkWP6OsQA0S4pqDFKLJU2FStSPhqMIUOpXYSEE=; fh=0aBkAZOVB8Z0hTC/Zhy8EzA9HsuUZJpa9Q8Syppugo8=; b=nTC6QjRfFwEjSRifA1GScKQBBQpBkVS43ITE+7uKB25fSlMFjuAlMuwHTfcvs4LbuI AwJkqwxpVa4uJN+DBt7bRN0zC5R6Sps9nPmoUSmLObpjETAVASOSfGRMrvcy+OyRfYHG 37DaTWqgCKEAEdBWga/gw09M7iJphBaFFq9LaSCbq5WXjaP4soDeHtfrYvCE73i0xvlo llXWNTS0VM/wberd6uQz6vS1AWtjP9Z6C7rwEXuS40G5Fk/7HpyfV5MVLzaukL1O8D1a rswzOpWHZYkoIbMWoQ1UEvvF8g5wku1LGoSx8rV7BsSzb+dMd56BFIW/YjXQ/tIh2upP D3LQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-108219-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-108219-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id dg23-20020a0564021d1700b00568b424d111si4553805edb.193.2024.03.19.16.00.43 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Mar 2024 16:00:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-108219-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-108219-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-108219-linux.lists.archive=gmail.com@vger.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 am.mirrors.kernel.org (Postfix) with ESMTPS id B0BC51F2289C for ; Tue, 19 Mar 2024 23:00:43 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id F2AA057874; Tue, 19 Mar 2024 23:00:37 +0000 (UTC) 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 4D69D5F86E; Tue, 19 Mar 2024 23:00:36 +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=1710889237; cv=none; b=YR3XafHx2a4QANNiNju4N+ShYIR+QlRtTSRAl1hcVQVW87ueheM8ZZHrjI+TNhTk5Yh4jcb8iHhIDt0pYz+xjXe5xZNSRVSeS3QaIqsabO5kerK4wMWImS8XaA6msf3Y8tYKhVp66woOwSRYWirATbpq6T/v1wf6pWrLwxLcfSE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710889237; c=relaxed/simple; bh=Rg9kLOe7EynCjlAo/kFPcMuXUbZElAONgC515/UjszU=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=d2vvZU7523glgpQSdDYipKngGMNnUyzVaKFe5iZ2y68GvLkADfiESU4l45qyshNSyA1gAbksWhdqSa7rT4hQPpXavxZaAU7tXObw2VBJd8USb3RDhWmAlmzRLiyT5ltmZXkZ4BY0Y96VOZLZNqeqO3ZdpWtTUOwNIqjii8wUf7Q= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 45471C433C7; Tue, 19 Mar 2024 23:00:36 +0000 (UTC) Date: Tue, 19 Mar 2024 19:02:59 -0400 From: Steven Rostedt To: Daniel Bristot de Oliveira Cc: Masami Hiramatsu , linux-kernel@vger.kernel.org, linux-trace-kernel@vger.kernel.org Subject: Re: [GIT PULL] tracing/tools: Updates for 6.9 Message-ID: <20240319190259.0086706f@gandalf.local.home> In-Reply-To: <20240318174116.420584-1-bristot@kernel.org> References: <20240318174116.420584-1-bristot@kernel.org> X-Mailer: Claws Mail 3.19.1 (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 Mon, 18 Mar 2024 18:41:13 +0100 Daniel Bristot de Oliveira wrote: > Steven, > > Tracing tooling updates for 6.9 > > Tracing: > - Update makefiles for latency-collector and RTLA, > using tools/build/ makefiles like perf does, inheriting > its benefits. For example, having a proper way to > handle dependencies. > > - The timerlat tracer has an interface for any tool to use. > rtla timerlat tool uses this interface dispatching its > own threads as workload. But, rtla timerlat could also be > used for any other process. So, add 'rtla timerlat -U' > option, allowing the timerlat tool to measure the latency of > any task using the timerlat tracer interface. > > Verification: > - Update makefiles for verification/rv, using tools/build/ > makefiles like perf does, inheriting its benefits. > For example, having a proper way to handle dependencies. > > > Please pull the latest trace-tools-v6.9 tree, which can be found at: > > > git://git.kernel.org/pub/scm/linux/kernel/git/bristot/linux.git > trace-tools-v6.9 Looks like you just built on top of a random commit from Linus's tree: commit f6cef5f8c37f58a3bc95b3754c3ae98e086631ca Merge: 906a93befec8 8f06fb458539 Author: Linus Torvalds Date: Sun Mar 17 16:59:33 2024 -0700 Merge tag 'i3c/for-6.9' of git://git.kernel.org/pub/scm/linux/kernel/git/i3c/linux Linus prefers basing off of real tags or previous pulls from us. Can you rebase your changes on v6.8 and resend? $ git checkout v6.8 $ git cherry-pick f6cef5f8c37f58a3bc95b3754c3ae98e086631ca..trace-tools-v6.9 Appears to work fine. Thanks! -- Steve > > Tag SHA1: 2eb09a97c56af3c27bd9dcebccb495f70d56d5c0 > Head SHA1: 9c63d9f58a42b979a42bcaed534d9246996ac0d9 > > > Daniel Bristot de Oliveira (4): > tools/tracing: Use tools/build makefiles on latency-collector > tools/rtla: Use tools/build makefiles to build rtla > tools/verification: Use tools/build makefiles on rv > tools/rtla: Add -U/--user-load option to timerlat > > ---- > .../tools/rtla/common_timerlat_options.rst | 6 + > tools/tracing/latency/.gitignore | 5 +- > tools/tracing/latency/Build | 1 + > tools/tracing/latency/Makefile | 105 ++++++++-- > tools/tracing/latency/Makefile.config | 30 +++ > tools/tracing/rtla/.gitignore | 7 +- > tools/tracing/rtla/Build | 1 + > tools/tracing/rtla/Makefile | 217 +++++++-------------- > tools/tracing/rtla/Makefile.config | 47 +++++ > tools/tracing/rtla/Makefile.rtla | 80 ++++++++ > tools/tracing/rtla/Makefile.standalone | 26 +++ > tools/tracing/rtla/sample/timerlat_load.py | 74 +++++++ > tools/tracing/rtla/src/Build | 11 ++ > tools/tracing/rtla/src/timerlat_hist.c | 16 +- > tools/tracing/rtla/src/timerlat_top.c | 14 +- > tools/verification/rv/.gitignore | 6 + > tools/verification/rv/Build | 1 + > tools/verification/rv/Makefile | 207 +++++++------------- > tools/verification/rv/Makefile.config | 47 +++++ > tools/verification/rv/Makefile.rv | 51 +++++ > tools/verification/rv/src/Build | 4 + > 21 files changed, 650 insertions(+), 306 deletions(-) > create mode 100644 tools/tracing/latency/Build > create mode 100644 tools/tracing/latency/Makefile.config > create mode 100644 tools/tracing/rtla/Build > create mode 100644 tools/tracing/rtla/Makefile.config > create mode 100644 tools/tracing/rtla/Makefile.rtla > create mode 100644 tools/tracing/rtla/Makefile.standalone > create mode 100644 tools/tracing/rtla/sample/timerlat_load.py > create mode 100644 tools/tracing/rtla/src/Build > create mode 100644 tools/verification/rv/.gitignore > create mode 100644 tools/verification/rv/Build > create mode 100644 tools/verification/rv/Makefile.config > create mode 100644 tools/verification/rv/Makefile.rv > create mode 100644 tools/verification/rv/src/Build > ---------------------------