Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp7351466rwd; Tue, 6 Jun 2023 09:29:03 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5A10uLZ6NCfmBggCfkWJIchNZcssmV+HHLJnD6CWee27O7L/LoS3mYt0z7b92+p1zUbIlp X-Received: by 2002:a05:620a:1b8c:b0:75b:23a1:362f with SMTP id dv12-20020a05620a1b8c00b0075b23a1362fmr148432qkb.64.1686068942840; Tue, 06 Jun 2023 09:29:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686068942; cv=none; d=google.com; s=arc-20160816; b=ht9+1y/tx37WvoJrToR3yiW8oXkRUbXYEteaSLfD38UsXECeC2mUglQDMCH/sJ+v9a JPmRgXXYZpTYIoNP+E0TJ6XQ0YW7Moizuru9gjrqpX2qMWQluZVW/rIeeX4DAxtE6b96 vPds60QFs6hG4aUB/F1A04apcx5FzBkMLq2fj/3TnGZYlk7gVQh91pZl3m+EZQgTIEdj TyzzmWt6nSHw29At7DUUt48b0wi2Tr/FMB1AZrHvgsA3hoU5csXTle2HpbRUzil8s3KU qyu1PbcHs+tCbFEN2mbi8OrDU4Yk0SwC8TXHDhQn2snRfK/oi4B5eA55KZUllOANb4qd T8OQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=dU8UPY60mKVr4+WHYUbSDTnDqKEx7UiRDwm7/lhegK0=; b=RF1lOHDF3s4MF/fnIQ9lGqW7Aq3y1NGf9z2SfmnRokZQQsiQbwwrVypkVnScJ7FXJY qt6rQmRLr9w1Z5pAQKwaR4YjxhJq1qsTP0zuPLBPUv7NlKruHUdTmyCddH1X5LbVsLQm ynjVWdavBouAuW5QBGJ+vnICW4imyrJHz6vu4OgsplbT7JOmAAVNqb8Nvqha4bvRAg+n 1JjJdr8UZwfEv3FpbXjP6+1lKLS3ZCXKB07gQFefHNneKoet5bXoxbNnvs0xqvcoI62h o1ARgUpkKwrOmGgioo5MgIf/C54v3QXP9yDK91bL5v0fQsqlTlbQyHfdoX8RCdnJV5RS jPQA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ISrLLMAQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a23-20020a05620a16d700b0075cdaadcf14si5744740qkn.318.2023.06.06.09.28.48; Tue, 06 Jun 2023 09:29:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ISrLLMAQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238640AbjFFQN4 (ORCPT + 99 others); Tue, 6 Jun 2023 12:13:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48304 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237776AbjFFQN1 (ORCPT ); Tue, 6 Jun 2023 12:13:27 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 92E9719BD; Tue, 6 Jun 2023 09:13:05 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 2DF4462DE6; Tue, 6 Jun 2023 16:13:04 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8CEEBC4339E; Tue, 6 Jun 2023 16:13:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1686067983; bh=SNMZc0L/b6GLmVD1yPrxAZQaDWAwMEPVbWJyNUZPapU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ISrLLMAQMED7jumB7rUxj4NLoUAL1EUyBok+B70FXLeTV8RbWw2YEyhDwpUUt2W+8 BSxK7qj0Xsy1sBuOEiYEIDscWsMI8kOhRR5UpQ1uYg9B2NN7A3Omlc1BfNFBZY0dvi 4brp+zhcc4iOG+YQwY906r240v+Ox0bb7YrQqkZA2AgpiYnVG/xEO7OM3wnAUf3T1a tC7uJTlisTSrjMOg93qS/eQVXTnpCtKJ4KNPzc+VxwQ0RwYF7suOc5KDTQFRGDOVrk M4xRJ0dhiRl0bQyu6vIGQpuwUPKNMeKGpLwXJPqYVcPlyuNBp7fyJKxA9iF59EasAc mSJfqaSQpNEEQ== From: Daniel Bristot de Oliveira To: linux-kernel@vger.kernel.org, linux-trace-kernel@vger.kernel.org, Steven Rostedt Cc: linux-doc@vger.kernel.org, Juri Lelli , William White , Daniel Bristot de Oliveira , Masami Hiramatsu , Jonathan Corbet Subject: [PATCH V3 11/11] Documentation: Add tools/rtla timerlat -u option documentation Date: Tue, 6 Jun 2023 18:12:25 +0200 Message-Id: X-Mailer: git-send-email 2.38.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add the -u/--user-thread option documentation for timerlat top/hist. Cc: Steven Rostedt Cc: Daniel Bristot de Oliveira Cc: Masami Hiramatsu Cc: Jonathan Corbet Signed-off-by: Daniel Bristot de Oliveira --- Documentation/tools/rtla/common_timerlat_options.rst | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Documentation/tools/rtla/common_timerlat_options.rst b/Documentation/tools/rtla/common_timerlat_options.rst index bacdea6de7a3..88506b397c2d 100644 --- a/Documentation/tools/rtla/common_timerlat_options.rst +++ b/Documentation/tools/rtla/common_timerlat_options.rst @@ -26,3 +26,10 @@ Set the /dev/cpu_dma_latency to *us*, aiming to bound exit from idle latencies. *cyclictest* sets this value to *0* by default, use **--dma-latency** *0* to have similar results. + +**-u**, **--user-threads** + + Set timerlat to run without a workload, and then dispatches user-space workloads + to wait on the timerlat_fd. Once the workload is awakes, it goes to sleep again + adding so the measurement for the kernel-to-user and user-to-kernel to the tracer + output. -- 2.38.1