Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp2255332pxp; Mon, 21 Mar 2022 15:06:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz+ghQJUfTS+ppDIsJusmyygviVYgncrL8X27m6CLySViW2Mp9UKI9yUVyr6VHJtnClHaoc X-Received: by 2002:a17:902:f544:b0:154:5ecb:eb24 with SMTP id h4-20020a170902f54400b001545ecbeb24mr6541515plf.11.1647900367294; Mon, 21 Mar 2022 15:06:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647900367; cv=none; d=google.com; s=arc-20160816; b=UqwLdxCTEZLQd19I/YNtgJwULz967GjDccNO51VAxooy/H/NJdJMEIeXFgQl8SA40N e1j0UUsRvcbtTKT2JOZlDxCzJAVNZPNWlKvpX8BsTmyyIz3drqzwfrXtsqGuNM4v5wxT ep7OrsnuxY4H3ldNWcCEQ/xvILAFJNRVUTVqTvuKCBKH4C+EMTXjYvOVEANtmdrCuM8c 25aVplLaL4dYaE/CjJfo6QU6WrGca+l191dlR4D/VySh5tBYNYtOOPMDFuno0MtD9Fal MKPB8u1AuwnzX373nj5IZmMegZB3Fy5RPDr5ooCuCIRFJBOLHpLTpY4U4tyxl3uG9pVm 6VXA== 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:subject:cc:to:from:date; bh=j3gRi6nGCoxadZhYiQWq3kv88m4G1AbofPcwwKOzgqM=; b=x+4pgPVCh+vOEQNLSjVQrbHKvvNVUS6mXfiA2t+aosIukct7HsYxHL605KSujgc8rq WfJup+NSJcRQBt2HVPzgXDZ8uE4POblYxd4b2rsJG3/Kt3kyZjyDKl2OTs9ZTHqk1TB+ 6zt1bsbnmoCuRqfRHGZxWRmxn34fZfW9IgNgslsaifwnCd9vWUJZtjrrOFa2NrM3vyxh F/2HfDV3Amj4wqbOwc0YUlF4LS8it0YPS8gFdduu3G/7BIigj8KLeq9S6ba7z5p9MnFu gZaeuL7y0Loks1W1oP/CVda2qR4S3vzg8JQUVXnWbPWhdJBOfHgWuVioHcPVFCMkxG4z J71A== 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:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id p13-20020a1709028a8d00b00153b2d16629si10606366plo.561.2022.03.21.15.06.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Mar 2022 15:06:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 3A1A3358D76; Mon, 21 Mar 2022 14:28:31 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1349396AbiCUOfU (ORCPT + 99 others); Mon, 21 Mar 2022 10:35:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46118 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1349857AbiCUOdL (ORCPT ); Mon, 21 Mar 2022 10:33:11 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E5EC8B99 for ; Mon, 21 Mar 2022 07:30:38 -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 550E560AF7 for ; Mon, 21 Mar 2022 14:30:38 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 40E53C340E8; Mon, 21 Mar 2022 14:30:37 +0000 (UTC) Date: Mon, 21 Mar 2022 10:30:35 -0400 From: Steven Rostedt To: Linus Torvalds Cc: LKML , Ingo Molnar , Andrew Morton , Daniel Bristot de Oliveira Subject: [GIT PULL] tracing/rtla: Updates to the RTLA tool Message-ID: <20220321103035.564a1df5@gandalf.local.home> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,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 Linus, I'm sending this as a separate pull request from my normal tracing tree, as it had dependencies to commits in your tree but not in my development branch. As it only affects the tools/ directory, I kept it separate as it has no changes to the kernel itself. Real Time Linux Analysis Tool updates for 5.18 Changes to RTLA: - Support for adjusting tracing_threashold - Add -a (auto) option to make it easier for users to debug in the field - Add -e option to add more events to the trace - Add --trigger option to add triggers to events - Add --filter option to filter events - Add support to save histograms to the file - Add --dma-latency to set /dev/cpu_dma_latency - Other fixes and cleanups Please pull the latest trace-rtla-v5.18 tree, which can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace.git trace-rtla-v5.18 Tag SHA1: cc921ea64d6df1bb8955ff5762dbcdc408e34264 Head SHA1: 75016ca3acd0de79868ef5b0694195fe05288ade Daniel Bristot de Oliveira (15): 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: Add -e/--event support rtla/trace: Add trace event trigger helpers rtla: Add --trigger support rtla/trace: Add trace event filter helpers rtla: Add --filter support rtla/trace: Save event histogram output to a file rtla: Check for trace off also in the trace instance rtla/osnoise: Fix osnoise hist stop tracing message rtla/timerlat: Add --dma-latency option rtla: Tools main loop cleanup ---- Documentation/tools/rtla/common_options.rst | 19 ++ .../tools/rtla/common_osnoise_options.rst | 10 + .../tools/rtla/common_timerlat_options.rst | 12 + tools/tracing/rtla/src/osnoise.c | 83 +++++ tools/tracing/rtla/src/osnoise.h | 8 + tools/tracing/rtla/src/osnoise_hist.c | 95 +++++- tools/tracing/rtla/src/osnoise_top.c | 91 +++++- tools/tracing/rtla/src/timerlat_hist.c | 108 ++++++- tools/tracing/rtla/src/timerlat_top.c | 103 +++++- tools/tracing/rtla/src/trace.c | 345 +++++++++++++++++++++ tools/tracing/rtla/src/trace.h | 23 ++ tools/tracing/rtla/src/utils.c | 33 ++ tools/tracing/rtla/src/utils.h | 1 + 13 files changed, 903 insertions(+), 28 deletions(-) ---------------------------