Received: by 2002:a05:6a10:7420:0:0:0:0 with SMTP id hk32csp1861569pxb; Fri, 18 Feb 2022 17:51:34 -0800 (PST) X-Google-Smtp-Source: ABdhPJxhaPPD9YEmjHegiP7UipBCPeKbUZ5B+Sal4zJBrojFsfIVw1trFwiD7FfEO6dVlDHn3/Fd X-Received: by 2002:a17:90b:117:b0:1b8:e632:c589 with SMTP id p23-20020a17090b011700b001b8e632c589mr10979457pjz.26.1645235494764; Fri, 18 Feb 2022 17:51:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645235494; cv=none; d=google.com; s=arc-20160816; b=RAeZikEt7SH+FBYLr1i1aQEQoj281k5C1vp5oNRCu3dXTuO2mAxieaEGLkTjgZTEcU MzWpBjGsIjDnELdYRXcJofE40XeRtZnMbX/lxdVF6dSarr4LiY5/HrmCJ0DEktWh0Hnb rCviirLDxYrB2i2mSI7nytciAJBYiZHOVpRLqSaFcl84DFbvaX5ChOwdyLRNhT9E2vDg eS7pRaf4aGCFY0WMIv6lVrsRca/mN1wbsWbHQN3du0Tw699uy6/Hx84Vjtn6coWJG/Y8 ja8rXYdtfjNnFRt1UKannPT1n75Rq/aRmjqEUEqzZxED8BHN3RQDKVI0d26ZHUwtvZrL wZwg== 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 :message-id:date:subject:cc:to:from; bh=CrBLM6qyQ/dUAmqpnCrX8WfNWa/wjqMIoQGjqH6Nc/U=; b=x0GGc1K2slrfKLF755nVOaMcIR74M0ugu6DiEBkBFNKtZ6ywbIDN7Nk6QqcZyObvEo rSr4vvXeXmWN1qgzpz/YPa8eGbV3MpSxbXvSE89wZdGrjOn4CN/wcEdAEtyBctuWlFYm lioUAImHVHY67zrEt8DZSTvpoH+NtD7njZO74OFEwEwtS2i9i7BT1gku+/jvmTmwPG4H OttM0R7wn64FdNxjXwwb+aPFaeGYL9Zuq8vmmDTLE2hXHEPSYyDqTiJi0UuGKu+o5qgq L6ILCOOA6mzoGaYzOYMqxnr50wXCK7iQM1CSrdA1tLTntQEtQ8lVAb+4IIlBheo1Z5U2 iweA== ARC-Authentication-Results: i=1; mx.google.com; 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 s13si11862484pgs.398.2022.02.18.17.50.41; Fri, 18 Feb 2022 17:51:34 -0800 (PST) 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; 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 S234394AbiBRLJz convert rfc822-to-8bit (ORCPT + 99 others); Fri, 18 Feb 2022 06:09:55 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:34846 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234388AbiBRLJw (ORCPT ); Fri, 18 Feb 2022 06:09:52 -0500 Received: from us-smtp-delivery-44.mimecast.com (us-smtp-delivery-44.mimecast.com [207.211.30.44]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id AC99F2B4050 for ; Fri, 18 Feb 2022 03:09:36 -0800 (PST) Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-583-nd3EsSwbMXCqZ4U4EXKMfA-1; Fri, 18 Feb 2022 06:09:29 -0500 X-MC-Unique: nd3EsSwbMXCqZ4U4EXKMfA-1 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 54C042F47; Fri, 18 Feb 2022 11:09:28 +0000 (UTC) Received: from x1.com (unknown [10.22.32.12]) by smtp.corp.redhat.com (Postfix) with ESMTP id 6ABB22B4B5; Fri, 18 Feb 2022 11:09:26 +0000 (UTC) From: Daniel Bristot de Oliveira To: Steven Rostedt Cc: Daniel Bristot de Oliveira , Jonathan Corbet , linux-trace-devel@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 0/7] Some rtla features Date: Fri, 18 Feb 2022 12:09:12 +0100 Message-Id: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=bristot@kernel.org X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: kernel.org Content-Transfer-Encoding: 8BIT Content-Type: text/plain; charset=WINDOWS-1252 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_SOFTFAIL,T_SCC_BODY_TEXT_LINE autolearn=no 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 This set introduces some tracing facilities to rtla tools. It adds the possibility to change the tracing_thresh to osnoise, allowing a fine tune of OS noise detection. It also adds the auto tracing feature (-a threshold us), which aims helping the first approach to a problem by setting common tracing features with a single parameter. Finally, it also allow osnoise top and timerlat top to enable additional trace events via (possible multiple) -e sys:event options. Daniel Bristot de Oliveira (7): rtla/osnoise: Add support to adjust the tracing_thresh rtla/osnoise: Add an option to set the threshold rtla/osnoise: Add the automatic trace option rtla/timerlat: Add the automatic trace option rtla/trace: Add trace events helpers rtla/osnoise: Add -e/--event option rtla/timerlat: Add -e/--event option .../tools/rtla/common_osnoise_options.rst | 10 ++ .../tools/rtla/common_timerlat_options.rst | 7 ++ tools/tracing/rtla/src/osnoise.c | 83 ++++++++++++++ tools/tracing/rtla/src/osnoise.h | 8 ++ tools/tracing/rtla/src/osnoise_hist.c | 35 +++++- tools/tracing/rtla/src/osnoise_top.c | 58 +++++++++- tools/tracing/rtla/src/timerlat_hist.c | 24 +++- tools/tracing/rtla/src/timerlat_top.c | 50 ++++++++- tools/tracing/rtla/src/trace.c | 105 ++++++++++++++++++ tools/tracing/rtla/src/trace.h | 15 +++ 10 files changed, 382 insertions(+), 13 deletions(-) -- 2.34.1