Received: by 2002:ab2:620c:0:b0:1ef:ffd0:ce49 with SMTP id o12csp1569591lqt; Wed, 20 Mar 2024 07:54:17 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVUUxB/yZp8G4yRes8hhpHfHyr4WM7nrodRrh4TIuHx0oD/0TYG3LH/LABoBgJcpsdh/gkLTlWeHiyu3+V1a2mLv8t3pI7m40+Wc88K6g== X-Google-Smtp-Source: AGHT+IFWqrys30bQaXuseYzyUuP+KQQBq0GJYEn6t2C6J6ac1BV2SjR1wm3E7cUqsz8Wzzr+K9X7 X-Received: by 2002:a05:6a00:3d53:b0:6e7:29dd:84db with SMTP id lp19-20020a056a003d5300b006e729dd84dbmr7474261pfb.31.1710946456914; Wed, 20 Mar 2024 07:54:16 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710946456; cv=pass; d=google.com; s=arc-20160816; b=E8AM2MQ1VOlvS3Ok7tMeqhExAtSxymCw7iCzpSf45vHJwGTP2dQfbH+uuJNgj3I413 Wb9tRpj21T6/NIbIsND0D1/jJa2NHwINGuAnHqHSNKB7smV5DyPX6fDlxuTPhU4c65h1 vR/+W4h55Tai/E1LNu/Agzb+wDnNdGc8s34bAPAxsUs7lQKSi5sehH5cxkM5+h5/fOcG F6AHGor5fp+rf3eQuPLHcm4gCkr5rU5PxB4OYeGHWVnflBJ1SeOUp87/NeMj9+kDjE/3 HVU83S33mEzaaDzoRNvACX+3bc9FtNvF0v3NSgF9AZXw1TErslJF+k+5LGAxPNZfuO1q A+uA== 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:message-id:date:subject:cc:to :from:dkim-signature; bh=FksmX+T9Y7xjfFgIt33n+9LhXbAjfp0jR7eyu6aTjeA=; fh=/3BF1sukl8xy/A9dzB5VzBggjv9y/jIJohKhSEh8FtQ=; b=Xkj6usjOiySVhgvxYSbYgQ5qzHBQ5+vYV3FANSyUIm4HX3cbYMZ93+qiq8IwMyUxox qADoNmc2gDK0hEOcIM5IiAK0hQNE09gp+nKxbxMQIw80PnUtYZEBxzzkLMmUqatiGRqo YVAXW4qdnihCv+8K09er/B+7Ef07GftHEWk3W1MlzkxQI7d8Lhx7gE2I6gKD5DkRudsr A7OoV+X2V1ir+GUA5yeMlj5BZykHZ0P2YjJ9Nd+Y7BWiXFhOSODuzNDhs1b0HtvgRhy/ a77oWneGq+riwWcFWtwS8z+0HBB8UVenBipt9OPODOHMByL6Iu8pJm2ZeyxiAW3/JK3B ebDA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=RzvDEUdO; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-109032-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-109032-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id c20-20020aa78814000000b006e6c7253d28si12986495pfo.153.2024.03.20.07.54.16 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Mar 2024 07:54:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-109032-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=RzvDEUdO; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-109032-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-109032-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 1759CB20DB7 for ; Wed, 20 Mar 2024 14:54:13 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id ED7594A99C; Wed, 20 Mar 2024 14:54:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="RzvDEUdO" 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 23472481DD; Wed, 20 Mar 2024 14:54:06 +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=1710946447; cv=none; b=S7rncgvQE65U/4x/cYz7c9GBwuLI6LKMgeeGET9Anbc3nhlY8SLKBwQel830YBvhTZwnQzxgxgDnHL7Dib/ngERs+utRhAZD4K1oSEOzFOXafns9zaGtfxpFFtnal+Pds8/QHc/h15xHbeeUKIge0Ek8EaE+ekLOTLV+JuaTqTQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710946447; c=relaxed/simple; bh=loyUyYPPgYDAM4zA8eNu7gfFV9TKe1TcyUwp2cBWpKw=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=BXxcWeiaMnPvBtYDAVlLvbmQO4rhAT9l56d7Ku3m7S6DxgzP0K43A5gPY5SsdioWqvjOdlpFNZ+S/U4pin9uvEjFe3Kop4dsxKmyhq70xlpjDh2KH3zhRZ4TyVRiA8eT5XsFjIkCIMHRfLE7CYjXfUtYSx7YmkFgLR8hcYLGC6g= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=RzvDEUdO; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1EAC1C433C7; Wed, 20 Mar 2024 14:54:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1710946446; bh=loyUyYPPgYDAM4zA8eNu7gfFV9TKe1TcyUwp2cBWpKw=; h=From:To:Cc:Subject:Date:From; b=RzvDEUdO+EOD2lFahaSQ4wKCF/jQQcyZT+FQ9V2lNPKMfmC3fjh4MPffwL4bX/JW4 sUvLwUfsG55Iymz/sN/Zs+kWS1vXFBdCZaZhtYF4ON2JzWd6iTU0orBE6abjg0gAXX UwqgEcd+cDtnp/68KxTitIPU+fUekXhmVd/jwzjCs9CQqodq891TX5WzEs/XqWPeu3 1tn82oGU5s5TSP/B0yCJVipY/DBLoA64OjYCI21XqphSE4mSUpOwsuul9YQ+3BVT+P xeoZjeTwlkKQNYzWpTD76DwPZYP0jvr5S4wckpQN8suSI8B7hN18FvMmp4U7lAUrdr qukbpJ/+jbnUA== From: Daniel Bristot de Oliveira To: Steven Rostedt Cc: Daniel Bristot de Oliveira , Masami Hiramatsu , Arnaldo Carvalho de Melo , linux-kernel@vger.kernel.org, linux-trace-kernel@vger.kernel.org Subject: [GIT PULL V2] tracing/tools: Updates for 6.9 Date: Wed, 20 Mar 2024 15:54:00 +0100 Message-ID: <20240320145402.650357-1-bristot@kernel.org> X-Mailer: git-send-email 2.44.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Steven, [ I rebased my queue on top of the v6.8 tag. ] 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-2 tree, which can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/bristot/linux.git trace-tools-v6.9-2 Tag SHA1: e8d5e0f38601c3718874d95db2a0020ab1c454df Head SHA1: a23c05fd76cf4ad27e0c74f7a93e7b089e94a55c 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 ---------------------------