Received: by 2002:ab2:6c55:0:b0:1fd:c486:4f03 with SMTP id v21csp506227lqp; Wed, 12 Jun 2024 08:04:03 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUob4djkjF+wyE9wNnz+XKGTH+fRBkCIQW/b9G2gUVTAqLKXaKVjIfI15fOGFxbwhOBJJya/ZI3upmhCoTGXzIu4xHPsSgoFRTffVtOoQ== X-Google-Smtp-Source: AGHT+IG0xHZnokKx/K4G4jUKvOW36QrGsbS+yJVvFwk9Uz0bN0WEk6F4Y++1qE7QnZAT7OIsQoEz X-Received: by 2002:a17:90a:eb03:b0:2c2:d66d:1b8c with SMTP id 98e67ed59e1d1-2c4a74b5bb1mr3471927a91.20.1718204642810; Wed, 12 Jun 2024 08:04:02 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718204642; cv=pass; d=google.com; s=arc-20160816; b=uiQMOVmqZxS9cabe1Hs6ABmxfPvq1ojaH+Q2eU9z38mRO8Ex6GbS0q/iiRWu7oi6km 2KlvWbOO9EiqKQamAaL20ooYQsGFJ3+rAx0aIV8TJ81CyfiL14kGvbTUtohQ3rEmRcvW x9M9SYKqNh92yarYAaeJAxjIXvtYtQJc/mE3/qWbalQK9QZRfCgB5b5WU3jy+f3Y/bAL QzvstpJSY3n7uzW8KyfaedMJNRmdwP/9U1AhxN+9EcgDt1KF/thbtQaZqzb5FYrYMOl6 c8OGKsE60sVlYJy4q6pxZeGBNLicZTi4ncsz/8ey3HCmSkMkyOgEx+nSCPqtme3uURrU l6Kg== 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:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=wJUNan0C2AlKgNFgffgh9zDoO6nSF+BoZ31Zaf+PwhE=; fh=K8mLBiK/3C/kmCEXsUOFCCNvyk4rolfkOaiOXXuEDi8=; b=pdw/JkL0AmiutI2M0KzT2vOaOCb7u1GbNjSjNzN9N7dgC9ObfNRuCm/oGA5Tqe8R+F 4zKGCVhX7O2d7mR9c6OfHxQd8rDsQRnbcXTRcyj4bL9D4wSy43udWbvir/z2yzcYYHeY 8b6K+30KaxUA5ZvWa7lKqcXKIHHdJ3ugNiFp9R5UuTquaUL1/WgXkoOkT4NKpKGaaF6M ew30sf6lj8DPmJU5BrlBpsFyw3g3/2TWGLQeq7ZtH+y5RTc/xZN8ncU0IeyUv84TwU/s L8wrToyisBqXgUqG92J9pTtJatssXnkNGV1gm7nFuE+H8k7VYuPZEpTmSL27uoouasBP AD7Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=VicfPlrA; arc=pass (i=1 spf=pass spfdomain=redhat.com dkim=pass dkdomain=redhat.com dmarc=pass fromdomain=redhat.com); spf=pass (google.com: domain of linux-kernel+bounces-211719-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-211719-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id 98e67ed59e1d1-2c4a75e60a0si1631046a91.21.2024.06.12.08.04.02 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 12 Jun 2024 08:04:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-211719-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=@redhat.com header.s=mimecast20190719 header.b=VicfPlrA; arc=pass (i=1 spf=pass spfdomain=redhat.com dkim=pass dkdomain=redhat.com dmarc=pass fromdomain=redhat.com); spf=pass (google.com: domain of linux-kernel+bounces-211719-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-211719-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com 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 6D83CB22797 for ; Wed, 12 Jun 2024 14:57:14 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4AE141802CE; Wed, 12 Jun 2024 14:56:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="VicfPlrA" Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (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 0822317FADF for ; Wed, 12 Jun 2024 14:56:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.133.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718204169; cv=none; b=hlprQF5FpzrWO07ZzFC1uObZrhleAmkOtHb/H/LV+ZllcLQ1JweSXDHITHULL2H/CRF86Y6QOGtIcMvNZIbBW/ZRxoPBAdyR6KAEWIlnKdv/IKMEBVGlMDfOBCx9cTIFkzqhZnmQZj+ZgACfP+2nv7MrG/xJAcvSh6IwDW/GIds= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718204169; c=relaxed/simple; bh=IIcVdAqmaOW8pjieI7wldk6Uea4Gpi3604HhIUuqmbo=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=GNH2F/trPE+ARMoxmWZFCiiLXT5PRES+lMSTgYETsqUn7hYtH6eeiYyBiduKJsoMjkheseXuhpcyj+PMJ7nkGC5MqIf+Z1fvAoAyLXgmEOC8xo5e2KU3Ew+wSheTORR4L0pyQwTZaAnALYafRy0jyr+MYKiO4Lgl4GRUIIWK/uk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=VicfPlrA; arc=none smtp.client-ip=170.10.133.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1718204167; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=wJUNan0C2AlKgNFgffgh9zDoO6nSF+BoZ31Zaf+PwhE=; b=VicfPlrAvnW08saPlwEVeYevSAcSF91LtNzswnjYginQI/ZXno1VQR/t6SPEp0S9qaPSY8 49cCqpMHRoJJTovLX+uSGXA4RtTWovBQaoSOsmmR8XAvEZe5GFTMPSCMqTYBBIK4GxM7yI 1AsOX0XH39QYThB1todV87EWlVgBpj8= Received: from mx-prod-mc-04.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-218-DO1enfHbPo-fesQIQwjLBw-1; Wed, 12 Jun 2024 10:56:05 -0400 X-MC-Unique: DO1enfHbPo-fesQIQwjLBw-1 Received: from mx-prod-int-02.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-02.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.15]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-04.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 45CFF19560BE; Wed, 12 Jun 2024 14:56:04 +0000 (UTC) Received: from fedora.brq.redhat.com (unknown [10.43.17.68]) by mx-prod-int-02.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id 1F19F1954AC0; Wed, 12 Jun 2024 14:56:01 +0000 (UTC) From: tglozar@redhat.com To: bristot@kernel.org, rostedt@goodmis.org Cc: linux-trace-kernel@vger.kernel.org, linux-kernel@vger.kernel.org, jkacur@redhat.com, jwyatt@redhat.com, Tomas Glozar Subject: [PATCH 5/5] rtla: Documentation: Add --disable-idle-states Date: Wed, 12 Jun 2024 16:54:39 +0200 Message-ID: <20240612145439.206990-6-tglozar@redhat.com> In-Reply-To: <20240612145439.206990-1-tglozar@redhat.com> References: <20240612145439.206990-1-tglozar@redhat.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 3.0 on 10.30.177.15 From: Tomas Glozar Add --disable-idle-states to manpage and mention libcpupower dependency in README.txt. Signed-off-by: Tomas Glozar --- Documentation/tools/rtla/common_timerlat_options.rst | 6 ++++++ tools/tracing/rtla/README.txt | 4 ++++ 2 files changed, 10 insertions(+) diff --git a/Documentation/tools/rtla/common_timerlat_options.rst b/Documentation/tools/rtla/common_timerlat_options.rst index cef6651f1435..7429e77f95ca 100644 --- a/Documentation/tools/rtla/common_timerlat_options.rst +++ b/Documentation/tools/rtla/common_timerlat_options.rst @@ -31,6 +31,12 @@ *cyclictest* sets this value to *0* by default, use **--dma-latency** *0* to have similar results. +**--disable-idle-states** + Set the /sys/devices/system/cpu/cpu/cpuidle/state*/disable files to 1 for cpus + that are running timerlat threads to avoid exit from idle latencies. On exit from + timerlat, the state*/disable setting is restored to its original value before + running timerlat. + **-k**, **--kernel-threads** Use timerlat kernel-space threads, in contrast of **-u**. diff --git a/tools/tracing/rtla/README.txt b/tools/tracing/rtla/README.txt index 4af3fd40f171..6617b9911c81 100644 --- a/tools/tracing/rtla/README.txt +++ b/tools/tracing/rtla/README.txt @@ -11,6 +11,7 @@ RTLA depends on the following libraries and tools: - libtracefs - libtraceevent + - libcpupower It also depends on python3-docutils to compile man pages. @@ -26,6 +27,9 @@ For development, we suggest the following steps for compiling rtla: $ make $ sudo make install $ cd .. + $ cd $libcpupower_src + $ make + $ sudo make install $ cd $rtla_src $ make $ sudo make install -- 2.43.0