Received: by 2002:ab2:620c:0:b0:1ef:ffd0:ce49 with SMTP id o12csp1589523lqt; Wed, 20 Mar 2024 08:20:40 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUKCFnPs378oNOiu/1cwyPmSAyzZPthoS4WcgSsh4HY7EcOz65a6xhURJPCpPP2RS5bEMJxrUBvUFVkiyVJJE1k9OJS1fA/9vRUaZmzBg== X-Google-Smtp-Source: AGHT+IG6xSm7U9lqgrOvjajvdzW9yuawdRd638+W1UBfr4Ds8dytYMzeX/KYYMVAOgKLPGdU9QY2 X-Received: by 2002:a05:6a21:9202:b0:1a3:5090:7268 with SMTP id tl2-20020a056a21920200b001a350907268mr13482792pzb.47.1710948040060; Wed, 20 Mar 2024 08:20:40 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710948040; cv=pass; d=google.com; s=arc-20160816; b=yw5pQP25HgK7Zl8ap5l/taZmoq31Y44vqnXsEvx9AJa0a3ifCRbuydj+P5ihZ/HrLx wrIU6ybbE3Z/hwr9cN490JeMatCjVtvNKJJCx2PAdgeiYEV93f1+wWEkyanIGCqc39um 28+0xO2DnE+r/ckJSO703IYgfBaJto2YSQhRpqQXh3rfRvFPuaFXvcFjcf6/QHzI6+eL uf+Jsj/k+6N5G7DptWdQhlBqTjRlB6AKqdufGHezM+HELkLUXH06+L4N/anQXggkjM/O 8zbGx/yk9svg3U6V8YHZ2pljIy/ZGF3GpkoVuNcg6Zu3JdF5tKnP68O85Xnm/BzrVbWo XC/Q== 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:subject:cc:to:from :date; bh=WciVLsXcP/NCQU4IZmvNMQJxkqJi1Z8hs/7SoeoSg3Q=; fh=I9+YBmIII5IHgNKP5Oasq6TvtPU+aScNJk0hCWJkD+8=; b=WTq0Q1nnOLsZra17iBL6zKNsfSwM76GqzB0ANOUXMICNPHYIFjuZF1GDZw03mexdzn in6Sp20AHwltD1eJlfEQGa/q7o2nPmtJFdzSuv9DEe8Kpa/H1whJOSymAMNME8RPjFmw LFQRhZp6yp7in/SazX+SNg+jC7BjaXaO842dTAL3zvQR7jVpm6RD8kl0VJrNwz7iPjUy O8c7WSX0lPNfldIRRVonIO/vhVWTi95T/FyY6OFTCo/DJNgC3lZCJ4v3tNvRwZyzBK1A uiAYsN1d+ePeBfGKTyZNqmHosoLRx4BBadDn6w/plI/2rNYOLB+tqHGUjNQXV5lk9ye8 r5sQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-109075-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-109075-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id x13-20020a656aad000000b005d8bb95ce76si12634129pgu.285.2024.03.20.08.20.39 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Mar 2024 08:20:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-109075-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-109075-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-109075-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id CCF3FB20A8B for ; Wed, 20 Mar 2024 15:19:58 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8D8DD4F8BD; Wed, 20 Mar 2024 15:19:51 +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 1568F4D9E4 for ; Wed, 20 Mar 2024 15:19:50 +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=1710947991; cv=none; b=uW9ziolpSZ8J7dZlrE3I/g4WhmL1tWsb2EPF57W5iXvrzkTrFy5uXVo1igMcGLrFo+VcAK8rwdfsoXUot5uWVT2bGkTrKsW9DEVX2j+UUhdxvBAr+VILBe/FTVCu8eXlH62WhFgcBFZU37ak8Ao1XgEykM4I4/rFtT5zqkYv5xc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710947991; c=relaxed/simple; bh=w6Ct3C1JvPunEIqAGDEqVOnbhaD1962ZTtDotzWiW7w=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type; b=TzVTXEczcR5n7+R+k39j0QseiL144d7Lu0x04SBzHVDvi6JpA+cuNvJmJocqYonunGo9e4ZGbg3oAWZCLOzTjYW6AYhPwugiZBWYTz7MFSNr78h3xk03t93mJ1/QPZPv8lPdGXr5JQO29Fk+4OF/8TSSvkeNIo0uA0sMdO6Rlmw= 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 E012AC433F1; Wed, 20 Mar 2024 15:19:49 +0000 (UTC) Date: Wed, 20 Mar 2024 11:22:14 -0400 From: Steven Rostedt To: Linus Torvalds Cc: LKML , Masami Hiramatsu , Mathieu Desnoyers , Daniel Bristot de Oliveira Subject: [GIT PULL] tracing/tools: Updates for v6.9 Message-ID: <20240320112214.01bc5339@gandalf.local.home> 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 Linus, [ Note, the biggest change here is the restructuring of the Makefiles to warn about missing libraries that you asked us to do last merge window. It follows perf in which you don't have the libraries, you now get: Auto-detecting system features: ... libtraceevent: [ OFF ] ... libtracefs: [ OFF ] libtraceevent is missing. Please install libtraceevent-dev/libtraceevent-devel libtracefs is missing. Please install libtracefs-dev/libtracefs-devel ] Updates to tools/tracing and verification 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 library 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/trace/linux-trace.git trace-tools-v6.9 Tag SHA1: 8f0b372605bfba01ab03a1201f93e655bc401fc5 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 ---------------------------