Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp2055010rwb; Thu, 17 Nov 2022 06:04:11 -0800 (PST) X-Google-Smtp-Source: AA0mqf5XH20ME0aiuT0s+w7Wr8kMEaqviLMBkDTVir6a5KxtTmEM5L8PFql+UucxwZa5QKoEqaaD X-Received: by 2002:a05:6402:1214:b0:461:cdfb:3072 with SMTP id c20-20020a056402121400b00461cdfb3072mr2315908edw.56.1668693851678; Thu, 17 Nov 2022 06:04:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668693851; cv=none; d=google.com; s=arc-20160816; b=TObGzBIZFHU79flB9ctN/5NszsmkZU9tS6ZHVkjLAoMEogk5VjAToSLhLH/QNrMHDs cH/piwDS41HqGlIh+M6mbkrMJh+qzvXUZQZx/0dqqOHAzIRdg9RquxqHtnlK638w3zZy zwg1kooWWnz4qvS5mHlwaLB+HVQYjLu+9bFYFH6t2xd+QHUdO0uiWqXr3gU2Znz/U5Lh OT/9IvrVU3sHhh8a8GEoEAllqKDnSY2uNL+CCpFUZdQZNMhZuBhK9lGzfV1wviqsbTvK N7uUmy7MXVwCuvsGysQErmmXOHBc4jko1N1CrfE8aa9ClDTkQ8Dv7AT9KuW/gh/tWny4 K44A== 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:dkim-signature; bh=VlkHtuNpivmow4Y3NIzXhcR9xLU7u/YsB0e/VQpMZqs=; b=WagI5zpQkGcO1TMPPhW2AXh/L+BS7SPyXn07rDv1MorxECqRSp8b8KGsNZnrNeFCl+ TZNbKWFQH+IaipRERAdQACjsCQnIXM2e4dll6RtipFyPSWccPOXif0ahaqulF7ruTMQN Fwq201QgiCx6fKdWXCeIolbvqYIiNBGXyre9WMwP9MQCV2g9Qw/t8Ob9AlRCxSiuCvJT BqYHZxykIN6UM8iR4STf1VaAkFqkwhFI1gNz4h/VPlCUaAWECmGJcX91lJHEPW+r07Sk zF/BcvYAXlpumQGGVM+lhcfOr5Ux+7SBdPvbPbalwaF8DojrhNrxfrK8Zu0X97tWoztr ttpg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=fkkTimUI; 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 gn33-20020a1709070d2100b0078d9db99f5esi857785ejc.39.2022.11.17.06.03.49; Thu, 17 Nov 2022 06:04:11 -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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=fkkTimUI; 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 S239636AbiKQNq2 (ORCPT + 92 others); Thu, 17 Nov 2022 08:46:28 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55514 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234665AbiKQNq1 (ORCPT ); Thu, 17 Nov 2022 08:46:27 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CDCE171F0B; Thu, 17 Nov 2022 05:46:26 -0800 (PST) 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 67DAC61E27; Thu, 17 Nov 2022 13:46:26 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 489A9C433D6; Thu, 17 Nov 2022 13:46:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1668692785; bh=3Sxz7fxN4gSLjSoX02+VILF8oOb72Wcsgx5xk9uwibA=; h=From:To:Cc:Subject:Date:From; b=fkkTimUIJZoVnQrLrlxgDXHcL0BLQCDhVbmqKkF6aPga6YdFEfjfvwU+/B0MaucIH Rj9fnNAvpeSSBcO+0c23nmw6HRhwycUuQTZNk6+zZ43+3a6ri3xP6oi6WMrZtwxFT7 5FMv3xfaE1YeAa39JbLZXzWEvBQRoEDg0LHFaHB3Ba0BjOC3uBJxnMAj6ylthiGucq /sCVISJztQkkpTOY/ulJ/r7zdDA84PISoAca2khniqSlyNgGZ/IiKssMi5x1eFqice zlBIen7yjngGtTGgmVa2VpErHtlden0mN2Yz/Djvvg5y8vYwT03f+Ak6ONn6oqLNv/ FTJJFkNspZQ3A== From: Daniel Bristot de Oliveira To: Daniel Bristot de Oliveira , Steven Rostedt Cc: Masami Hiramatsu , Jonathan Corbet , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 0/4] Allow osnoise tracer to run without workload Date: Thu, 17 Nov 2022 14:46:16 +0100 Message-Id: X-Mailer: git-send-email 2.32.0 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 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 The osnoise tracer is not only a tracer and a set of tracepoints, but also a workload dispatcher. In preparation for having other workloads, e.g., in user-space, add an option to avoid dispatching the workload. By not dispatching the workload, the osnoise: tracepoints become generic events to measure the execution time of *any* task on Linux. Daniel Bristot de Oliveira (4): tracing/osnoise: Fix duration type tracing/osnoise: Add osnoise/options file tracing/osnoise: Add OSNOISE_WORKLOAD option Documentation/osnoise: Add osnoise/options documentation Documentation/trace/osnoise-tracer.rst | 12 ++ kernel/trace/trace_osnoise.c | 200 ++++++++++++++++++++++++- 2 files changed, 205 insertions(+), 7 deletions(-) -- 2.32.0