Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp1523316pxk; Thu, 10 Sep 2020 18:28:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy+3wnC3cJ+JGaucpzTHN4mYCxaJJk4/gXbLFm1WVB1WxiNLirGdCH9sistYHTqNafn535D X-Received: by 2002:aa7:da10:: with SMTP id r16mr12621529eds.333.1599787738329; Thu, 10 Sep 2020 18:28:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599787738; cv=none; d=google.com; s=arc-20160816; b=CgGUgnTvIHBn3vrZbF7CmOkLazpB3GXbFaSy7qyIFmoB4l169BmfIgcjSBbus+W4+L oWJhCCr4EG+lLlArCIz1k20MYhxMVTOs4alz5uch7DdxEgPM1knqzuRFTpWuc+bU3obe f1PjiVCCi7BQw1kcQJQWZWucMy2Dq13KQ0hVL2gok3Zf7lB2q9myjYAQHjkEp+1OhrE0 cjtb97D96n6XqvaF05R9rwP+pbrd2QNF+VIcUZjAQIYFQV1r1pTEhsPgTUgvav6d1A4f CNyRIP/vOpPCVjv0HnK7OX5T6erWqKcurKW4pqa1whVZKfN9DucZ8uaVJX6UN6u3ukFV jzDA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=4Pb4RfdoD4XZC4UrNoW3/Jgvpdhpfvi7BhWuEzpFC04=; b=miGxxxRW20h2g1EWv1mmc3XLAHoxwow6129StyqJdDmSNTzR6eaj+Y0upWOpIeJBiB cJhjdy3ZOTNWN6DubahfdFhvsT4LaATzlfU3PJcMhq2GP+kE37ylVaPcqkZ6KCq5LaJU 77/UOILE+Rk/5wBM8wF0EcKPTTS7FyUCfL7mw7KspL87gMGQjTtVJBWcQ6SXFGwqsLZF gim3LsxUMdJeJX5sEIJfi9t4gyo7mWvc67/Ju8B0zYb99HNckoFzuzJp8ZOrP9t2rK14 nbNc7BxEVYUqzrss9Nm560P2RoQsSHK1ij6AD74EMATx4NGpzVvtOK1jxL4wLX0JiYBz +EwA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=vLi81gom; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c10si236203edn.316.2020.09.10.18.28.35; Thu, 10 Sep 2020 18:28:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=vLi81gom; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S1725613AbgIKB1s (ORCPT + 99 others); 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