Received: by 2002:ab2:620c:0:b0:1ef:ffd0:ce49 with SMTP id o12csp391374lqt; Mon, 18 Mar 2024 10:41:58 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCV+64ucT2zUhZR9AXLHavCiHKm1ePpfgA41DDQxIE35STOykxroyEyQv3kwyrzzKytWCR8ufbY1zNpgKXuhoLwCi4y3ofneEQGeQKtNIQ== X-Google-Smtp-Source: AGHT+IFLCRz03J0DYv1FfpHAqUHjnIJpNnSOJkFyMF4ZKEtwUzJKI7QO/rbe8i+cZXNMOuE3utrw X-Received: by 2002:a05:620a:16cc:b0:789:cf5d:99d6 with SMTP id a12-20020a05620a16cc00b00789cf5d99d6mr13116334qkn.38.1710783717981; Mon, 18 Mar 2024 10:41:57 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710783717; cv=pass; d=google.com; s=arc-20160816; b=hJmRv8CA2Mj6lXz90voJioNuaF71sftT9yulWOtE+UccOB+50vNKPI6FXet2TqQxYI z/snmTFh1+jXZFakXIShow8iX37ISl0MKG5wUZJrsz55lRFegtOp1kZckMDzOLWtjZxM kxx3AOJ5yfXlt3ZKkqNEtMvckg9ZMpsoFiEIEbCRXwfJvHqRFLH7s5dsIB7hjAZ5mOqt ao8pEt1xwU+yvmI1333Ny5IWFIXbawh/Ce5XIE4QQrQt1cbccP7s5JtS1D6VvKd5diEL j5xTTtcy1iV73RFQISjg4N5+eAINxlbSBcjTbY0WrdNPIdfS65EGVtw5WCFSBr++FTcE V/3A== 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=myIl4rusK5p5/LB9upuTRE4A2iQk1lnRdnQoS2Z0Ni8=; fh=6Ednbw3vJ1BFqxbicUMTgWPH2CNswfIyoPTarXfo9cs=; b=sWhua9ssLnbjy7mA/RgiHEq3rAcohFHt+rqQUQfXu32cd0tD1rsNviCVD9PDhPsVk2 +1mWsihcQD/4u8dYJtMnvkBw+Ro9xsSqhpmrVl1AtV/aQscV+6HAB3wjPMfIp4WTktSX bFuXh4fBSeAl5Ca9K0XCNOUegf/BMvSHejvWUnIUWP9KkKGmK5SYy3f1K3x1bF2qxW8z 9G5d7RzzYdedt1A/IfVMe0/A1sr2OBl8pYhIssVaHYG2L74RU6Bqo8da6ruTItqVJsZA vHZsBxr5jWysYJi+GatpRKjJWxNOMiZaDB3mH4HNb2IN7AlC8DMYS53l5jJEuFck96Mg Jp+Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=X8mCslIJ; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-106473-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-106473-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 pa17-20020a05620a831100b00789fcdb2dc7si3013376qkn.108.2024.03.18.10.41.57 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Mar 2024 10:41:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-106473-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=X8mCslIJ; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-106473-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-106473-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 B16E81C22057 for ; Mon, 18 Mar 2024 17:41:57 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id F346155C04; Mon, 18 Mar 2024 17:41:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="X8mCslIJ" 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 2458B3B18D; Mon, 18 Mar 2024 17:41:27 +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=1710783687; cv=none; b=WmY8K0vqNiDTm1I0m+CllueLt3VTBCV4VT++4m9VqzqGg4F7Zqj+klbDo2R+O2RUboq+zwwTSHZHaQlhWNAz6XMIrWhR+vJqO0oqTdtutpSemqP/vGcauVTRejlINFFn5evdGpmLqQBMo/+2zwo2Tu8MDJbXIQzGYZwWGG7oXWM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710783687; c=relaxed/simple; bh=AeD+xtd/SWdYD0ybNwABImyLxfcVppzYgjid8FtIZMM=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=UM/R6iNU5JE85ltxWuIHad2L7hFmQhXFC/P0gZlB1ZNV6W0jaS1UDdo4ct6AqOG+y5QrcoiLdR+NwvJ6VRcHiwHRkEyeauKiQaMIovHjME82bthEX0DAkcWWkikGT142umnGHx+xBF582XyJ7yZ9wIkvp6ENlrT90I7CTh4N9sY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=X8mCslIJ; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 64606C43390; Mon, 18 Mar 2024 17:41:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1710783687; bh=AeD+xtd/SWdYD0ybNwABImyLxfcVppzYgjid8FtIZMM=; h=From:To:Cc:Subject:Date:From; b=X8mCslIJIo1YZdYA2qtn6bHDe/Z6vt63FyeHlUC1LTEksaNYluGTpDK36t3ARGjRK PO7VNeiHWTW3oRswcZEaMqwfkMtglb1ZGo4SRPuEORJoyVlugPmgVzZLgTWALaL/2j WSn3oU3anH1itPzPuS9RS/WJj8LmpFVK/YCfYE6TlaYV+YPtmYnmOEzEiLmg6MF3Os Bj5WQYDGPB2bReNlXnYd4nFeEuOm1rYn1USDlASwpRF/U0+vLB5RqonzpY4h3Qs2LA 0HZTttew4XXeR3mY6SV8EK46ra+txecW8WTswu2V1LgA976K5JXd29OG4f61JqpeQI tUstXPO9z4r7w== From: Daniel Bristot de Oliveira To: Steven Rostedt Cc: Daniel Bristot de Oliveira , Masami Hiramatsu , linux-kernel@vger.kernel.org, linux-trace-kernel@vger.kernel.org Subject: [GIT PULL] tracing/tools: Updates for 6.9 Date: Mon, 18 Mar 2024 18:41:13 +0100 Message-ID: <20240318174116.420584-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, 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 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 ---------------------------