From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.7 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,NICE_REPLY_A, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0E7BEC2D0A7 for ; Fri, 11 Sep 2020 01:27:50 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id A8B9621D47 for ; Fri, 11 Sep 2020 01:27:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1599787669; bh=JqaLw2E9F6jaPHkhMDBwU1Ofv5n8bflJhDpq0ZUesIM=; h=Date:From:To:Cc:Subject:In-Reply-To:References:List-ID:From; b=EBV9pclwrrCLrFAqoVVuj5I4jeYWnlloSoyRjL5ZY3wxnwRo66qU/KDHn/xRMCPUR VtTIomKGuKkF6jucz4L80C1ZCZfmplPfbjIZcycAK9mW0Oxx8gdLwlhZ8ZL0oITBiW uBDUv5Vz2cotmXhJ0jkz8XrTNWx/6YO8PLgScQAU= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725774AbgIKB1s (ORCPT ); Thu, 10 Sep 2020 21:27:48 -0400 Received: from mail.kernel.org ([198.145.29.99]:54778 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725280AbgIKB1r (ORCPT ); Thu, 10 Sep 2020 21:27:47 -0400 Received: from devnote2 (NE2965lan1.rev.em-net.ne.jp [210.141.244.193]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 5EEF1208FE; Fri, 11 Sep 2020 01:27:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1599787667; bh=JqaLw2E9F6jaPHkhMDBwU1Ofv5n8bflJhDpq0ZUesIM=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=vLi81gom7+ugk3y08ElS05fyZC1GnwmseNUM55PWnb1rXNRo08VMuRQjxhmyb7VID WPwu51atiN84zCEYthVEjSU9xeQR3Ck9CYYJtfNFFUSnYGsNUA6pMekv4ZNjhXDCHc GwbepuadGgyLkthohr1sfWo46nTOjh+xzZXjZnMw= Date: Fri, 11 Sep 2020 10:27:43 +0900 From: Masami Hiramatsu To: Steven Rostedt Cc: Jonathan Corbet , Shuah Khan , linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, Randy Dunlap , Ingo Molnar , linux-kselftest@vger.kernel.org Subject: Re: [PATCH v3 0/8] tracing/boot: Add new options for tracing specific period Message-Id: <20200911102743.de29a1f09bcb361f8d6556f6@kernel.org> In-Reply-To: <20200910193433.236cf081@oasis.local.home> References: <159972809455.428528.4737752126800169128.stgit@devnote2> <20200910193433.236cf081@oasis.local.home> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.32; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 10 Sep 2020 19:34:33 -0400 Steven Rostedt wrote: > On Thu, 10 Sep 2020 17:54:54 +0900 > Masami Hiramatsu wrote: > > > Hi, > > > > Here is the 3rd version of the series to improve the boot-time tracing to > > support kretprobe and tracing_on option. Previous version is here: > > > > https://lkml.kernel.org/r/159894698993.1478826.2813843560314595660.stgit@devnote2 > > > > This version adds uprobe %return suffix support ([5/8]) and the testcases > > ([8/8]), and update kprobe %suffix support([4/8]) and the uprobe event > > document([6/8]). > > > > > > The combination of tracing_on and kretprobe allows us to trace events > > while a specific function call period. For example, the below bootconfig > > will make a function callgraph in the pci_proc_init() function at boot > > time. > > > > ftrace { > > tracing_on = 0 # off at start > > tracer = function_graph > > event.kprobes { > > start_event { > > probes = "pci_proc_init" > > actions = "traceon" > > } > > end_event { > > probes = "pci_proc_init%return" > > actions = "traceoff" > > } > > } > > } > > > > Here is the example output; > > > > [..] > > Hi Masami, > > This looks really great! I just got back from a 10 day holiday, and I'm > drowning in "catch-up". I plan on looking at all this relatively soon > (in a week or two?). I just don't want you to think I'm ignoring this. Hi Steve, Thanks, I hope you enjoyed the holiday! BTW, this series includes some document update and testcases. Since we can not decouple these updates, I think it is better you to pull the series. Regards, -- Masami Hiramatsu