Received: by 2002:ab2:6816:0:b0:1f9:5764:f03e with SMTP id t22csp1119443lqo; Fri, 17 May 2024 11:12:25 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXYDDTEJWGKZi8c4zPnsHf5A/Da8rN/8SMBW6XAhrbdkwz0iciya6LBwryOCUcVFMhAtkxkh1wloDMEf4hoquGjJEPdoRhYi9mrzgDhOw== X-Google-Smtp-Source: AGHT+IGDcHxs9ZRqbc+VK6nBJuqgdGmjs6bdJfHBxWxcQYd5c+EIIMPzy7GcOkNkEkrDKXrXChQj X-Received: by 2002:a05:6a20:9f9a:b0:1af:fbab:cfaf with SMTP id adf61e73a8af0-1affbabd262mr12389169637.62.1715969545290; Fri, 17 May 2024 11:12:25 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715969545; cv=pass; d=google.com; s=arc-20160816; b=iXl+Q8GA0xmLKqmJmszSXJDIuQbAMhGSDn+3/8oWlnZ07jrYEQKxx9TLgxd5JDdxvY ckF/f7NdKlCI0EPywVNWJWKHPND714cZV3H0krZqNDQrx6JoeNf4E64XRQOhAATAJgjb TLzajC/1Qo5HpsuRLK4bYydknxRYzLolbJpVaEeKCKSIuX6R4kywkdMSAr7BQfOX4MIu 1dOnt0vqJQfAY6YPQfzApCHhqY8oPFp/XTdRfFlb4P8mwd9JQB3t1WDjG1wAzYkvM/Ir tpnS4pOuV0fE4ae6HRZvN22zrOBR40P8AJByjMxEHNyk3YrEcD7WQ7kEdrI7n7h/LZbF iIcA== 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=5p009I6Q1KcJ3G4+XfYlcOJPnzC5HN2JYogADF4mxSg=; fh=gbdTfRZcG71Ek0U21+ghmmRKnwU/O91cfDwu+MTf8Sc=; b=K5nacaJPQmb2KkQfH9qnXCCQTxnFjlQ/8d/4mDf7/86Y0ihgigKvNP14x7misrKe8C UshabVs4keRehNZ67LDLq9f0h9yU5+BY0bk7dtOAbLP+y02Q+mz3JREKqSXvTbhug7SG YdWMqIYO/UySGX1g0melALhzNy6WOL3dn6NgjB+fwyQti1wiw1WVDdwdQOVXM6BKoxqp T5cU0fXCEgYkNXVguRt3Q8M3mBcAT1/R4sSQTblyYe+iEErP2AcTnY8BcX6ezSl9/QU2 xPAl4sinl1z/ymzKM8ZkuBJCMl5Z0n1odHw0txpRng/8OeZWrJ276ytQRm5mTkxcFXvj BA3Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-182508-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-182508-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id 41be03b00d2f7-63411719286si17703352a12.474.2024.05.17.11.12.25 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 May 2024 11:12:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-182508-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-182508-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-182508-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id E861B283A2E for ; Fri, 17 May 2024 18:12:24 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9253013DDA7; Fri, 17 May 2024 18:12:20 +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 1B2F21FC8 for ; Fri, 17 May 2024 18:12:19 +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=1715969540; cv=none; b=p5dRNVj3pBXLwMNR6y8MPwEDGYq0qh1trB4nnMrz8Ea5a7Br/kDhvz7Uq4dZDhofJaK/cQzZnMMBk+tuAvunZvTG3DqH5UgyLY1ZMauv5gdJKJHcf5yj8PpyXiRY83oa89VTJRvSiJDwIAhEFV3pagbZ4l5GBfursK427qvbJiY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715969540; c=relaxed/simple; bh=y/2x6b/ornAg7rdI250+1KgKVyHjQhNSZkRYqHut4XQ=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type; b=mnZtk6yEbLH0+3NS8IU0w9P2Xn7fcuK0kObOhdh6OtOwfnQoXVf1FMIn3TofQ8LTeogiafF9NF5Hc44lILwRfnjsjSh4L0ea2DvKdAzRdWo93oIr9D9LAm3beaNdOL2fOe4QZJgRYmln+U7h/pfTPsNlLTcTIaxtXjtrQTKe4Y8= 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 2C2DAC2BD10; Fri, 17 May 2024 18:12:18 +0000 (UTC) Date: Fri, 17 May 2024 14:12:47 -0400 From: Steven Rostedt To: Linus Torvalds Cc: LKML , Masami Hiramatsu , Daniel Bristot de Oliveira , John Kacur Subject: [GIT PULL] tracing/tools: RTLA updates for 6.10 Message-ID: <20240517141247.0ec1242a@gandalf.local.home> X-Mailer: Claws Mail 3.20.0git84 (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, Specific for timerlat: - Improves the output of timerlat top by adding a missing \n, and by avoiding printing color-formatting characters where they are translated to regular characters. - Improves timerlat auto-analysis output by replacing '\t' with spaces to avoid copy-and-paste issues when reporting problems. - For timerlat, make the user-space (-u) option the default, as it is the most complete test. Add a -k option to use the in-kernel workload. - On timerlat top and hist, add a summary with the overall results. For instance, the minimum value for all CPUs, the overall average and the maximum value from all CPUs. - timerlat hist was printing initial values (i.e., 0 as max, and ~0 as min) if the trace stopped before the first Ret-User event. This problem was fixed by printing the " - " no value string to the output if that was the case. For all RTLA tools: - Add a --warm-up option, allowing the workload to run for before starting to collect results. - Add a --trace-buffer-size option, allowing the user to set the tracing buffer size for -t option. This option is mainly useful for reducing the trace file. Now rtla depends on libtracefs >= 1.6. - Fix the -t [trace_file] parsing, now it does not require the '=' before the option parameter, and better handles the multiple ways a user can pass the trace_file.txt Please pull the latest trace-tools-v6.10 tree, which can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace.git trace-tools-v6.10 Tag SHA1: 2e2ffd01fe2dd06c66621bf7404beb31beb50ea1 Head SHA1: 59c22f70b2951d81de410d477ae536ba951b4f37 Daniel Bristot de Oliveira (8): rtla/timerlat: Simplify "no value" printing on top rtla/auto-analysis: Replace \t with spaces rtla/timerlat: Use pretty formatting only on interactive tty rtla/timerlat: Add a summary for top mode rtla/timerlat: Add a summary for hist mode rtla: Add the --warm-up option rtla/timerlat: Make user-space threads the default rtla: Add --trace-buffer-size option John Kacur (3): rtla/timerlat: Fix histogram report when a cpu count is 0 rtla: Fix -t\--trace[=file] rtla: Documentation: Fix -t, --trace ---- Documentation/tools/rtla/common_options.rst | 11 +- .../tools/rtla/common_osnoise_options.rst | 4 + .../tools/rtla/common_timerlat_options.rst | 10 +- tools/tracing/rtla/Makefile.config | 2 +- tools/tracing/rtla/src/osnoise_hist.c | 55 +++- tools/tracing/rtla/src/osnoise_top.c | 55 +++- tools/tracing/rtla/src/timerlat_aa.c | 109 ++++---- tools/tracing/rtla/src/timerlat_hist.c | 294 ++++++++++++++++++--- tools/tracing/rtla/src/timerlat_top.c | 250 +++++++++++++++--- tools/tracing/rtla/src/trace.c | 15 ++ tools/tracing/rtla/src/trace.h | 1 + 11 files changed, 653 insertions(+), 153 deletions(-) ---------------------------